[Discover] [Bug 423857] Discover when already running doesn't become frontmost when clicking on the update notifier

2020-07-09 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=423857

--- Comment #4 from Aleix Pol  ---
It should be working in X11.

Could you see that this line gets called?
mainWindow->rootObject()->raise();

This code hasn't changed over the years, so it's possible that it's a KWin
issue.

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

[Discover] [Bug 423857] Discover when already running doesn't become frontmost when clicking on the update notifier

2020-07-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=423857

--- Comment #3 from Nate Graham  ---
No, on X11. I know this feature isn't available yet on Wayland.

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

[Discover] [Bug 423857] Discover when already running doesn't become frontmost when clicking on the update notifier

2020-07-09 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=423857

--- Comment #2 from Aleix Pol  ---
Are you using wayland? On wayland we don't have a mechanism to raise windows
yet. That's a known and important issue in KWin.

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

[Discover] [Bug 423857] Discover when already running doesn't become frontmost when clicking on the update notifier

2020-07-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=423857

--- Comment #1 from Nate Graham  ---
When clicked, Discover's notifier runs an ApplicationLauncherJob:

auto *job = new
KIO::ApplicationLauncherJob(KService::serviceByDesktopName(QStringLiteral("org.kde.discover")));
job->setUiDelegate(new
KNotificationJobUiDelegate(KJobUiDelegate::AutoErrorHandlingEnabled));
job->start();

Clicking on it when Discover is already open causes Discover's Task Manager
entry to turn orange, so clearly the job or something underneath it knows that
there's an existing instance already open.

I wonder if this is a case of KWin inappropriately preventing the application
from coming to the front.

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

[Discover] [Bug 423857] Discover when already running doesn't become frontmost when clicking on the update notifier

2020-07-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=423857

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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