bk138 / gromit-mpx

Gromit-MPX is an on-screen annotation tool that works with any Unix desktop environment under X11 as well as Wayland.
GNU General Public License v2.0
1.01k stars 84 forks source link

Panel and workspace issue on Cinnamon #163

Open AmirHosseinNiknezhad opened 2 years ago

AmirHosseinNiknezhad commented 2 years ago

The app causes the panel and workspaces to malfunction. Sometimes everything works fine for a while, but inevitably, two problems will occur:

  1. The menu that opens after right-clicking the panel stops opening.
  2. I cannot drag-and-drop windows from a workspace to another in the workspace selection screen.

Everything goes back to normal as soon as I stop the app.

Environment

Please forgive me if the information is insufficient. I would be happy to answer any questions on the matter. The app is awesome otherwise. Thanks in advance.

bk138 commented 2 years ago
1. The menu that opens after right-clicking the panel stops opening.

Can you please check if other systray icons are affected as well?

2. I cannot drag-and-drop windows from a workspace to another in the workspace selection screen.

Can you drag and drop in the file manager? What happens after you hit Ctrl-F9 to hide Gromit-MPX's window?

AmirHosseinNiknezhad commented 2 years ago

Thank you very much for your quick reply.

Can you please check if other systray icons are affected as well?

They all work fine, including Gromit-MPX's. Things like the panel are the problem.

Can you drag and drop in the file manager?

Yes

What happens after you hit Ctrl-F9 to hide Gromit-MPX's window?

I'm not sure if I understand. Ctrl-F9 does what F9 does for me. Undoes the last stroke. Besides, I'm not sure what or where Gromit-MPX's window is! The issue persists after hitting Ctrl-F9.

All these difficulties usually arise either some minutes or long after opening the app. Everything works as expected beforehand. I would also like to add that using the Flatpak version makes the issue much more frequent.

bk138 commented 2 years ago

I'm not sure if I understand. Ctrl-F9 does what F9 does for me. Undoes the last stroke. Besides, I'm not sure what or where Gromit-MPX's window is! The issue persists after hitting Ctrl-F9.

Ctrl-F9 backgrounds the transparent window Gromit-MPX is drawing to and which might cause those issues with Cinnamon's panel (altough it shouldn't). You can check whether this window is shown by drawing something with Gromit-MPX, then hitting Ctrl-F9 (it should go away because the window is hidden now),; Ctrl-F9 again will reshow your drawing (and thus the window).

On more thing I remember is that I had issues with GNOME3 and a specific tray icon extension, switching workspaces helped in that case.

nalmada commented 1 year ago

Can reproduce on Linux Mint 21.1

Right click on panel does not work properly anymore once gromit-mpx is running

What happens is that if I right click on panel, it only triggers the appropriate action (show right click options menu) when I click on the very bottom part of the panel

With gromit in painting mode, if I try to draw as low as I can on the screen, It leaves a few millimeters between bottom of the screen and where I can draw. And it seems that I can right click on the panel only when clicking on these few millimeters

Screenshot from 2023-01-27 18-54-42

As you can see on the screen, right lick will only works if I click under the red line (drawn with gromit)

So it seems that the overlay created by gromit allowing it to draw, is preventing the right click on panel action ?