https://bugs.kde.org/show_bug.cgi?id=521660

            Bug ID: 521660
           Summary: Refreshing panel groups different GTK window class and
                    name
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

DESCRIPTION
GTK has --class and --name CLI options to set. Setting different class and name
for same app has the benefit of task manger to not group app and setting
different icon. The useful practice is setting different icons for different
Firefox profiles (refer to
https://unix.stackexchange.com/questions/484798/how-to-give-each-firefox-profile-its-own-application-icon-in-plasma).
The problem is when you refresh *(1) or relaunch the panel, task manager
ignores these rules and groups the app as the same icon.

(1): Examples for refreshing are after some levels of inactivity or launching
Waydroid. Which refreshes icons. 

STEPS TO REPRODUCE
1. Run Firefox (or probably other GTK apps) as normal
2. Run another instance as e.g.  firefox --name=test --class=test
3. Now, the new instance should have Wayland icon.
4. Relaunch shell e.g. killall plasmashell && kstart plasmashell

OBSERVED RESULT
The icons merge as default Firefox icon

EXPECTED RESULT
Relaunch or refresh should retain rules.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This is minor issue, but I am facing for couple of months and it it pretty
annoying. I'll be very much appreciated for exploring this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to