Bug 503090 - Dolphin window won't open, only opens after deleting dolphinstaterc
Summary: Dolphin window won't open, only opens after deleting dolphinstaterc
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR critical
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-21 05:40 UTC by ofthecentury
Modified: 2025-05-25 03:48 UTC (History)
3 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 ofthecentury 2025-04-21 05:40:42 UTC
***

SUMMARY


STEPS TO REPRODUCE
1. Just regular usage of Dolphin. Lately, just open Dolphin
2. Close Dolphin window
3. Reopen Dolphin window

OBSERVED RESULT
Dolphin shows up on the taskbar and in the process list, but no graphical window is actually displayed.

EXPECTED RESULT
Dolphin window opens normally. 

FIX-workaround:
I found that if I delete .local/state/dolphinstaterc and then relaunch Dolphin the window opens, but all window layout is reset to default (even shows a giant terminal panel inside dolphin). Works every time but horrible solution. So every time I close Dolphin now and reopen it I get no window displayed, and every time I can fix it by deleting this file and relaunching Dolphin. 

SOFTWARE/OS VERSIONS
Linux Fedora 40, latest packages (can see which ones installed by https://packages.fedoraproject.org/ and checking package version for F40).
I am running Dolphin inside Gnome, I must note. I haven't had any problems on the previous version of Fedora 39. Update to Fedora 40 and running into this bug.

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-04-22 00:43:28 UTC
Hi - just to check, are you able to reproduce this on a new user account on your device?
Comment 2 ofthecentury 2025-04-22 05:00:50 UTC
(In reply to John Kizer from comment #1)
> Hi - just to check, are you able to reproduce this on a new user account on
> your device?

Hi, yes, just checked. Same story on a freshly opened user account.
Comment 3 John Kizer 2025-04-22 18:54:54 UTC
Thanks, and just double-checking, does uninstalling and reinstalling the distribution package for Dolphin change anything?

Does the Flathub Flatpak version of Dolphin show the same behavior?

Thanks!
Comment 4 ofthecentury 2025-04-24 14:02:23 UTC
(In reply to John Kizer from comment #3)
> Thanks, and just double-checking, does uninstalling and reinstalling the
> distribution package for Dolphin change anything?
> 
> Does the Flathub Flatpak version of Dolphin show the same behavior?
> 
> Thanks!

Both uninstalling/reinstalling and flatpak version of Dolphin result in this same behavior.
Comment 5 ofthecentury 2025-04-24 14:07:11 UTC
And just to tighten this: I install it, first run it opens the window, second run it doesn't open the window (but shows up in the taskbar as an open window).
Comment 6 Martin 2025-04-25 06:37:38 UTC
Most likely a related bug here:

Scenario:
- FreeBSD stable/14, latest ports (dolphin-25.04.0)

Result:
- When logging in, N dolphin windows pop up; N increases with every login
- It turns out that even after closing these dolphin windows, the associated processes continue running
- It turns out that in .config/session there are many files like 'dolphin_1015911116bda000174505538300000031390012_1745262579_152759', all of them containing only the following:

[Number]
NumberOfWindows=0

Result (continued):
- After opening dolphin via the start menu and then closing it, a dolphin process remains

Expected result:
- Dolphin should stop running if no window is shown
- On startup, no dolphin windows which did not exist when terminating the previous session should be shown

-- Martin
Comment 7 ofthecentury 2025-04-25 12:20:38 UTC
(In reply to Martin from comment #6)
> Most likely a related bug here:
> 
> Scenario:
> - FreeBSD stable/14, latest ports (dolphin-25.04.0)
> 
> Result:
> - When logging in, N dolphin windows pop up; N increases with every login
> - It turns out that even after closing these dolphin windows, the associated
> processes continue running
> - It turns out that in .config/session there are many files like
> 'dolphin_1015911116bda000174505538300000031390012_1745262579_152759', all of
> them containing only the following:
> 
> [Number]
> NumberOfWindows=0
> 
> Result (continued):
> - After opening dolphin via the start menu and then closing it, a dolphin
> process remains
> 
> Expected result:
> - Dolphin should stop running if no window is shown
> - On startup, no dolphin windows which did not exist when terminating the
> previous session should be shown
> 
> -- Martin

I don't think so. I have no processes running after I close the Dolphin window...
Comment 8 John Kizer 2025-04-25 17:05:09 UTC
Could you perhaps check the system journal to see what messages are recorded there at the time that the issue occurs?

For example, if you observed the issue at 4:30 PM today, you could use `sudo journalctl --since="2025-04-25 16:29:00" --until="2025-04-25 16:31:00"` to look at the surrounding couple of minutes and see if any major crashes, errors or warnings are being reported there.

Thanks!
Comment 9 Bug Janitor Service 2025-05-10 03:46:56 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2025-05-25 03:48:25 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.