Bug 404768 - Application windows dont regain focus (i.e. stay greyed out) after dialogue for e.g. New directory (Dolphin) or Save As (Kate). Pops back up after being closed and are grey+non-interactive
Summary: Application windows dont regain focus (i.e. stay greyed out) after dialogue f...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.15.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-24 12:53 UTC by Ivar Erikson
Modified: 2019-03-02 11:05 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 Ivar Erikson 2019-02-24 12:53:45 UTC
SUMMARY

! I'm not sure about which Product/Component to file this under. Please move as needed. !

Today I updated to the latest KDE Plasma via backports PPA on Kubtuntu 18.10. I've since experience some issues:

Applications that are greyed out (i.e main window lose focus) when, say, Save As (Kate) or Create new directory F10 (Dolphin), will stay greyed out. Also, when closing the application, it will pop back up after half a second, still greyed out but non-interactive.

To close/remove the application I have to change [virtual] desktop.

STEPS TO REPRODUCE
1. Open Dolphin
2. Create new directory (F10)
3. Apply/close the dialogue
4. The main window of Dolphin is now greyed out ("out of focus")
5. Close the window
6. Observe the window pop back up, grey and non-interactive
7. Switch desktop forth and back again
8. See the window gone

OBSERVED RESULT
1. Greyed out after losing focus
2. Popping back up after closing

EXPECTED RESULT
1. Have focus returned after exit dialogue
2. Not pop up after closing

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 18.10
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.1
Kernel Version: 4.18.0-15-generic



ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-02-26 15:04:24 UTC
Does this only happen with Dolphin, or with other KDE apps too?

Does the problem go away if you disable the "Dialog Parent" effect in System Settings > Desktop Behavior > Desktop Effects?
Comment 2 Ivar Erikson 2019-02-26 15:36:01 UTC
It happens with Kate and with LibreOffice Writer (both the popping back up and the greying out), at least.

At the time of filing the bug report, I had mostly been working with Dolphin and Kate. Later, I did some work in Writer and encountered it there too, but it slipped my mind that I ought to update the bug report.

I'm currently unable to check any further apps, or test your suggestion, as I currently away, and don't have access to my desktop. I'll check and post an update when I have the chance.
Comment 3 Ivar Erikson 2019-03-02 05:46:57 UTC
The issue seems to have gone away by itself now. Tested with Dolphin, Kate and LO Writer, without any grey-out staying after colsing dialogues or any closed windows popping back up. Apparantly, not being used for 5 days cured it.
Also, have updated to 5.15.2.