Bug 489248 - file dialog doesn't remember window position
Summary: file dialog doesn't remember window position
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 6.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 17:16 UTC by Nick
Modified: 2024-07-22 21:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2024-06-26 17:16:13 UTC
SUMMARY
File open/save dialog opened from chrome does not remember its window position.
It always opens rendered on the far left edge of the screen.

STEPS TO REPRODUCE
1. In chrome, rmb on an image or link and 'save as'
2. The file dialog will open, and the window will be positioned on the far left side of the screen
3. Move the window, save the file
4. repeat from (1), it will open again on the far left side of the screen

OBSERVED RESULT
The file dialog window always opens positioned on the far left side of the screen.

EXPECTED RESULT
It should remember where it was positioned last time it was opened, and be positioned there next time it is opened.
It did so in prior versions.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
X11 (not wayland)

ADDITIONAL INFORMATION
Prior 5.115 worked as expected.
Comment 1 Nate Graham 2024-06-27 19:26:59 UTC
Were you using X11 in Plasma 5?
Comment 2 Nick 2024-06-27 20:29:20 UTC
(In reply to Nate Graham from comment #1)
> Were you using X11 in Plasma 5?

Yes. X11 in Plasma 5 also. Worked there just fine.
Comment 3 Nate Graham 2024-07-10 20:06:49 UTC
Right, so this is a missing feature on Wayland.

*** This bug has been marked as a duplicate of bug 15329 ***
Comment 4 Nick 2024-07-10 20:12:41 UTC
(In reply to Nate Graham from comment #3)
> Right, so this is a missing feature on Wayland.
> 
> *** This bug has been marked as a duplicate of bug 15329 ***

This is a /regression/, it's happening in X11, I'm not using wayland.
Comment 5 Nate Graham 2024-07-10 21:10:30 UTC
Oh, my mistake.

Does it happen in any other apps that show KDE-styled file dialogs? Or only Chrome?
Comment 6 Nick 2024-07-10 21:17:09 UTC
(In reply to Nate Graham from comment #5)
> Oh, my mistake.
> 
> Does it happen in any other apps that show KDE-styled file dialogs? Or only
> Chrome?

I tried okular and kate:
Neither remember the position of the file dialog if you change its position--however they both at least open it centered on the screen.
Chrome always opens it left-justified.
Prior to the update it would remember where you left it and restore the dialog at that position on subsequent invocations.
I think in all cases the app should preserve the file dialog positioning if you move it (at least while running--it can go back to default on each new process)--and default to centered.