Big-Sur-StatusArea icon indicating copy to clipboard operation
Big-Sur-StatusArea copied to clipboard

[Bug] The default "power mode" and "calendar events" indicators are not handled

Open PS1Online opened this issue 2 years ago • 10 comments

Using Gnome 42 Wayland under Ubuntu 22.04 LTS Desktop 64-bit, two default indicators are not handled and are the "power mode (balanced, power saver)" and "calendar events (e.g. Today: No events)". A .gif image will show exactly the problem.

Screencast from 24-05-2022 21 01 44

PS1Online avatar May 24 '22 18:05 PS1Online

Hi @PS1Online , Can you tell me if I have a problem with Xorg?

ThierryHFR avatar Aug 19 '22 08:08 ThierryHFR

I tested on Ubuntu 22.04 64bits Wayland. I don't reproduce, please give me the list of your extensions !

ThierryHFR avatar Aug 19 '22 09:08 ThierryHFR

Comfirmed under X11, Gnome 42, Ubuntu 22.04.

Here are all my enabled extensions: extensions.tar.gz

The "power mode (balanced, power saver)" and "calendar events (e.g. Today: No events)" are lost (actually hidden). They won't be shown on the top panel. But when you move the mouse cursor between those indicators, you will find a small gap, there if you press the mouse left button, the hidden "power mode (balanced, power saver)" menu pops out.

screenshot01

blickers avatar Aug 21 '22 21:08 blickers

Hi @blickers, Thank you for your extensions! Unfortunately I don't reproduce your problem: Capture vidéo du 22-08-2022 10:53:23.webm

For info one of your extensions is not compatible: Capture d’écran du 2022-08-22 10-52-58

ThierryHFR avatar Aug 22 '22 08:08 ThierryHFR

You need to click one of the indicator first (e.g. the volume icon), when the menu pops out, then move carefully between those indicator icons from left to right, form right to left (again and again...), and then, you will find the "hidden/lost" indicator of "power mode (balanced, power saver)", it's menu pops out! If you don't click, or you move too fast, you won't be able to find it.

blickers avatar Aug 24 '22 13:08 blickers

Intresting. I tried to make a screen recording using OBS Studio. When I add screen recording (XSHM) in OBS, an icon of microphone appears at the place of the little gap. When I click this microphone icon, the "power mode (balanced, power saver)" menu pops out! You can try it.

blickers avatar Aug 24 '22 13:08 blickers

I'm testing this evening!

ThierryHFR avatar Aug 24 '22 14:08 ThierryHFR

Thanks! It would be nice if the power mode was in the same menu as the power percentage.

Kertrix avatar Aug 25 '22 19:08 Kertrix

Hi again! For me, Just Perfection is causing this:

demonstration Good evening,

Kertrix avatar Aug 29 '22 18:08 Kertrix

Same issue.

OS: Fedora release 36 (Thirty Six) x86_64 DE: GNOME 42.4

immagine

luca-martino avatar Sep 06 '22 13:09 luca-martino

Hi @PS1Online , Can you tell me if I have a problem with Xorg?

Yes, even with Xorg, I will update the text of the problem.

PS1Online avatar Nov 10 '22 12:11 PS1Online

I tested on Ubuntu 22.04 64bits Wayland. I don't reproduce, please give me the list of your extensions !

Here is the list of my active plugins. Can you reproduce the problem?

Enabled exentions

PS1Online avatar Nov 10 '22 12:11 PS1Online

I have isolated the problem. I have disabled the extensions one at a time. There is a problem between the following two extensions enabled together:

Conflicting extensions

PS1Online avatar Nov 10 '22 13:11 PS1Online

Forgive me for the extreme delay in responding, I've now updated the question to explain the bug fully and in detail. I hope this can help you to fix it.

PS1Online avatar Nov 14 '22 16:11 PS1Online

@Ordissimo Hi, 7 months since I made the bug explanation complete and detailed. Have you viewed it?

PS1Online avatar Jun 21 '23 18:06 PS1Online

  • Ubuntu 22.04
  • GNOME 42

Same issue, here’s the fix I use:

uuid="[email protected]"
extension="$HOME/.local/share/gnome-shell/extensions/$uuid/extension.js"

aggregate_old='Main.panel.statusArea.aggregateMenu.container.hide();'
aggregate_new='Main.panel.statusArea.aggregateMenu.actor.hide();'

date_old='Main.panel.statusArea.dateMenu.container.hide();'
date_new='Main.panel.statusArea.dateMenu.actor.hide();'

sed -i -e "s|$aggregate_old|$aggregate_new|" "$extension"
sed -i -e "s|$date_old|$date_new|"           "$extension"

I’m too busy to make a pull request. @ThierryHFR, would you please change those 2 lines?

natewind avatar Sep 30 '23 20:09 natewind

  • Ubuntu 22.04

    • GNOME 42

Same issue, here’s the fix I use:

uuid="[email protected]"
extension="$HOME/.local/share/gnome-shell/extensions/$uuid/extension.js"

aggregate_old='Main.panel.statusArea.aggregateMenu.container.hide();'
aggregate_new='Main.panel.statusArea.aggregateMenu.actor.hide();'

date_old='Main.panel.statusArea.dateMenu.container.hide();'
date_new='Main.panel.statusArea.dateMenu.actor.hide();'

sed -i -e "s|$aggregate_old|$aggregate_new|" "$extension"
sed -i -e "s|$date_old|$date_new|"           "$extension"

I’m too busy to make a pull request. @ThierryHFR, would you please change those 2 lines?

Hi @natewind, Thanks for your contribution

ThierryHFR avatar Oct 01 '23 19:10 ThierryHFR

@ThierryHFR, you released version 48 after this, but didn’t include the change. Is that intentional?

natewind avatar Oct 09 '23 23:10 natewind

@ThierryHFR, you released version 48 after this, but didn’t include the change. Is that intentional?

No, that's a mistake on my part, I've just published version 49.

ThierryHFR avatar Oct 10 '23 10:10 ThierryHFR

No, that's a mistake on my part, I've just published version 49.

Ok, thanks!

natewind avatar Oct 10 '23 11:10 natewind

Sorry, I can’t find it:

image

natewind avatar Oct 10 '23 14:10 natewind

Sorry, I can’t find it:

image

Wait, gnome validates!

Screenshot_2023-10-10-17-00-17-940_org mozilla firefox

ThierryHFR avatar Oct 10 '23 15:10 ThierryHFR

Ah, ok, I didn’t know how it works :)

natewind avatar Oct 10 '23 15:10 natewind

The solution to the problem is that your extension handles "power mode" and "calendar events" indicators.

This bugfix simply made the "power mode" and "calendar events" menus disappear, instead of making them actively available through the extension. I had reported the "unmanaged menus" bug, which meant that they had to be managed (therefore with the icons visible as for all the other menus managed by the extension, unlike the bug where these icons were invisible), therefore with the possibility of being enabled or disabled (made to disappear) like any other managed menu from the extension.

Ultimately, I don't consider the applied bugfix as a resolution but as the strengthening of a lack of management of these two menus.

I ask you to reopen the bug.

PS1Online avatar Jan 02 '24 06:01 PS1Online