prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
7.75k stars 907 forks source link

[Bug]: dolphin background won't follow the theme #1843

Closed Raze4284 closed 1 week ago

Raze4284 commented 2 months ago

After fresh installing endeavourOS i installed hyprdots and seems like my dolphin got problems Idk why it white, i patched themes image

kRHYME7 commented 2 months ago

Let's just wait (few months) for official documentation from KDe. They love breaking changes lol.

Raze4284 commented 2 months ago

Let's just wait (few months) for official documentation from KDe. They love breaking changes lol. Thank you.. Its hopeful :_)

Raze4284 commented 2 months ago

Let's just wait (few months) for official documentation from KDe. They love breaking changes lol.

Btw what i can do now?

kRHYME7 commented 2 months ago

I'm using thunar or nemo as of the moment, as long as you don't have extra usecase for dolphin.

openwick commented 2 months ago

I have KDE installed alongside hyprland and going into kde and setting global theme to dark makes dolphin look normal. Dont know why but u can use it for now I guess

kRHYME7 commented 2 months ago

I have KDE installed alongside hyprland and going into kde and setting global theme to dark makes dolphin look normal. Dont know why but u can use it for now I guess

Can you share some "suspicious" files where might kde write the color state for dolphin? I only knew the icons are in kdeglobals.

openwick commented 2 months ago

Can you share some "suspicious" files where might kde write the color state for dolphin? I only knew the icons are in kdeglobals.

I don't know what files KDE is overwriting. Never themed KDE properly. Maybe some thing in /usr/share/plasma/desktoptheme/ ?

Melk0rr commented 2 months ago

Hello, having the same issue. As a temporary fix that worked for me: According to arch wiki

So i just added a dcol file to run the following

${scrDir}/wallbashkdeglobals.sh|${scrDir}/wallbashkdeglobals.sh
#!/usr/bin/env sh

sed -i "/^BackgroundNormal=/c\BackgroundNormal=#<wallbash_pry1>" "$HOME/.config/kdeglobals"
kRHYME7 commented 2 months ago

@Melk0rr Hmm is Dolphin kde moving their configs to Kdeglobals now?.

Melk0rr commented 2 months ago

Honestly I don't know what they're doing but it seems there is work going on on kde's end to try and solve their theming mess cf. Brodie.

The dolphin bg issue seems to be recurrent, as the wiki mentioned it. But it also states that one could use kvantum to manage qt6 theming. However, here it does not solve the problem.

So yeah , I don't know how to address the issue properly here

Melk0rr commented 2 months ago

Found a kdeglobals exemple.

kRHYME7 commented 2 months ago

Wow, how do you make thunar look like dolphin. Didn't know we can move the panel to the right in thunar.

kRHYME7 commented 1 month ago

Hi everyone,

Can you check if this env vars can potentially resolve the issue of dolphin? image

kRHYME7 commented 1 month ago

reference here https://github.com/prasanthrangan/hyprdots/issues/1778

ArctynFox commented 1 month ago

In response to https://github.com/prasanthrangan/hyprdots/issues/1778#issuecomment-2403791889 My wallbash is set to auto: image

kRHYME7 commented 1 month ago

@thyeun

Explain further, during fresh installation, the dolphin version is old version, and once it been install, it will cache in the setting, and if the cache setting are not clear out after the new version been install, when qt env change to kdeglobals.

old version is using qt env new version is using kdeglobals

How can I potentially clear it out?

thyeun commented 1 month ago

You have to restart the plasma-dolphin service daemon to clear it, but i'm not sure latest upgrade still using that daemon or not.

/usr/lib/systemd/user/plasma-dolphin.service

kRHYME7 commented 1 month ago

It's not running on my end and I also can't enable it

thyeun commented 1 month ago

Dolphin got a new update 2.08.2-1

The service sound like no more working.

kRHYME7 commented 1 month ago

Dolphin got a new update 2.08.2-1

And resizing on dolphin excibits some stutter specially if the background is transparent.

Melk0rr commented 1 month ago

Since last update I have yet another appearance: screenshot_20241017_11h23m17s

Top bar and view background colors are ignoring qt5ct, qt6ct, kvantum and even kdeglobals

chrollorifat commented 1 month ago

At this point, what do we even do?

kRHYME7 commented 1 month ago

I can't really repro those issues as my dolphin is working fine. Maybe wait for dolphin to settle down it's breaking changes.

