Bug 457341

Summary: Enabling night color breaks the loading of external systray applets
Product: [Plasma] plasmashell Reporter: Luca <lucamilo123123>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: materka, nicolas.fella
Priority: NOR    
Version: 5.25.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=449984
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: sysctl output

Description Luca 2022-07-31 14:55:38 UTC
SUMMARY
same as the summary.

STEPS TO REPRODUCE
1. Enable night color
2. reboot
3. start any app/service that offer an external systray component

OBSERVED RESULT
The systray component of the app does not load or show

EXPECTED RESULT
The systray component should sow and be usable

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96
Qt Version: 5.15.3
Comment 1 Nicolas Fella 2022-08-01 14:16:29 UTC
Does it show any errors?

Is the kded5 process running?
Comment 2 Nicolas Fella 2022-08-01 14:26:34 UTC
Please attach the output of "systemctl --user status plasma-kded.service"
Comment 3 Luca 2022-08-04 16:21:23 UTC
Created attachment 151112 [details]
sysctl output

output of:
systemctl --user status plasma-kded.service
Comment 4 Bug Janitor Service 2022-08-19 04:35:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Luca 2022-08-25 15:01:22 UTC
(In reply to lucamilo123123 from comment #3)
> Created attachment 151112 [details]
> sysctl output
> 
> output of:
> systemctl --user status plasma-kded.service
Comment 6 Nicolas Fella 2022-08-25 16:05:11 UTC
Do you have a network proxy configured in Systemsettings > Network > Settings > Proxy ?
Comment 7 Luca 2022-08-25 18:46:54 UTC
(In reply to Nicolas Fella from comment #6)
> Do you have a network proxy configured in Systemsettings > Network >
> Settings > Proxy ?

Yeah, I have the automatic detection of proxies enabled, even if, in fact, I don't have any in my networks. So… The option is enabled, but in my everyday use no proxy is actually used. Although the option for automatic detection is enabled.
Comment 8 Nicolas Fella 2022-08-25 18:51:56 UTC
Does changing the setting to "No Proxy" fix the issue?

I think this has the same root cause as https://bugs.kde.org/show_bug.cgi?id=449984
Comment 9 Luca 2022-08-25 19:31:35 UTC
(In reply to Nicolas Fella from comment #8)
> Does changing the setting to "No Proxy" fix the issue?
> 
> I think this has the same root cause as
> https://bugs.kde.org/show_bug.cgi?id=449984

Yeah, thanks a lot!
Comment 10 Nicolas Fella 2022-09-11 23:30:00 UTC
Git commit 98cadd48c21c89b81fdeb3499a557a6551a09d8a by Nicolas Fella.
Committed on 11/09/2022 at 23:21.
Pushed by nicolasfella into branch 'master'.

[dataengines/geolocation] Port from KIO::http_post to QNetworkAccessManager

Not only does this slightly simplify the code, it also avoids a deadlock in kded when automatic proxy detection is enabled
Related: bug 449984

M  +1    -1    dataengines/geolocation/CMakeLists.txt
M  +34   -50   dataengines/geolocation/location_ip.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/98cadd48c21c89b81fdeb3499a557a6551a09d8a
Comment 11 Nicolas Fella 2022-10-11 15:47:23 UTC
Git commit d693026676cc6bf2b7c23e9ff4b620679cf15d10 by Nicolas Fella.
Committed on 11/10/2022 at 15:46.
Pushed by nicolasfella into branch 'Plasma/5.24'.

[dataengines/geolocation] Port from KIO::http_post to QNetworkAccessManager

Not only does this slightly simplify the code, it also avoids a deadlock in kded when automatic proxy detection is enabled
Related: bug 449984
(cherry picked from commit 98cadd48c21c89b81fdeb3499a557a6551a09d8a)

M  +1    -1    dataengines/geolocation/CMakeLists.txt
M  +34   -50   dataengines/geolocation/location_ip.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/d693026676cc6bf2b7c23e9ff4b620679cf15d10