**Steps to reproduce:** 1. Add the standard Activity Bar widget to a panel. 2. Restart `plasma-plasmashell` — the indicator initially appears normal. 3. Click between activities using the Activity Bar. 4. Observe that a second, thin underline appears above the normal active-activity indicator. 5. Switch focus to another application. **Actual result:** Both underlines remain visible even when the Activity Bar is not hovered and another application has keyboard focus. **Expected result:** Only the active-activity indicator should remain visible when the Activity Bar does not have keyboard focus. **Regression:** Started with Plasma 6.8.0. **Possible cause:** The new `visibleFocus` logic in `libplasma`'s `TabButton.qml`, introduced in Plasma 6.8, may be retaining the focus indicator after switching activities. Related change: https://invent.kde.org/plasma/libplasma/-/merge_requests/1584
Created attachment 197208 [details] Double underline
Can reproduce. Activity Bar does some weird things with focus in order to improve keyboard navigation, which cause both this and some general jank in the interaction between the internal tab bar and the highlighting and keyboard navigation you get when you manually focus the panel with a keyboard shortcut. While this mostly has negative effects and we can remove this and generally improve everything, it does handle some interactions that we'll need a better solution for. I'll try to come up with something for 6.8.2.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7258
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7265
Git commit 1882ff0ae40f7fdb86ab7b4b1ada3f837f393cca by Christoph Wolk. Committed on 21/10/2026 at 09:54. Pushed by cwo into branch 'master'. applets/activitybar: fix tab focus and arrow nav Activity Bar forces activeFocus after a button's checked is changed, if the tab bar has activeFocus. This was done to improve arrow key navigation, but now is actively harmful for that - due to the complexity involved here, we can actually get cases where focus and the active indication can go out of sync, and in particular arrow key presses don't actually always move focus (while something happens on screen, screen readers and keyboard-activating the tab button still operate on the old button). It also introduces a visual regression for mouse interaction, as the manual forceActiveFocus interferes with our detection for keyboard interaction (as it tests for the tab bar's activeFocus, not visualFocus, and thus applies during mouse use). We may even end up with having the wrong tab highlighted at the end, as the current activity is not always marked (and when we have two tabs marked, they may move at different animation speeds, which looks very weird). The real problem here is that the tab bar's (internal ListView's) keyboard handling is bad for what we're trying to do here, and completely unnecessary in a panel (which already translates arrow key presses into Tab presses that work much better here). So we just turn that off if we're not on the desktop (which is still a little awkward, but not as bad, as it does not have arrow key navigation between applets). That then allows us to remove the manual focus passing that causes the weird issues and unnecessary focus underlines. FIXED-IN: 6.8.2 M +7 -8 applets/activitybar/qml/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/1882ff0ae40f7fdb86ab7b4b1ada3f837f393cca
Git commit 6f64c049ff352a9c686bb7b701b7035b3a663ddd by Christoph Wolk. Committed on 22/10/2026 at 09:23. Pushed by cwo into branch 'Plasma/6.8'. applets/activitybar: fix tab focus and arrow nav Activity Bar forces activeFocus after a button's checked is changed, if the tab bar has activeFocus. This was done to improve arrow key navigation, but now is actively harmful for that - due to the complexity involved here, we can actually get cases where focus and the active indication can go out of sync, and in particular arrow key presses don't actually always move focus (while something happens on screen, screen readers and keyboard-activating the tab button still operate on the old button). It also introduces a visual regression for mouse interaction, as the manual forceActiveFocus interferes with our detection for keyboard interaction (as it tests for the tab bar's activeFocus, not visualFocus, and thus applies during mouse use). We may even end up with having the wrong tab highlighted at the end, as the current activity is not always marked (and when we have two tabs marked, they may move at different animation speeds, which looks very weird). The real problem here is that the tab bar's (internal ListView's) keyboard handling is bad for what we're trying to do here, and completely unnecessary in a panel (which already translates arrow key presses into Tab presses that work much better here). So we just turn that off if we're not on the desktop (which is still a little awkward, but not as bad, as it does not have arrow key navigation between applets). That then allows us to remove the manual focus passing that causes the weird issues and unnecessary focus underlines. FIXED-IN: 6.8.2 (cherry picked from commit 1882ff0ae40f7fdb86ab7b4b1ada3f837f393cca) Co-authored-by: Christoph Wolk <cwo.kde@posteo.net> M +7 -8 applets/activitybar/qml/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/6f64c049ff352a9c686bb7b701b7035b3a663ddd