After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795690 - No feedback when trying to open an already open file
No feedback when trying to open an already open file
Status: RESOLVED DUPLICATE of bug 766284
Product: eog
Classification: Core
Component: general
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-30 10:45 UTC by Bastian Ilsø
Modified: 2018-05-01 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastian Ilsø 2018-04-30 10:45:18 UTC
If I try to open an image in Nautilus and already have the image shown in an unfocused instance, there is no feedback. It would be nice if eog would show try to focus the window where the already opened image is present, show a notification or something along those lines.
Comment 1 Bastian Ilsø 2018-04-30 10:45:36 UTC
I am using eog 3.28.1 under Wayland.
Comment 2 Felix Riemann 2018-04-30 18:29:27 UTC
Well, actually the expected behaviour is to focus the existing window. And it behaves correctly for me on X11 (alternatively setting GDK_BACKEND=x11 works in Wayland as well), but fails on Wayland.

I took a look at it in the debugger and it seems the issue is that we call gdk_window_present_with_time using GDK_CURRENT_TIME (as there's no event timestamp we could use here). Apparently this is a no-op under Wayland: https://gitlab.gnome.org/GNOME/gtk/blob/33bec5a4fbd95509f6e3b7a457325aeb8b0a0608/gdk/wayland/gdkwindow-wayland.c#L3440

So, I guess this makes it a GTK limitation right now.

It is also reproducible with Nautilus, btw.
- Open your download folder with Nautilus
- Open a Terminal
- nautilus ~/Downloads
-> Same behaviour.

I've opened an GTK+ issue for this as I can't reassign this to GitLab: https://gitlab.gnome.org/GNOME/gtk/issues/213
Comment 3 Bastian Ilsø 2018-04-30 22:04:23 UTC
Thanks!
Comment 4 Daniel Boles 2018-05-01 16:08:29 UTC

*** This bug has been marked as a duplicate of bug 766284 ***