psifidotos / applet-window-title

Plasma 5 applet that shows the application title and icon for active window
GNU General Public License v2.0
246 stars 35 forks source link

No title for sxiv image viewer #28

Closed freecsu closed 5 years ago

freecsu commented 5 years ago

No title is displayed at all (not even the 'Default' text) when the image viewer 'sxiv' is the active window. Is there a possible fix for this?

psifidotos commented 5 years ago
  1. What is the window title bar text?
  2. Normal plasma taskmanager what text does it show for it?
freecsu commented 5 years ago

The titlebar text is "sxiv - /path/to/file.img" which is the same text shown on the taskmanager applet.

psifidotos commented 5 years ago

Show me a screenshot please

freecsu commented 5 years ago

screenshot_20181130_113027 screenshot_20181130_113212 The first image shows the default title with no active window. The second image shows the lack of title with a sxiv window active.

psifidotos commented 5 years ago

@freecsu how this can be solved and what is needed from you:

  1. plasma libtaskmanager does not detect properly the appName for sxiv, you can report this at bugs.kde.org if you want. If you want to solve it yourself you can add at sxiv desktop file the following record:

StartupWMClass=sxiv

  1. afterwards you can use latest git version or upcoming 0.3 version in order to show title properly
psifidotos commented 5 years ago

reported [1] at plasma: https://bugs.kde.org/show_bug.cgi?id=402762