Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

Slow appearing window after clicking on systray icon on KDE Neon / Ubuntu-like system

Open nekromoff opened this issue 9 months ago • 4 comments

Using a supported version?

  • [x] I have searched searched open and closed issues for duplicates.
  • [x] I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Overall summary

When clicking on systray Signal icon, it now take about 3 seconds for the Signal window to appear. Before update it was instant.

Steps to reproduce

  1. Click on systray icon
  2. Delay in window appearing (approx. 3 seconds)
  3. same thing is happening for Help->About Signal modal window, it takes longer to appear

Expected result

Instant appearance of Signal window.

Actual result

Delayed appearance.

Screenshots

No response

Signal version

7.42.0

Operating system

KDE neon 6.2 (Ubuntu 24.04 noble)

Version of Signal on your phone

No response

Link to debug log

https://debuglogs.org/desktop/7.42.0/b66a8db318711b5c8943f989614d6f0f212902534639296f914e6af463c61972.gz

nekromoff avatar Feb 20 '25 16:02 nekromoff

I also see this in version 7.42.0 (cannot test 7.41.0 because of incompatible database)

njaard avatar Feb 20 '25 23:02 njaard

screen recording: https://github.com/user-attachments/assets/1dc233cc-452e-4918-9fcc-87e168197958 I observe that the debuglog window takes about as long to show up as the signal window itself

njaard avatar Feb 20 '25 23:02 njaard

Three weeks ago, someone reported a similar problem against electron: https://github.com/electron/electron/issues/23730

I have found that the problem goes away when the (KDE) compositor is disabled, so it seems like a bug in electron that causes some GPU problem. I also found that all three of us use the KDE compositor.

I found a way to trick electron into not using my GPU at all, (MESA_LOADER_DRIVER_OVERRIDE=iris) and it still occurs.

njaard avatar Feb 20 '25 23:02 njaard

I am facing a similiar problem since the update to version 7.43.0 under Manjaro KDE (Plasma 6.2.5). If Signal is minimized to tray, it takes around 1 to 2 seconds after a click on the tray or taskbar icon to bring Signal back in the foreground. Sometimes a click isn't even recognized directly, so it needs a second click for the foreground action. Normally the switch from minimized to foreground is instant.

https://debuglogs.org/desktop/7.43.0/dd9ff4d49b941ef8735c5a265932e39dcab5d056817ddfe45c22ac69e9855fad.gz

Protonator avatar Feb 22 '25 14:02 Protonator

Same goes for CachyOS on KDE

https://debuglogs.org/desktop/7.45.0/3d3411d4b6311e4e2c24e34389f4b1258cb1e49e7509ec9bcd7e08585a336b5d.gz

jzaluska avatar Mar 08 '25 23:03 jzaluska

Thank you for the report and the link to the electron issue. Seems like this is the current open bug filed: https://github.com/electron/electron/issues/45855

yash-signal avatar Mar 13 '25 22:03 yash-signal

Hey, reporter of that issue here. To add to what @Protonator said, it's notable that it only occurs if the window is hidden, not just backgrounded or minimized.

A couple of comments and thumbs up on https://github.com/electron/electron/issues/45855 would go a long way towards getting this resolved.

Nantris avatar Mar 15 '25 06:03 Nantris

The delay bug seems to be solved here since Signal Version 7.55.0 under Manjaro Stable @ KDE Plasma 6.3.5.

Protonator avatar May 23 '25 11:05 Protonator

I can confirm on Neon/Ubuntu, this can be closed.

nekromoff avatar May 23 '25 11:05 nekromoff