-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TaskManager Launchers do not match correctly with Windows [kmail, gentoo example] #24
Comments
There are two states for each launcher either "In all activities" or "according to activities". for example I use 4 activities and the dolphin launcher is used in two of them. The fact that when you add the kmail launcher and indicates that is not on all activities, it means that is finding it in another activity so the code understands that this must not be added as "OnAllActivities" because this would break the user workflow. The problem is when you hit "On All Activities" it should make this globally available but this doesnot happen... I will investigate it... Notice: If you want to improve a bit your visuals(big icons from Default panel) you could use the Now Dock Panel and plasmoid (master branches). The Now Dock Panel has now its own configuration settings window.. You could set it to not show a background of its own and use as a zoom factor 1, that would stop the animation hovering and set anchoring at top... Small problem I dont support yet spacers, in order to have other items at top and other at bottom... |
Ok ... my mistake ... I observed your video again... The behavior is ok... this is not a bug... The question is ... Where do you want your kmail launcher? :) in what activities? |
Thanks for the reply:
I want the launcher in the PIM Activity.
It isnt, the kmail launcher is not anywhere ( i checked the plasma rc file and the launchers line of nowdock ) ... I think its relative to that my system kmail desktop file executes the command 'kmail -qwindowtitle %c %u'. My custom kmail desktop file just executes 'kmail'. I triedc to put my custom kmail desktop file to execute the same as the system file, and the problem reappeared. |
I am beggining to wonder if this is an upstream bug: for example, on gentoo and openSUSE, none of the chrome apps launchers work properly. and this is using the same versions of plasma / frameworks / qt something the way the taskmanager lib detects the launcher and the running window. |
from the Now Dock rc, can you show me your configuration line for launchers? Use both cases, the one working and the one that it isnt... |
And you are sure that the kmail launcher is not also in any stopped activity? |
non-working (kmail is actually working because i use my custom launcher with edited command line, but chrome apps are not working): [Containments][290][Applets][292] [Containments][290][Applets][292][Configuration][ConfigDialog] [Containments][290][Applets][292][Configuration][General] working: [Containments][290][Applets][292] [Containments][290][Applets][292][Configuration][ConfigDialog] [Containments][290][Applets][292][Configuration][General] ( they are almost the same, because i tried copying the working plasma* files and kactivity* files from the working system to the non working systems ) |
This is an upstream bug, sorry: I just tested with normal taskmanager plasmoid. NowDock is just doing exactly what normal kde taskmanager does, with kmail and chrome apps. Feel free to close it. |
Ok ... |
Is there a bug raised upstream for this problem? |
Don't think so, at least in my quick search |
To anyone that has this problem, i was able to fix it by changing the system chromium way of launching and wm_class. gentoo and opensuse make chromium have class: "chromium-browser-chromium" on the gentoo system, i was able to make a chrome app have the xprop with wmclass: and it works now. Its weird why it works with wmclass "chromium" and not "chromium-browser-chromium", since on gentoo, its consistent in all windows having "chromium-browser-chromium" wmclass. |
Note: submitted bug upstream to gentoo: https://bugs.gentoo.org/show_bug.cgi?id=593084 |
Also submitted to https://bugs.kde.org/show_bug.cgi?id=368425 |
Very good job!!! Alex can we find a good title for this? "Launchers not matching correctly with Windows" ,maybe? |
Yes, maybe a better title. This is kinda hard to describe. Expecially to the gentoo mantainers, who might not even use KDE. BTW, dunno where better to tell you this, but also reported the activity sidebar problem on kde forums: https://forum.kde.org/viewtopic.php?f=285&t=135869 |
I have also added the links to your first message in order to be easily accessible! |
yep, no problem :) |
This is also a very good job!!! :-) happy for you, Alex!! |
Concerning the issue of this topic, I think I have the same problem under openSuse with LibreOffice Writer.... |
It works were on Gentoo: Can you try removing the %U at the end of the .desktop command line ? |
@alexjp for my libreoffice writer which has the issue... any ideas? |
it is not strange that libtaskmanager can not identify the libreoffice-writer window with its launcher... :) |
try to rename your desktop file to libreoffice-writer also check with xprop the name of the WM_CLASS. I think the desktop file has to match with it. |
:( ... didnt help in my case.... |
this is my gentoo desktop file that is working: http://pastebin.com/pWpmsMtm also, my xprop: http://pastebin.com/XQPcfkqT can you show me both those files ? Also did you removed the launchers from nowdock and inserted them again ? sometimes nowdock creates weird launchers ( not desktop based, and even include the icon in the plasma rc file ) |
I might be the only one using konqueror yet but for the case it is useful for someone out there: Konqueror suffers this same issue, which I workarounded by copying konqbrowser.desktop to konqueror.desktop and replacing in it |
my renamed desktop file: http://pastebin.com/4Csvh7s2 yes, I removed the launchers( when I renamed the desktop file these launcher became a question mark) and readded for libreoffice writer |
weird ... seems all ok, seems to point to libreoffice-writer.desktop. can you change the : Exec=libreoffice --writer %U to Exec=libreoffice --writer %F ? |
@alexjp, this fixed it!!!! Thank u very much!!!! Did you have any response to where we report such cases? plasma or distribution? |
I reported it on kde, and Eike Hein said it should be the app or distribution responsability. Quoting him:
In case of libreoffice, i guess it should be the distribution, since its different from mine. Till now, only case i catched that is cross distribution is the kmail case. Even chromium is working out of the box on arch linux. I guess it was never visible because nobody made use of taskmanager tracking launchers. Maybe put some info on front page README, something like: " If the dock isnt tracking correctly a launcher or chromium app, complaint to your distribution to fix the desktop files, see workarounds for common fixes" and make a workarounds page. |
Hi,
I am having a weird issue with kmail launcher. I made a video showing what is happening: https://youtu.be/rBOmJDK5m08
Kmail launch icon seems to be always in every activity, even though its not listed as "in all activities".
Also notice that when I "Show a launcher when not running" to the kmail app, It is configured as "not show in all activities" already, like if it already had information about that app.
I looked as plasma configuration files and nowdock launcher listing. Your format is easy to understand -> activity;number of launchers;launchers.
Can you try to reproduce ? I was able to fix it, by creating a custom kmail-2-launcher.desktop shortcut.
Thanks !
https://bugs.gentoo.org/show_bug.cgi?id=593084
https://bugs.kde.org/show_bug.cgi?id=368425
The text was updated successfully, but these errors were encountered: