Taskbar grouping

Bernd Kreuss wrote:

Hello list,

where does the word "Frame" in a KDE Taskbar-Group of wxPython Apps come from and how would I change it for my application in order to prevent all my (and other) applications being grouped together under a single Group with the not so meaningful name "Frame"?

The label that appears in the taskbar is the frame's title, so calling frame.SetTitle(newValue) should change it. However I'm not sure if KDE groups by the title, or by the application. I always have that option turned off so I could be wrong, but I seem to recall that it grouped all my emacs windows (each with a different title) into the same taskbar item.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Bernd Kreuss wrote:

Robin Dunn schrieb:

The label that appears in the taskbar is the frame's title, so
calling frame.SetTitle(newValue) should change it. However I'm not
sure if KDE groups by the title, or by the application.

SetTitle does not change the name of the Group. All my wxPython Apps
have different titles and are all grouped together in one single Group
together with PyCrust and the wxPython-demo and the group has the Name
"Frame"

The default window name for wx.Frames is "frame" (with a lower case 'f') so maybe that is it? Try passing a different name parameter to the constructor. I just tried it on my system (KDE 3.5.5) and it didn't make any difference, but then my group names appear to be name of the executable, "python2.4", "firefox-bin", etc. I don't have any that are "Frame" even though do I have some wxPython apps running. (They are all grouped together with either "python" or "python2.4" depending on how they were started.)

Personally I would consider this a KDE bug. There should be a better way to do grouping than the process name. Process ID isn't that great either but it would be a lot better IMHO than executable name... Does GNOME have an option for taskbar grouping, and does it do it any better?

/me turns off this nasty option once again...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn schrieb:

I just tried it on my system (KDE 3.5.5) and it didn't make any difference, but then my group names appear to be name of the executable, "python2.4", "firefox-bin", etc. I don't have any that are "Frame" even though do I have some wxPython apps running. (They are all grouped together with either "python" or "python2.4" depending on how they were started.)

Right now I have a group mozilla-thunderbird-bin (the name of the executable) and a group frame (wxPython demo and PyCrust). When setting a name while constructing the wx.Frame multiple instances of my App go into their own group (this is what I want), but the name of the group will be the title of the frames, not the name specified in the constructor call. Weird.

I am running KDE 3.5.2 (a standard Kubuntu Dapper installation with default settings)

Personally I would consider this a KDE bug.

> There should be a better

way to do grouping than the process name.

The naming algorithm seems to be a bit more complicated than that but I found no documentation about it after googling around a bit and I really didn't want to search for it in the KDE sources.

Bernd