SUMMARY Dolphin does not remember last opened size STEPS TO REPRODUCE 1. Open dolphin 2. Resize to a size other than default 3. close dolphin 4. Reopen dolphin OBSERVED RESULT It opens with the default size EXPECTED RESULT It should open with the last used size Linux/KDE Plasma: kde neon unstable KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION dolphin version 22.11.70 (not found in drop down menu provided). I think it used to work in the past
Works for me with current git master on Wayland. Are you using the Wayland session, or X11? If it's the X11 session, can you try Wayland and see if it's working there?
(In reply to Nate Graham from comment #1) > Works for me with current git master on Wayland. > > Are you using the Wayland session, or X11? If it's the X11 session, can you > try Wayland and see if it's working there? Not working on wayland as well. Even worse, wayland is laggy and blur doesn't work as well.
By the way I never changed any setting in dolphin and there is no window rules in my system.
I'm on Wayland and I cannot reproduce the issue, but I do notice that the dolphinrc file doesn't get updated with the latest window size after the app closes. Despite this, its window size is remembered anyway, so I'm confused
Oh, the window state is stored in ~/.local/share/dolphin/dolphinstaterc nowadays. Nice. Can you open that file in Kate, open Dolphin, resize its window, quit Dolphin, and go back to Kate? See if anything changed.
(In reply to Nate Graham from comment #5) > Oh, the window state is stored in ~/.local/share/dolphin/dolphinstaterc > nowadays. Nice. > > Can you open that file in Kate, open Dolphin, resize its window, quit > Dolphin, and go back to Kate? See if anything changed. Every time I open or close dolphin kate says the file is deleted. After closing the file and reopening it the contents always remain same.
Ok, so that's the problem. Is that file not writable by your user, maybe?
(In reply to Nate Graham from comment #7) > Ok, so that's the problem. > > Is that file not writable by your user, maybe? It is writable. The permission is 0600
I can reproduce this by closing the window with ALT+F4. If the window is closed normally, by pressing the close button, the window size is saved.
Cannot reproduce that :/
I want to also mention that not only dolphin but some other kde apps like kate also behaving like this. Is there any possibility that something is wrong on my system?
No, there is definitely *something* wrong here as I was on X11 recently and managed to reproduce similar issues. Not exactly this one, but similar ones. https://invent.kde.org/frameworks/kconfig/-/merge_requests/129 may fix it. Re-testing it is on my to-do list. Would you be able to test it and see if it helps for you?
(In reply to Nate Graham from comment #12) > No, there is definitely *something* wrong here as I was on X11 recently and > managed to reproduce similar issues. Not exactly this one, but similar ones. > https://invent.kde.org/frameworks/kconfig/-/merge_requests/129 may fix it. > Re-testing it is on my to-do list. > > Would you be able to test it and see if it helps for you? Unfortuantely the mr does not work as well. One thing I have noticed though (with or without the mr applied) that if I resize the application using my left side monitor, then the size persists, but window does not restore to that monitor, instead opens on the primary monitor.
Turns out this was a bug in kxmlgui which should be fixed by https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/127.