vimiv icon indicating copy to clipboard operation
vimiv copied to clipboard

Issue with window in Wayland

Open sanjayankur31 opened this issue 7 years ago • 6 comments

I'm not entirely sure if this is a Wayland issue, but it only cropped after I had to switch to Wayland on my F27 Gnome-shell system.

Now, when I click the title bar of vimiv to try to move the window, it seems to be registered as a click, and the image changes. I cannot move the bar at all. I need to use alt + spacebar, use the arrow keys down to "move" and then it lets me move the window. It's really weird.

It's the same for other window options too. For instance, if I move the mouse to the bottom window border to try and make the window bigger, the mouse changes, but if I click, it's registered by the application and the image changes, and I can't drag the window border.

Is anyone else seeing this? If yes, I'll try to look into what this weirdness is! Probably a Wayland related issue, since I didn't see it on Xorg. I'm not seeing it in other applications yet, though.

sanjayankur31 avatar Mar 15 '18 14:03 sanjayankur31

As I don't use Wayland, I have never encountered this issue. I find it weird though, as I don't have any X specific code in vimiv itself, only the unit tests run in Xvfb. Other Gtk based programs obviously run fine?

karlch avatar Mar 16 '18 23:03 karlch

Yeh, others seem to be OK. I'll have to double check. I made a screencast here to show how it is (ignore the blinking please, that seems to be a gnome-screen-recorder issue). I click on the top bar again and again to move the the window, but as you can see, it is registered as a click on the image and the image changes to the next image.

https://ankursinha.fedorapeople.org/vimiv-65/vimiv-wayland.webm

sanjayankur31 avatar Aug 10 '18 11:08 sanjayankur31

This indeed should not happen. As already mentioned, I am confused as to how this can happen and am unsure how to debug. Might happen that I just leave this alone and continue working on the Qt port as soon as I have time again. Sorry for this!

karlch avatar Aug 11 '18 15:08 karlch

:+1: I think that's a good way to go. Thanks again :)

sanjayankur31 avatar Aug 12 '18 17:08 sanjayankur31

If this works fine in the Qt port and you are happy with it, feel free to close the issue :)

karlch avatar Oct 01 '19 20:10 karlch

Not tested the QT port out just yet. Just commented on https://github.com/karlch/vimiv-qt/issues/21 there :)

sanjayankur31 avatar Oct 01 '19 21:10 sanjayankur31