Bug 432160 - IntelliJ-based IDEs windows are not restored on reboot
Summary: IntelliJ-based IDEs windows are not restored on reboot
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://youtrack.jetbrains.com/issue/...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 13:44 UTC by Max
Modified: 2021-01-26 20:06 UTC (History)
1 user (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 Max 2021-01-26 13:44:13 UTC
SUMMARY
IntelliJ-based IDEs windows are not restored on reboot, when 'Restore previous session' is enabled in system settings

STEPS TO REPRODUCE
1. Enable in settings: 'Startup and shutdown' -> 'Desktop session' -> 'Restore previous session' 
2. Open any IntelliJ-based IDE - for example IntelliJ IDEA, Android Studio, Webstorm, etc.
3. Reboot the computer (or re-login)

OBSERVED RESULT
IDE windows are restored along with the others, like it happens with VS Code

EXPECTED RESULT
System doesn't seem to try restoring IDE windows

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-26 18:48:02 UTC
That would mean that these apps don't support the X Session Management Protocol. LibreOffice is the same way. Here's a bug I filed about it for the LibreOffice devs: https://bugs.documentfoundation.org/show_bug.cgi?id=129370

You'll have to do the same thing for the developer of these apps.
Comment 2 Max 2021-01-26 20:02:45 UTC
Thanks for your response!
I just submitted in general IDEA bug tracker:
https://youtrack.jetbrains.com/issue/IDEA-260385
Comment 3 Nate Graham 2021-01-26 20:06:25 UTC
Perfect!