PRATAP-KUMAR / bring-out-submenu-of-power-off-logout

Bring Out Submenu Of Power Off Button
https://extensions.gnome.org/extension/2917/bring-out-submenu-of-power-offlogout-button/
GNU General Public License v3.0
27 stars 10 forks source link

Original power menu and new buttons not hidden in release 45 #38

Open internauta2000 opened 11 months ago

internauta2000 commented 11 months ago

Original power menu and new buttons not hidden in last version, the configuration options not change nothing, only show new buttons in gnome 45.1 Manjaro

PRATAP-KUMAR commented 11 months ago

Hi, I will look into it. Meanwhile can you try with the repository version via Makefile? It is updated one.

Thanks!

PRATAP-KUMAR commented 11 months ago

<schema id="org.gnome.shell.extensions.bring-out-submenu-of-power-off-logout" path="/org/gnome/shell/extensions/org.gnome.shell.extensions.bring-out-submenu-of-power-off-logout/">

Line number 2 in schemas/org.gnome.shell.extensions.bring-out-submenu-of-power-off-logout.gschema.xml this file must be the cause in official version of this extenion. I will fix it. but for time being can you go with Makefile as mentioned above?

internauta2000 commented 11 months ago

The update does not change unfortunately, the problem is there...

bring-out-submenu-of-power-off-logout

Bring Out Submenu Of Power Off Button 2

PRATAP-KUMAR commented 11 months ago

Hi can you remove the current extension and then install the extension via the readme provided. for now can you share the content of extensions metadata.json file please.

internauta2000 commented 11 months ago

metadata.json...

{ "description": "Bring Out Submenu Of Power Off Button", "name": "Bring Out Submenu Of Power Off Button", "settings-schema": "org.gnome.shell.extensions.bring-out-submenu-of-power-off-logout", "shell-version": [ "45" ], "url": "https://github.com/PRATAP-KUMAR/bring-out-submenu-of-power-off-logout", "uuid": "bring-out-submenu-of-power-off-logout@pratap.fastmail.fm", "donations": { "buymeacoffee": "pratappanabaka", "paypal": "pratappanabaka" }, "version-name": "51" }

PRATAP-KUMAR commented 11 months ago

OK thanks for the output. Is the problem still there?

internauta2000 commented 11 months ago

Yes..! The update does not change unfortunately,

PRATAP-KUMAR commented 11 months ago

Ok turnoff all extensions first including this. Reboot the system and then turn on only this extension and see please. If still problem exists then I should check for your particular linux distro.

internauta2000 commented 11 months ago

"User Avatar In Quick Settings" extension stop working when activating Bling and the problem reappears.... I suggest checking the code of that extension.

PRATAP-KUMAR commented 11 months ago

Hi, Bling n UserAvatar??

have you tried turning off all extensions as I mentioned above? What was the result of that please.

internauta2000 commented 11 months ago

Yes, I deactivated all extensions and reactivate one by one to replicate the problem... UserAvatar is broken when installing Bling, in fact, if I install Bling first and UserAvatar then it never works because Bling does not allow.

PRATAP-KUMAR commented 11 months ago

Hi I am confused with Bling. By any chance are you referring it to Bring-out extension? I am looking for this, can you recheck this please?

Ok turnoff all extensions first including this. Reboot the system and then turn on only this extension and see please. If still problem exists then I should check for your particular linux distro.

internauta2000 commented 11 months ago

I apologize for error when writing Bling ... I always wanted to say Bring (bring-out-submenu-of-power-off-logout)

internauta2000 commented 4 months ago

Greetings... The problem raised here reappeared again with its last 56 update, generating the same conflict with User "Avatar In Quick Settings" extension... I attach the developer's comment: https://github.com/d-go/quick-settings-avatar/issues/10 Screenshot-20240616152011-1268x692

PRATAP-KUMAR commented 4 months ago

Hi @internauta2000, I have gone through the links you provided. I tried with the hints given by quick-settings-avatar's extension author. Since both the extensions run at the same time, there seems to be conflict with the items removing and adding by both the extensions.

Can you try to add time out in Quick Settings Avatar's extension? Around line numbers 211 to 213 the code in QSA extension.js file should look like below after adding setTimeout

        if (QuickSettingsMenu._system) {
            setTimeout(() => {
                this._indicator = new Indicator(this._mapSettings());
            }, 5000)
        } else {
            sourceId = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
                if (!QuickSettingsMenu._system)
                    return GLib.SOURCE_CONTINUE;

                this._indicator = new Indicator(this._mapSettings());
                return GLib.SOURCE_REMOVE;
            });
        }

Screenshot from 2024-06-17 09-35-49

Screenshot from 2024-06-17 09-36-18

internauta2000 commented 4 months ago

Thank you for your prompt response... When I apply the patch the problem disappears, which suggests that it is resolved momentarily. I am going to try to transmit the solution to the extension developer so that they can collaborate as well... Greetings.

PRATAP-KUMAR commented 4 months ago

Nice, you can trail and error with setTimout from 5000 to 4000 or 3000 or 2000 to reduce the delay that works for your machine.

Thank You for your quick response.