Bug 483000 - File dialog totally different in Wayland vs X11
Summary: File dialog totally different in Wayland vs X11
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-09 16:01 UTC by neonder
Modified: 2024-04-22 17:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Open File dialog - Sublime Text (109.36 KB, image/png)
2024-03-10 14:08 UTC, neonder
Details
Save as dialog - firefox (217.82 KB, image/png)
2024-03-10 14:10 UTC, neonder
Details
Save as dialog - Firefox Nightly (265.32 KB, image/png)
2024-03-10 14:10 UTC, neonder
Details
Save as dialog - Sublime Text (81.87 KB, image/png)
2024-03-10 14:11 UTC, neonder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neonder 2024-03-09 16:01:36 UTC
SUMMARY
Totally different file dialogs on Wayland than on X11.

STEPS TO REPRODUCE
1. Instantiate open file or save as dialogs in any app

OBSERVED RESULT
The dialog on Wayland is totally different and much simpler than on X11.

EXPECTED RESULT
The dialog should be the same as on X11.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Wayland
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Nicolas Fella 2024-03-10 13:04:19 UTC
Can you make some screenshots that show the different dialogs?
Comment 2 neonder 2024-03-10 14:08:12 UTC
Created attachment 166878 [details]
Open File dialog - Sublime Text
Comment 3 neonder 2024-03-10 14:10:19 UTC
Created attachment 166879 [details]
Save as dialog - firefox
Comment 4 neonder 2024-03-10 14:10:33 UTC
Created attachment 166880 [details]
Save as dialog - Firefox Nightly
Comment 5 neonder 2024-03-10 14:11:18 UTC
Created attachment 166882 [details]
Save as dialog - Sublime Text
Comment 6 neonder 2024-03-10 14:20:56 UTC
(In reply to Nicolas Fella from comment #1)
> Can you make some screenshots that show the different dialogs?

Uploaded.
Although I must correct my-stupid-self. 
Haven't tried it before posting this, but the same dialogs are different on X11 as well...

I've been using KDE for a couple of years now on X11 and could've sworn all those dialogues looked the same on plasma 5.xx.
Is that possible?

Why are those dialogs different on apps I've installed subsequently? 
As Kate, Kwrite, Firefox and others, use the right dialog
Comment 7 neonder 2024-03-11 17:20:20 UTC
(In reply to Matija from comment #6)
> Why are those dialogs different on apps I've installed subsequently? 
> As Kate, Kwrite, Firefox and others, use the right dialog

Also, similar thing with drag and drop of files from Dolphin...
Works in Firefox, Okular, Kate, Kwrite, but not in installed apps like Firefox Developer Edition and Nightly
Comment 8 neonder 2024-03-13 20:04:19 UTC
UPDATE concerning file dialogues

found the exact same problem with plasma 5.x
https://unix.stackexchange.com/questions/758602/set-default-system-filedialog-on-open-and-save-in-kde-plasma-5

when i run those apps from the terminal with "GTK_USE_PORTAL=1 <application-executable>" it opens the dialog as it should
(exact same one as when you run "kdialog --getopenfilename ." from within terminal.

Although I've added the environment variable to .zshrc file, it isn't applied globally...
Is that some problem with KDE plasma or other things?
Comment 9 Bug Janitor Service 2024-03-28 03:46:51 UTC
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:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

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!
Comment 10 Zamundaaa 2024-04-22 17:41:12 UTC
It's up to the apps whether or not they use the GTK file dialog, or the system (xdg portal) one, which is the correct one for KDE. This has to be fixed in the apps themselves, there's nothing we can do about that