Bug 451070 - Starting some application does not bring them to focus, when opening in other Activities
Summary: Starting some application does not bring them to focus, when opening in other...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: activities (other bugs)
Version First Reported In: 5.24.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-03 07:49 UTC by wallcarpet40
Modified: 2023-08-07 17:43 UTC (History)
3 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 wallcarpet40 2022-03-03 07:49:46 UTC
SUMMARY
I have set up Activities: www, sys, kodi, game
I have applications set up, so they open up in their own Activities:
- kodi opens in "kodi" activity
- goverlay opens in "game" activity
- steam opens in "game" activity

When starting applications, either via shortcut (for example Ctrl+Alt+4 for kodi), or in Krunner, applications do start in their own activity, but the activity is not switched to automatically.

Applications that DO work and switch to their own activity, are:
-firefox opens in "www" activity and takes focus
-Dolphin opens in "sys" activity and takes focus
-Konsole opens in "sys" activity and takes focus


STEPS TO REPRODUCE
1. Create an activity and name it "game"
1. Go to Window Management -> Window Rules -> Add New
2. Window class (application) -> Exact match -> steam
3. Add Property -> Size & Position -> double click Activities
4. Assign to "game" activity
5. Go to some other activity than "game"
6. Start Steam with Global Menu or Krunner or a custom shortcut  (doesn't matter which)

OBSERVED RESULT
Steam starts up in "game" activity, but the focus is still in the other activity



EXPECTED RESULT
Steam starts up in "game" activity and switches automatically to "game" activity

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.16.11
KDE Plasma Version: 5.24.2 (Wayland)
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Comment 1 joelsonejr 2023-08-07 17:43:48 UTC
I followed the steps provided, but the functionality worked as expected.