Skip to content

Fix notification history tab highlight desync after mouse click#2320

Open
tibssy wants to merge 1 commit intonoctalia-dev:mainfrom
tibssy:fix/notificaion-history-navigation
Open

Fix notification history tab highlight desync after mouse click#2320
tibssy wants to merge 1 commit intonoctalia-dev:mainfrom
tibssy:fix/notificaion-history-navigation

Conversation

@tibssy
Copy link
Copy Markdown
Contributor

@tibssy tibssy commented Mar 27, 2026

Pull Request

Motivation

This change fixes a state synchronization issue in the notification history filter tabs where clicking a tab with the mouse could break the visual active-tab indicator during keyboard Tab navigation. The content filter was still updating correctly, but the highlighted tab didn't reflect the current range.

Type of Change

Mark the relevant option with an "x".

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring

Related Issue

  • Closes #(issue number) (if any)

Testing

Describe how you tested your changes and mark the relevant items.

  • Tested on niri
  • Tested on Hyprland
  • Tested on sway
  • Tested with different bar positions and density settings
  • Tested at different interface scaling values
  • Tested with multiple monitors (if applicable)

Screenshots / Videos

If applicable, include screenshots or videos to help illustrate your changes.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my code
  • No new warnings or errors
  • Documentation or comments updated (if relevant)

Additional Notes

to reproduce the issue:

  1. open Notification History
  2. click any range tab (for example “Yesterday”) with the mouse
  3. then press Tab to cycle ranges

The list content changes, but the highlighted tab indicator does not update accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant