Bug 475128 - akregator / kmail : can't restore / reduce to tray
Summary: akregator / kmail : can't restore / reduce to tray
Status: REPORTED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
: 482440 483656 484232 487025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-02 11:24 UTC by Christophe Marin
Modified: 2024-12-17 13:14 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2023-10-02 11:24:54 UTC
Using master builds.
reducing and restoring the akregator or kmail window using the tray icon doesn't work anymore.

akregator has less settings so reproducing is easier with it.

What works:
- deleting akregatorrc
- launching akregator
- in settings, disable tray icon / application / enable tray icon / apply
- the window can then be hidden/restored with the tray icon

but after quitting  / restarting akregator, the issue is back.
Comment 1 Arek Guzinski 2024-03-05 21:01:46 UTC
Same thing here on current neon -- but only with akregator. Works fine in kmail.
Maybe it's fixed there and that fix can be applied to akregator?
Comment 2 Bruno P. 2024-03-10 15:58:18 UTC
Same behavior with kmail/kontact using KDE Neon User edition.
Comment 3 Bruno P. 2024-03-10 15:59:37 UTC
*** Bug 482440 has been marked as a duplicate of this bug. ***
Comment 4 Bruno P. 2024-03-29 17:11:21 UTC
*** Bug 483656 has been marked as a duplicate of this bug. ***
Comment 5 Bruno P. 2024-03-29 17:11:42 UTC
*** Bug 484232 has been marked as a duplicate of this bug. ***
Comment 6 Timothy B 2024-04-03 13:17:38 UTC
This started happening to me since I upgraded to Plasma 6 and KDE Gear 24.02, and the workarounds mentioned in the initial comment work perfectly on my end. But then again, the issue returns the next time I relaunch Akegrator or when it autostarts at login.

Also, given the number of duplicates we have linked to this report so far, I think it's safe to say that this bug should be marked as confirmed.
Comment 7 Christophe Marin 2024-04-08 10:25:05 UTC
If you still have this issue can you retry once your distro provides Qt 6.7.0.  Some related changes were pushed (https://bugreports.qt.io/browse/QTBUG-121398 for the details)
Comment 8 Philippe ROUBACH 2024-04-11 11:24:52 UTC
problem still there with qt 6.7
Comment 9 evil-god 2024-05-27 17:14:07 UTC
problem still there with qt 6.7.1
Comment 10 Philippe ROUBACH 2024-05-30 06:32:31 UTC
Problem fixed with akregator.

Problem still there with kmail icon. Clicking the icon does not display kontact.
Comment 11 Timothy B 2024-08-28 20:00:39 UTC
Still reproducible with Akregator 24.08.0
Comment 12 Richard Homonnai 2024-09-07 17:49:28 UTC
Just switched to Plasma 6 on Gentoo. Kmail/Kontact is unusable now.

Problem still persists with Qt 6.7.2
Comment 13 Philippe ROUBACH 2024-09-10 11:35:34 UTC
I made this experiment about kmail icon in the systray.

I made a clean installation of openSUSE Tumbleweed.

In kmail
- I add an identity and its input account and output account.
- I check that clicking the kmail icon on the systray opens the kontact window.
Then
- I add a second identity and its output and input account.
- I check that clicking the kmail icon on the systray does open the kontact window.
Comment 14 Ray 2024-12-17 12:37:04 UTC
*** Bug 487025 has been marked as a duplicate of this bug. ***
Comment 15 Ray 2024-12-17 12:40:32 UTC
clicking kmals systray icon gives:
kf.windowsystem: KWindowInfo is only functional when running on X11
kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on X11
Comment 16 Ray 2024-12-17 12:50:28 UTC
for some reason systrayicon works for kmail but not for kontact
Comment 17 Grósz Dániel 2024-12-17 13:14:25 UTC
(In reply to Ray from comment #15)
> clicking kmals systray icon gives:
> kf.windowsystem: KWindowInfo is only functional when running on X11
> kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on
> X11

Clicking the Mail systray icon doesn't restore Kontact on X11 either for me. (It does activate the window if it's already open.)

Also, the Akregator systray icon does work to restore it on X11 whether it's running as a standalone application or as part of Kontact; the KMail systray icon works if it's a standalone app but not as part of Kontact.

Are we sure this is actually the same  Bug 487025, which has just been marked as a duplicate of it? This bug has originally reported for Akregator, which works for me (on X11) either standalone or via Kontact.