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

            Bug ID: 500956
           Summary: Icon-only task manager do not group applications by
                    their WmClass
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: plasma-b...@kde.org
          Reporter: benjaminded...@protonmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

Created attachment 179038
  --> https://bugs.kde.org/attachment.cgi?id=179038&action=edit
LibreOffice wrong grouping

SUMMARY
In the task bar, the applications get grouped by program name, as stated in the
configuration of the icon-only task manager.  Actually, it seems that the
grouping is done with the raw program name being executed, rather than the name
of the .desktop file its Wmclass. 
This results in not expected grouping and strange program name for some
applications, for example for LibreOffice. Indeed, when opening a LibreOffice
file, the .desktop file calls 'libreoffice', which in turn calls 'soffice.bin'
program. Then, all the opened LibreOffice files, whether they are Writer, Calc,
Draw or Impress, will be grouped in the task bar with the shared name
'soffice.bin' which is printed when hovering the mouse over the icon, and the
shared icon of the first LibreOffice file being opened.
Grouping the applications by their Wmclass or name of the .desktop should
prevent such unexpected behaviors.

STEPS TO REPRODUCE
1. Open a LibreOffice Writer document
2. Open a LibreOffice Calc spreadsheet

OBSERVED RESULT
The Calc window gets grouped with the Writer window. 
The icon of the group is the one of LibreOffice Writer since it was opened
first. 
The name of the application which is printed in the task group is
'soffice.bin'.

EXPECTED RESULT
The Calc window should not be grouped with the Writer window. 
Calc windows should be grouped only with windows sharing the same Wmclass, in
this case the windows with 'StartupWMClass=libreoffice-calc', and the name of
the group should be "LibreOffice Calc", as defined in the .desktop file.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

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

Reply via email to