Bug 467838 - Weird colouring bug causes selected location in sidebar to become darkened, therefore not following the colour scheme.
Summary: Weird colouring bug causes selected location in sidebar to become darkened, t...
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (show other bugs)
Version: 22.12.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://imgur.com/a/ZOvn8sH
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 02:39 UTC by Logan Turner
Modified: 2023-03-27 19:47 UTC (History)
2 users (show)

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


Attachments
A video showing the issue. (123.87 KB, video/x-matroska)
2023-03-27 02:39 UTC, Logan Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Logan Turner 2023-03-27 02:39:21 UTC
Created attachment 157618 [details]
A video showing the issue.

STEPS TO REPRODUCE
1. Open dolphin
2. Select a location from the sidebar
3. Click on the selected location again. 

OBSERVED RESULT
The selected location does not follow the colour scheme. For a split second, it shows your accent colour before dimming it. When clicking on the selected location again however, it goes back to full brightness.

EXPECTED RESULT
The selected location should follow the rest of the system colour scheme, not showing a darkened version.

SOFTWARE/OS VERSIONS
Arch Linux, KDE Plasma
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Comment 1 Felix Ernst 2023-03-27 19:47:27 UTC
Items that have keyboard focus are supposed to be more visibly highlighted than items that don't have keyboard focus. So the list in the side bar will have a more dimmed highlight effect after being clicked once because the keyboard focus goes to Dolphin's main view then (which in turn gets an accent-coloured frame to signify that it has keyboard focus). When the same list item in the side bar is clicked again after that, it gains the keyboard focus and therefore becomes more bright (i.e. non-dimmed accent-coloured).

You can test it yourself: Whenever the highlight in the sidebar is brighter, using the up and down arrows will move the highlight within that sidebar instead of in Dolphin's main view. When Dolphin's main view has keyboard focus you will see a bright outline around the view.

I know that not all areas of Dolphin clearly highlight themselves when they have keyboard focus, but at least the behaviour you are reporting here seems correct to me.