SushiByte-beep commented 1 month ago

I found that by playing around with the KDE system themes that i can toggle dolphin between 2 modes. Interesting to note that editing the KDE themes does not actually affect the applied theme much further.

Either everything looks normal theming wise but i suffer many glitches and flickering

Or Performance is top notch and the background is washed out white like in picture of OP.

kRHYME7 commented 1 month ago

i can toggle dolphin between 2 modes

I'm intrigued by this. How to do it. Is it in the Plasma GUI?

SushiByte-beep commented 1 month ago

I'm intrigued by this. How to do it. Is it in the Plasma GUI?

I have kde plasma installed and run kde system settings from within hyprdots. There i go to themes.

Global theme seems to have no effect, icon style works like it appears.

Application style is what appears to toggle between the 2 variations. The default KDE "breeze" and the Ms windows theme have the stable performance with white background.

All other application styles i tried have the correct dark background at the expense of stability.

kRHYME7 commented 1 month ago

Application style is what appears to toggle between the 2 variations. The default KDE "breeze" and the Ms windows theme have the stable performance with white background.

I will try to look into this one. I assume variations means like themes right?

I really want to try to replicate OPs issue but dolphin works ~perfectly~ as expected on my end.

SushiByte-beep commented 1 month ago

I assume variations means like themes right?

The theme applied visually remains to be the one i chose from Hyde actually. The only things changing are the background. some very minor gui details (like the status bar i have enabled) and the performance.

The default breeze theme and the MS windows theme appear identical to each-other, any edits i save separately also appear identical. I have found no explanation as to what it that causes the difference.

Is it possible that different application styles in KDE uses different methods to save their paramters? It was my understanding they recently switched to storing some settings in kdeglobals. But maybe that is not enforced on older and custom themes?

kRHYME7 commented 1 month ago

Is it possible that different application styles in KDE uses different methods

yup kde has couple of ways in there theming which is too confusing to know which is which.

But I would love to know what file is change. Is it only the kedglobals ? If so it's dumb if only dolphin relies on that file. Can you also check if dolphinrc can be use to theme?

image

kRHYME7 commented 1 month ago

Okay! I can confirm that we can use dolphinrc to handle Icons. But I would still prefer to use kdeglobals to handle the default terminal and icons.

Moving forward, I think we can use dolphinrc to handle dolphin colors. I hate touching the kdeglobals (as well as dolphinrc) but if this is used to theme dolphin without touching kdeglobals then we have no other choice. Konsole terminal also can be themed in konsolerc.

Now I'm wondering if these *rc files can handle includes like the ones in ~/.gtkrc-2.0 file So we can just make a separate file specific for hyDE without touching any user spsecific files e.g dolphinrc and kdeglobals. image

fr0st-iwnl commented 3 weeks ago

I had the same problem, and what worked for me was downgrading Dolphin to an older version. Just install the 'downgrade' tool (sudo pacman -S downgrade), then run sudo downgrade dolphin and try a few of the older versions. It’s a weird issue, but this did the trick for me!

chrollorifat commented 3 weeks ago

kde has made dolphin too much depended on the other kde modules and stuff which makes it really hard to work with dolphin on DEs/WMs other than KDE's own ecosystem.

Melk0rr commented 3 weeks ago

Downgrading a package should always be something temporary. It is not a good practice. Actually, dolphin looks as expected now on my end. What I did was :

thyeun commented 3 weeks ago

@Melk0rr clear cache and everything reload/reinstall back, some how are not workable for certain user here, as per mentioned here.

@chrollorifat KDE always have a different way of doing things, some years ago, they using QT and some years now they using KDEglobals, and maybe some year later, they ignore both. :))

kRHYME7 commented 3 weeks ago

using KDEglobals, and maybe some year later, they ignore both. :))

We can also use dolphinrc to isolate the colors for dolphin only. Works for background but how about the dark text even on dark mode? You got some idea in there?

thyeun commented 3 weeks ago

The text previously control by kvantum but after the recent few times of update, it look like not that case any more.

Really need someone from KDE side to explain, what been remain, and what been remove.

We look like try and error here (very pity to you @kRHYME7 )

chrollorifat commented 3 weeks ago

btw, a bit off topic from this issue, but are we going to implement hydegallery or hyprpanel in the future? or are we totally abandoning even the notion of it?

