Bug 412012

Summary: Intellij IDEA doesn't focus compiled JavaFX window
Product: [Plasma] plasmashell Reporter: f.kolodziejczyk1
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.12.8   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description f.kolodziejczyk1 2019-09-18 08:45:07 UTC
SUMMARY
When starting Intellij IDEA Community Edition from Application Launcher/Menu (doesn't matter which one) or even with the .desktop file and try to compile my JavaFX app it wouldn't be brought to the top so it wouldn't get focused.

On the other hand if I start it with it's .sh file from Dolphin or from JetBrains Toolbox everything works as expected.

A workaround for starting from Application Launcher is to check "Start from terminal" (not sure if my translation is correct, I use plasma in polish) setting in menu entry.

STEPS TO REPRODUCE
1. Start Intellij IDEA from Application Launcher or with .desktop file
2. Try to run my application
3. Observe that the application shows on the task bar but is not brought to the top

OBSERVED RESULT
Application shows on the task bar but is not brought to the top

EXPECTED RESULT
Application should be brought to the top and get focused.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.1
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION
None
Comment 1 f.kolodziejczyk1 2019-09-18 08:53:44 UTC
Same thing happens on

Linux/KDE Plasma: openSUSE Leap 42.3
KDE Plasma Version: 5.8.7
KDE Frameworks Version: 5.32.0
Qt Version: 5.6.2
Comment 2 David Edmundson 2019-09-18 12:54:48 UTC
Please see https://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt

In particular the timestamp section which will be used in the ID
Comment 3 f.kolodziejczyk1 2019-09-18 13:07:39 UTC
I have no idea how it is supposed to help me.