This is another annoying problem when using gwenview with keyboard only. Gwenview often makes the url bar have keybaord focus when I expect the main browsing area to have it. use case 1: This is related with bug 312629. After gwenview start, open some item in the recent folders using keyboard (or mouse, does not matter). After opening that folder you will notice that the url bar has the keyboard focus, which creates a big trouble since I want to browse images in that folder instead of edting the url bar. use case 2: I use image slideshow as the plasma wallpaper. When I notice some nice/interesting image shown on the desktop, I will use "Open Wallpaper Image" to oepn it (in gwenview), and quite often I want to see the other images in the same folder. So I press "Enter" to switch from "View" mode to "Browse" mode. Now the url bar gets the keyboard focus again, which totally defeats my purpose of browsing that folder. So please, do not give keyboard focus to the url bar so often. It makes using gwenview with keyboard only much less pleasant. Reproducible: Always
I can only reproduce this if the url bar is in "edit" mode (ie, shows a text widget, not a row of flat buttons). Is it the same for you? If so I wonder if the bug is in Gwenview or in the KUrlNavigator class.
Ah, yes, the problem doesn't bother me anymoe after making the url bar non-editable. Now I have a workaround :)
Is this bug still relevant given the easy workaround?
It's still a problem even with breadcrumb mode enabled. I see this now and then, but can definitely reproduce with "gwenview ~/Pictures" as well as "gwenview ~/Pictures/test.jpg" + Esc (make sure to not have the folder toolview open to see the focus problem).
I created a simple patch, which sets focus to thumbnails on init. https://phabricator.kde.org/D8934
Git commit f29f955a164e2efa4a323d751d861597a59359f8 by Henrik Fehlauer, on behalf of Peter Mühlenpfordt. Committed on 28/11/2017 at 22:53. Pushed by rkflx into branch 'Applications/17.12'. Initial focus to thumbnails in browse mode Summary: On initializing the widgets set focus to thumbnails instead of folder tree or url bar. Select first item in thumbnail view if nothing else is selected. Reviewers: rkflx Reviewed By: rkflx Subscribers: ngraham Differential Revision: https://phabricator.kde.org/D8934 M +7 -0 app/mainwindow.cpp https://commits.kde.org/gwenview/f29f955a164e2efa4a323d751d861597a59359f8