Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: NON-KDE apps, clicking system tray icon does not raise window

  1. #1
    Join Date
    Nov 2013
    Location
    Canada
    Posts
    19

    Default NON-KDE apps, clicking system tray icon does not raise window

    This is weird and I'm hoping someone can confirm.

    In 13.1, clicking the system tray icon not only gave application focus, but also raised the window. Now, it demands attention but the window remains beneath others until clicking on the application's task manager entry/button. I have not adjusted KDE special window/application settings from the defaults. Clean install, fully updated, not upgrade. Only using apps from good repos.

    Steps to reproduce
    :
    1. NON-KDE application (i.e. Clementine/Calibre) running, closed to tray (not minimised);
    2. Any other application open on desktop; and
    3. Click application's system tray icon;

    Observed result
    :
    Application's task bar entry appears/demands attention, application window appears beneath other open windows; only clicking task bar entry raises window.

    Expected result
    :
    Task bar entry appears, application window raised, given focus.

    KDE "system tray-ed" apps behave as expected, i.e. Akregator, KMail, etc. This only seems to affect NON-KDE applications.

    Anyone else see this?

  2. #2

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by naughtypine View Post
    This is weird and I'm hoping someone can confirm.

    In 13.1, clicking the system tray icon not only gave application focus, but also raised the window. Now, it demands attention but the window remains beneath others until clicking on the application's task manager entry/button. I have not adjusted KDE special window/application settings from the defaults. Clean install, fully updated, not upgrade. Only using apps from good repos.

    Steps to reproduce
    :
    1. NON-KDE application (i.e. Clementine/Calibre) running, closed to tray (not minimised);
    2. Any other application open on desktop; and
    3. Click application's system tray icon;

    Observed result
    :
    Application's task bar entry appears/demands attention, application window appears beneath other open windows; only clicking task bar entry raises window.

    Expected result
    :
    Task bar entry appears, application window raised, given focus.

    KDE "system tray-ed" apps behave as expected, i.e. Akregator, KMail, etc. This only seems to affect NON-KDE applications.

    Anyone else see this?
    Same result here, i can't open remmina once i close to tray. I'm installing kde framework update if change the situation.

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,175
    Blog Entries
    3

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by naughtypine View Post
    Anyone else see this?
    I'm not seeing the problem here.

    Both Calibre and "apcgmon" are showing up on top when I click the tray icon.

    Well, okay, the first time that I clicked "apcgmon" it showed up partly behind another window. So I clicked the icon again to put it back in the tray. And the next time it showed up on top.

    However: I do use "Focus follows mouse" and I have configured "Raise on hover (delayed by 750ms) as part of the "Focus follows mouse" settings (in "Configure desktop" --> "Window Management"). I'm not sure if that setting is relevant.

    I had not noticed that Calibre can go in the tray. Thanks for pointing that out.
    openSUSE Leap 15.1; KDE Plasma 5;

  4. #4

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    This might be a problem with old-style XEmbed icons (which Plasma5's system tray doesn't support at all).

    Try to install xembed-sni-proxy from here:
    http://download.opensuse.org/reposit...USE_Leap_42.1/

    This among other things tries to fix a problem with mouse clicks for certain applications (mostly java based ones).
    You might have to double-click though.

    Or, for GTK applications you can install libappindicator1 and/or libappindicator3-1 (depending on whether it's GTK2 or GTK3) , this should make them use the "new" (available since 2009) SNI system tray protocol. Doesn't help with all of them though AFAIK.

    Clementine and Calibre are Qt4 applications though, they should use SNI natively (if sni-qt is installed).

  5. #5
    Join Date
    Nov 2013
    Location
    Canada
    Posts
    19

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by nrickert View Post
    [...]

    Well, okay, the first time that I clicked "apcgmon" it showed up partly behind another window. So I clicked the icon again to put it back in the tray. And the next time it showed up on top.
    I'm accustomed to it raising the window to the fore on first click. My second and subsequent clicks on the icon do not raise it, either.

    However: I do use "Focus follows mouse" and I have configured "Raise on hover (delayed by 750ms) as part of the "Focus follows mouse" settings (in "Configure desktop" --> "Window Management"). I'm not sure if that setting is relevant.
    It might be, not sure.

    I had not noticed that Calibre can go in the tray. Thanks for pointing that out.

  6. #6
    Join Date
    Nov 2013
    Location
    Canada
    Posts
    19

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by wolfi323 View Post
    This might be a problem with old-style XEmbed icons (which Plasma5's system tray doesn't support at all).

    Try to install xembed-sni-proxy from here:
    http://download.opensuse.org/reposit...USE_Leap_42.1/

    This among other things tries to fix a problem with mouse clicks for certain applications (mostly java based ones).
    You might have to double-click though.
    I have xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64 installed. Your version throws up a bunch of dependency issues here.

    Or, for GTK applications you can install libappindicator1 and/or libappindicator3-1 (depending on whether it's GTK2 or GTK3) , this should make them use the "new" (available since 2009) SNI system tray protocol. Doesn't help with all of them though AFAIK.

    Clementine and Calibre are Qt4 applications though, they should use SNI natively (if sni-qt is installed).
    sni-qt is there. I'll install the GTK libs, will report if anything changes.

    Thanks.

  7. #7

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by naughtypine View Post
    I have xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64 installed.
    That's the one included in Leap 42.1 which has some problems.

    Your version throws up a bunch of dependency issues here.
    It shouldn't throw up dependency issues at all.

    What kind of dependency issues do you get?

  8. #8
    Join Date
    Nov 2013
    Location
    Canada
    Posts
    19

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by wolfi323 View Post
    That's the one included in Leap 42.1 which has some problems.


    It shouldn't throw up dependency issues at all.

    What kind of dependency issues do you get?
    I misspoke. Not dependency issues.

    Code:
    # rpm -i xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64.rpm 
    warning: xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 23312922: NOKEY
            file /etc/xdg/autostart/xembedsniproxy.desktop from install of xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64 conflicts with file from package xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64
            file /usr/bin/xembedsniproxy from install of xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64 conflicts with file from package xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64
    So, I tried removing the installed package first in YaST and noped out when it wanted to take a bunch of packages with it.

    How do I get from here to there? Be gentle.

  9. #9
    Join Date
    Nov 2013
    Location
    Canada
    Posts
    19

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by naughtypine View Post
    This is weird and I'm hoping someone can confirm.

    In 13.1, clicking the system tray icon not only gave application focus, but also raised the window. Now, it demands attention but the window remains beneath others until clicking on the application's task manager entry/button. I have not adjusted KDE special window/application settings from the defaults. Clean install, fully updated, not upgrade. Only using apps from good repos.

    Steps to reproduce
    :
    1. NON-KDE application (i.e. Clementine/Calibre) running, closed to tray (not minimised);
    2. Any other application open on desktop; and
    3. Click application's system tray icon;

    Observed result
    :
    Application's task bar entry appears/demands attention, application window appears beneath other open windows; only clicking task bar entry raises window.

    Expected result
    :
    Task bar entry appears, application window raised, given focus.

    KDE "system tray-ed" apps behave as expected, i.e. Akregator, KMail, etc. This only seems to affect NON-KDE applications.

    Anyone else see this?
    UPDATE: I notice now that the window does not appear beneath all open windows on the desktop, but appears immediately beneath the top-most/active window. Perhaps this distinction is helpful?

    e.g. Open two windows, say Firefox then Dolphin (ACTIVE), click the system tray icon of Clementine -- opens beneath Dolphin, above Firefox.

  10. #10

    Default Re: NON-KDE apps, clicking system tray icon does not raise window

    Quote Originally Posted by naughtypine View Post
    I misspoke. Not dependency issues.

    Code:
    # rpm -i xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64.rpm 
    warning: xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 23312922: NOKEY
            file /etc/xdg/autostart/xembedsniproxy.desktop from install of xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64 conflicts with file from package xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64
            file /usr/bin/xembedsniproxy from install of xembed-sni-proxy-0.0.1git~20151104~ded1538-33.1.x86_64 conflicts with file from package xembed-sni-proxy-0.0.1git~20151001~0d6ed03-1.1.x86_64
    Use "rpm -U" instead, to *u*pdate the package...

    Quote Originally Posted by naughtypine View Post
    UPDATE: I notice now that the window does not appear beneath all open windows on the desktop, but appears immediately beneath the top-most/active window. Perhaps this distinction is helpful?

    e.g. Open two windows, say Firefox then Dolphin (ACTIVE), click the system tray icon of Clementine -- opens beneath Dolphin, above Firefox.
    Then it's probably not a problem of the system tray.
    Maybe the "focus prevention" settings? (Configure Desktop->Windows Behavior)
    Try to set it to "None". Although I don't see such a problem with the default "Low" either...

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •