Bug 404306 - [Wayland] Sometimes Dolphin disappears (no entry in plasma panel and task switcher) when I open file properties window despite its process is still running according to Ksysguard
Summary: [Wayland] Sometimes Dolphin disappears (no entry in plasma panel and task swi...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 18.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2019-02-13 21:59 UTC by Patrick Silva
Modified: 2023-05-12 19:39 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-02-13 21:59:57 UTC
SUMMARY
apparently the bug occurs randomly, not alwayds I can reproduce following the steps below.

STEPS TO REPRODUCE
1. start Wayland session
2. open dolphin, right click on any file, select "properties"
3. close file properties window, open any folder, open properties of another file

OBSERVED RESULT
File properties window is open but Dolphin disappeared (no entry in plasma panel and task switcher). Dolphin process is still running according to Ksysguard.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION
it does not happen under X11.
Comment 1 Madhav Kanbur 2019-03-13 04:07:10 UTC
I can confirm that this bug is still present in Plasma 5.15.3. And I don't think it's limited to dolphin. I have experienced many other applications just randomly disappearing (process still visible in ps -el but window just gone). As Patrick mentioned, it happens only under a Wayland session. No problems under X11. I'm using Arch, with intel graphics.
Comment 2 krewetki 2019-04-20 22:53:58 UTC
Confirmed on Manjaro Stable, Dell Inspiron 15R SE, X11: various applications' windows disappear, but... I'm running X11.

In my case more actions reproduce the defect than just that sequence mentioned by OP. I struggle to pin-point them: i.e. happened when I tried to save a file in Kdenlive - all windows disappeared.

This happens when I've got a 2nd screen connected to laptop via VGA or disconnected.

And I'm positive windows "disappear", because I can still see "running" marker on an icon on KDE panel and when I try to click, seems that nothing happens (this would normally be minimising a window to tray, then a second click brings the window back.
Comment 3 krewetki 2019-04-20 22:55:52 UTC
Confirmed on Manjaro Stable, Dell Inspiron 15R SE, X11: various applications' windows disappear, but... I'm running X11

in my case more actions reproduce the defect than just that sequence mentioned by OP. I struggle to pin-point them: i.e. happened when I tried to save a file in Kdenlive - all windows disappeared.

This also happens when I try to switch from one tab to another in Firefox.

It also happens when I switch from one window to another - will observe further and delete this line if I'm incorrect on this.

It is very important to note that, at least in my case, this "disappearing windows" issue only happens when I click mouse. If I use, say Alt+Tab to switch windows or a key combination to bring up an app or window menu, then everything is OK.

And I'm positive windows "disappear", because ps aux lists the process, I can still see "running" marker on an icon on KDE panel, and when I click that icon, seems that nothing happens (this would normally be minimising a window to tray), then a second click brings the window back (again, a normal action, except this time the window un-disappeared).



(In reply to Patrick Silva from comment #0)

> STEPS TO REPRODUCE
> 1. start Wayland session
> 2. open dolphin, right click on any file, select "properties"
> 3. close file properties window, open any folder, open properties of another
> file

All windows disappeared when I was half way going through your steps...

> OBSERVED RESULT
> File properties window is open but Dolphin disappeared (no entry in plasma
> panel and task switcher). Dolphin process is still running according to
> Ksysguard.

On mine, everything disappears as if I clicked "show desktop" icon - i.e. panels do stay.


> ADDITIONAL INFORMATION
> it does not happen under X11.

It does happen under X11 on my machine very frequently to a point of "all the time".
Comment 4 Patrick Silva 2019-07-01 15:06:56 UTC
I can't reproduce this behavior anymore.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Comment 5 Damian Kaczmarek 2022-07-07 19:47:00 UTC
I had VS Code (running in Wayland mode) disappear for me after unlocking my desktop today. It's despite the processes being active in "ps aux". What's worse is that I cannot restart kwin_wayland as all processes will be killed. (I moved from X to Wayland 3 days ago)
Comment 6 Patrick Silva 2023-05-12 19:39:08 UTC
Cannot reproduce with Dolphin 23.04.1.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland