QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
535 stars 47 forks source link

Open the Qubes Domains menu in the same location every time #4730

Open andrewdavidwong opened 5 years ago

andrewdavidwong commented 5 years ago

Qubes OS version:

R4.0.1

Affected component(s):

Qubes Domains widget


Steps to reproduce the behavior:

The menu opens up on different sides depending on which side of the icon is clicked:

  1. Click the left-hand side of the icon. The menu opens on the right-hand side.
  2. Click the right-hand side of the icon. The menu opens on the left-hand side.

Expected behavior:

The menu opens in the same place every time, regardless of where on the icon the user clicks. This makes it easier for the user to interact with the menu, since the user can always look at the same location where the menu will open and develop muscle memory to move the cursor to the same location every time.

Actual behavior:

The menu opens on the opposite side relative to the location of the user's click.

General notes:


Related issues:

marmarta commented 5 years ago

It opens under the mouse pointer where there's space; other icons, like Power Manager, behave the same. And due to the way Gtk is being annoying, it seems like it would need a big-ish fix.

andrewdavidwong commented 4 years ago

@marmarta: The problem is slightly different now: Every time I click on the Qubes Domains icon, the list opens partially underneath my panel, so only part of the list is visible. (I moved my panel from the top of my screen to the bottom, which may be why this seems to happen only to me.) When I dismiss the list and click a second time, it opens correctly so that the whole list is visible.

marmarta commented 4 years ago

Interesting! does this happen only on first use after reboot? Once every so often? Also: when you look at panel preferences (right click on empty space -> Panel -> Panel Preferences), do you have "Don't reserve space on borders" checked or unchecked? (if it's checked, it's working as XFCE devs designed it)

andrewdavidwong commented 4 years ago

Interesting! does this happen only on first use after reboot? Once every so often?

I would say it happens 80-90% of the time when I click on the Qubes Domains icon in the Notification Area. (So, repeatedly, not only once after reboot.)

Also: when you look at panel preferences (right click on empty space -> Panel -> Panel Preferences), do you have "Don't reserve space on borders" checked or unchecked? (if it's checked, it's working as XFCE devs designed it)

For me, "Don't reserve space on borders" is unchecked.