The open file dialogue searches "electronic book documents" only per default. I have to change this every time I want to open a file.
STEPS TO REPRODUCE
1. Okular -> File -> Open
1. Ctrl + o
Dialogue defaults to "electronic book document" every time (first entry in list)
Should default to "all file" (last entry) or at least to the previous selection
Linux/KDE Plasma: linux 5.9.14.arch1-1
(available in About System)
KDE Plasma Version: -
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
tested with xcb and wayland-egl
You're not using plasma i guess? Which Desktop Environment are you using?
Dear Bug Submitter,
This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.
For more information about our bug triaging procedures please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.
Thank you for helping us make KDE software even better for everyone!
I'm not the reporter, but I can reproduce this by running okular in IceWM (or via
"XDG_CURRENT_DESKTOP=icewm okular" in Plasma).
This is with okular 20.12.1.
Inside a KDE/Plasma session, the filter defaults to "All supported files" as expected.
Created attachment 134833 [details]
Shell environment under which bug was reproduced.
I can confirm this bug. Conditions:
x86_64 Linux 5.9.13-arch1-1
KDE Frameworks 5.78.0
QT 5.15.2 (built against 5.15.2)
The xcb windowing system
I have attached the output of env. As noted above by Wolfgang Bauer, the bug is dependent on the value of XDG_CURRENT_DESKTOP, which is to say Okular's idea of the QT5 configuration. I have tried a few values of this:
Worked; loaded KDE Plasma theme instead of the one I set, and did NOT display bug:
Didn't work 1; Correctly loaded QT5 theme I set, and displayed bug:
Didn't work 2; Didn't load the QT5 theme I set, and displayed bug:
all other values, e.g. 'kde-plasma', 'kde5', 'lightdm', 'i3'
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/362
Git commit 23af5aae7f9e90a138053ac5bdd797cb728218c6 by Albert Astals Cid.
Committed on 16/01/2021 at 23:53.
Pushed by aacid into branch 'release/20.12'.
Fix an unexpected file type being the default on open (non Plasma desktops)
M +1 -1 shell/shell.cpp