pbxqdown / gnome-shell-extension-transparent-window

Gnome shell extension which changes the opacity of window through mouse operation.
47 stars 14 forks source link

overlay takeover #26

Closed drzraf closed 1 year ago

drzraf commented 1 year ago

System information

Describe the problem

In some situations (multiple times every hour), when switching to a virtual desktop, the overlay takes over:

Also:

Source code / logs

août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll

Any race/conflict over the "Alt" key ?

pbxqdown commented 1 year ago

Hi @drzraf thanks for submitting the issue. Is virtual desktop a monitor or workspace? From the description it seems Alt key is both used in switching desktop and changing transparency.

drzraf commented 1 year ago

Sorry, "virtual desktop" as the old name for workspace (I only have one monitor) The alt key is used for many other keybindings (including switching workspaces)

pbxqdown commented 1 year ago

hmmm maybe using a different key combination will help? Like ctrl + shift, it can be set in settings page.

drzraf commented 1 year ago

Not an option for me. I hope this extension could (possibly?) make a better job an handling keyboard events or binding against Gnome keyboard subsystem?

pbxqdown commented 1 year ago

Gnome is not a well documented framework so sometimes hard to triage the issue.. maybe some corner case of switching workspace event handling logic. It would be awesome if you could help root cause the problem. If it is a new bug maybe try switch to an older version to check if problem persists. There is a multi-monitor feature merged recently.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 15 days since being marked as stale.