[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2021-03-07 Thread Konrad Materka
https://bugs.kde.org/show_bug.cgi?id=378910

Konrad Materka  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.22.0
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||3dee28974ebf92f078dada44d18
   ||9c31cc2e1abb7

--- Comment #16 from Konrad Materka  ---
Git commit 3dee28974ebf92f078dada44d189c31cc2e1abb7 by Konrad Materka.
Committed on 07/03/2021 at 11:25.
Pushed by kmaterka into branch 'master'.

[applets/systemtray] Add workaround for Dropbox

System Tray forgets Dropbox hidden state after logout+login

The SNI Id should be consistent between sessions, but Dropbox does not
follow the SNI specification - it adds PID as a suffix of Id.

As this is very popular application and it was not fixed upstream for
many years it is reasonable to add workaround in SystemTray.
FIXED-IN: 5.22.0

M  +14   -3applets/systemtray/systemtraymodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/3dee28974ebf92f078dada44d189c31cc2e1abb7

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2021-03-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=378910

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #15 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/699

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2021-03-06 Thread Konrad Materka
https://bugs.kde.org/show_bug.cgi?id=378910

Konrad Materka  changed:

   What|Removed |Added

   Assignee|plasma-b...@kde.org |mate...@gmail.com

--- Comment #14 from Konrad Materka  ---
I will prepare a workaround

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2021-02-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #13 from Nate Graham  ---
I think so. We have app-specific workarounds for LibreOffice in the Task
Manager.

It's always preferable to not work around app bugs, but in the case of popular
important apps that are either not FOSS, or are FOSS but the problem is
virtually unsolvable, sometimes it's needed.

Wanna submit a merge request?

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2021-02-20 Thread Michal Kec
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #12 from Michal Kec (MiK)  ---
The issue is still present with Plasma 5.21 and 116.4.368.

As there's no such problem with another app, would be possible to accept
dropbox-only solution mentioned earlier?

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-12-12 Thread Konrad Materka
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #11 from Konrad Materka  ---
Will it work correctly with xembedsniproxy?
Dropbox is broken, there is another bug report for context menu - they are not
following specification there to. I guess we can implement a workaround, but
this should be limited to Dropbox only - by default Id is working well.

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-12-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=378910

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #10 from David Edmundson  ---
We can.

We know the DBus service name owner. 
>From that we can know the PID

QDBusReply pidReply =
connection().interface()->servicePid(message().service());


>From that we can get anything

auto processInfo = KProcessList::processInfo(pid);

return processInfo.name();

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-12-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #9 from Nate Graham  ---
Are you sure the executable name isn't available? Can we make it available
somehow? Is that possible?

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-12-12 Thread Konrad Materka
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #8 from Konrad Materka  ---
We can't access executable, StatusNotifierItem has no such property. There is
only Id and Title, but Title can change at any time, can be translated etc.
I guess the only way is handle this is to use custom regex per app, but I don't
like it. Dropbox should be fixed, it is not following the specification:
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/
> org.freedesktop.StatusNotifierItem.Id
> It's a name that should be unique for this application and consistent between 
> sessions, such as the application name itself.

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-12-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #7 from Nate Graham  ---
Maybe we could just match on the executable name itself?

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-10-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #6 from Nate Graham  ---
Could we maybe define a regex to match on that could exclude the PID? We have a
similar override table for misbehaving apps in the task manager. Maybe we
should do the same for the system tray.

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2019-10-16 Thread Konrad Materka
https://bugs.kde.org/show_bug.cgi?id=378910

Konrad Materka  changed:

   What|Removed |Added

 CC||mate...@gmail.com

--- Comment #5 from Konrad Materka  ---
Yes, Dropbox Id contains PID, which changes with each run. System Tray relies
on this Id. Unfortunately, there is no proper fix on KDE side...

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2018-11-18 Thread MiK
https://bugs.kde.org/show_bug.cgi?id=378910

Michal Kec (MiK)  changed:

   What|Removed |Added

 CC||k...@kecnet.cz

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2018-10-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

Nate Graham  changed:

   What|Removed |Added

 CC||dsj...@gmail.com

--- Comment #4 from Nate Graham  ---
*** Bug 399520 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2018-05-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

--- Comment #3 from Nate Graham  ---
I'm guessing that at least a large part of this problem is related to the fact
that the executable name changes:

$ grep hiddenItems ~/.config/plasma-org.kde.plasma.desktop-appletsrc
hiddenItems=org.kde.plasma.mediacontroller,dropbox-client-1764,org.kde.plasma.clipboard,org.kde.plasma.vault,dropbox-client-1447,dropbox-client-3761

Those three entries are the result of three attempts to hide Dropbox. Each
attempt succeeds, but then it's un-hidden again after the next login because
the executable name has changed due to the number (a PID, maybe?) changing.

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2018-05-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED
   Keywords||usability

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

[plasmashell] [Bug 378910] System Tray forgets Dropbox hidden state after logout+login

2018-05-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=378910

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED
Summary|System Tray forgets hidden  |System Tray forgets Dropbox
   |entries after logout login  |hidden state after
   ||logout+login
 Resolution|DUPLICATE   |---

--- Comment #2 from Nate Graham  ---
After investigating Bug 361614 further, it looks like that issue is fixed, and
this one is a Dropbox-specific problem. I can confirm it myself. Let's use it
to track that.

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