Bug 460038

Summary: kdesu wireshark - dark theme not applied correctly
Product: [Applications] kdesu Reporter: ttv200
Component: kdesudAssignee: kdesu bugs tracker <kdesu-bugs-null>
Status: REOPENED ---    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: wireshark opened with kdesu

Description ttv200 2022-10-06 07:40:44 UTC
Created attachment 152610 [details]
wireshark opened with kdesu

I have dark theme with proper icon dark-theme
But when I launch wireshark with kdesu the app colors are dark and the icons are white-theme (dark icons)
If I launch wireshark with sudo the app colors are white and the icons are white-theme
and without root at all, wireshark is dark with dark theme icons

the version of wireshark that I test are 3.6.8 (qt5) and 4.0 (qt6)
Comment 1 Nicolas Fella 2022-10-06 08:59:15 UTC
This is not a kdesu bug. You are running a program under a different user account, which has none of your appearance settings configured.

Furthermore, you don't need to and should not run Wireshark as root. See https://wiki.archlinux.org/title/wireshark#Capturing_privileges
Comment 2 ttv200 2022-10-06 09:02:10 UTC
(In reply to Nicolas Fella from comment #1)
> This is not a kdesu bug. You are running a program under a different user
> account, which has none of your appearance settings configured.
> 
> Furthermore, you don't need to and should not run Wireshark as root. See
> https://wiki.archlinux.org/title/wireshark#Capturing_privileges

so, why with sudo everything is white and with kdesu the ui is dark and the icons white-theme?