kRHYME7 commented 3 weeks ago

btw, a bit off topic from this issue, but are we going to implement hydegallery or hyprpanel in the future? or are we totally abandoning even the notion of it?

https://github.com/HyDE-Project/hyde-gallery ? https://github.com/HyDE-Project/HyprPanel ?

WDYM?

After having this configs we can write an extension manager for HyDe for easy installation. It's still on wip though as I'm trying to write it in GO. (I can finish it using bash but this might be hard to maintain and contribute. )

thyeun commented 3 weeks ago

Both also i pass :)) that panel ugly, if compare with ags .

kRHYME7 commented 3 weeks ago

compare with ags .

hyprpanel is implemted using ags.

thyeun commented 3 weeks ago

i already pass ags, that why i pass also.

kRHYME7 commented 3 weeks ago

@ Hello anyone here still got the Background issue? can you try to add this to your ~/.config/dolphinrc (remove it first in the kdeglobals) first then restart dolphin. Check if the background changes.

 [Colors:View]
BackgroundNormal=#ff00ff

If not try it in ~/.config/kdeglobals

SushiByte-beep commented 3 weeks ago

@ Hello anyone here still got the Background issue? can you try to add this to your ~/.config/dolphinrc (remove it first in the kdeglobals) first then restart dolphin. Check if the background changes. If not try it in ~/.config/kdeglobals

I have tried both and neither file seems to have any effect. I have also tried copying your kdeglobals above entirely, also to no effect.

weird thing though since #1977 the font on my screen actually appears fixed (full black on white) which makes no sense to me but is a lot more useable. It used to be similar to the screenshot posted by op where the theme font colours are still applied. Maybe these issues are related?

kRHYME7 commented 3 weeks ago

@SushiByte-beep Can you show us some screenshots with dolphin on light theme (Material Sakura) and dark (Catppuccin Mocha)

SushiByte-beep commented 3 weeks ago

@SushiByte-beep Can you show us some screenshots with dolphin on light theme (Material Sakura) and dark (Catppuccin Mocha)

Mocha, Sakura and Gruvbox in a different viewmode. Changing modes (dark/light/auto/theme) made no different for dolphin.

dark lighttt grub

kRHYME7 commented 3 weeks ago

uhm did you restart dolphin across the theme change?

SushiByte-beep commented 3 weeks ago

uhm did you restart dolphin across the theme change?

Every time.

I also made a screenshot of how it looks with other KDE themes using kde system settings, which appears similarly glitched.

With these (kvantum, kvantum-dark, q5tc, q6tc) i have horrible flicker not seen in the screenshot rendering them unusable. but the background does apply correctly, alt color for list view does not and the font is broken like in #1977

quantum

The screenshots in my previous comment are identical for the breeze, fusion and Ms win theme.

SushiByte-beep commented 3 weeks ago

OK so i removed dolphin and plasma completely in order to reinstall them and learned some things.

The first thing i noticed upon installing just dolphin is that by default, it is like the screenshot in my latest comment where the background mostly works but the font and list view are broken. The flicker appears to be gone.

When i install plasma, its breeze theme takes over and the background changes to white for all themes. From that point the behaviour is a toggle between 2 modes as explained above.

I suppose the fix for this issue is if you install KDE plasma together with hyprland, you have to change the application theme back. But as for now this bug also acts as a temporary workaround to the font and list view not working.

kRHYME7 commented 3 weeks ago

For cases like this it's better to find out which themes dolphin. Can you check kdeglobals if the file changes when switching modes?

SushiByte-beep commented 3 weeks ago

It seems for all themes its both kdglobals and dolphinrc but only for some settings.

What i did was remove both file contents before restarting dolphin with each theme.

kdeglobls only appears to save what icon pack is selected (in kde system settings) and the theme that is selected.

[Icons]
Theme=Gruvbox-Plus-Dark

[KDE]
widgetStyle=qt6ct-style

Dolphinrc always go back to this

[General]
Version=202
ViewPropsTimestamp=2024,11,13,15,37,47.626

[KFileDialog Settings]
Places Icons Auto-resize=false
Places Icons Static Size=22

[MainWindow]
ToolBarsMovable=Disabled

[MainWindow][Toolbar mainToolBar]
IconSize=16
ToolButtonStyle=IconOnly

I assume there must be yet another file that does store the colour values, i will keep looking but i am at a loss for where.