[BUG] Attempting to open a tab omitted from Control Center Tabs settings opens Control Center
Submission checklist
- [x] I have searched existing issues and confirmed this is not a duplicate.
- [x] I am using the latest available version of Noctalia.
Bug description
Attempting to open a tab that has been omitted from Control Center settings here (Control Center -> Control Center Tabs):
Opens a version of the Control Center without tabs instead.
Steps to reproduce
- Open the settings
- Navigate to Control Center
- Within Control Center settings, navigate to Control Center Tabs
- Disable the Notifications Tab
- Attempt to open the Notifications panel either via either
noctalia msg panel-open control-center notifications, the bar notification widget or the Control Center home shortcut. - Observe a version of the Control Center without tabs being opened instead
Video version:
https://github.com/user-attachments/assets/4f59f996-2143-4261-8a74-ef4224738b11
Expected behavior
The notification tab opens
https://github.com/user-attachments/assets/587b5554-8208-4287-adee-5979fa842812
Actual behavior
A version of the Control Center without tabs opens
https://github.com/user-attachments/assets/6faa3c14-c9ca-48b0-8c11-ded8f4558b43
Logs / error output
Noctalia version
73e498510e6f134b038a1c399bfe18e4e807102a
Compositor
Niri
Distribution
NixOS
Environment information
Built and installed via the repository's own flake at the mentioned commit.
Additional context
No response
I should have fixed it. Please apply this patch and give it a try. It works as expected in my environment — when the notification window is set to be invoked, it opens the "Notifications" section in Control Center instead of the Home page.
@Qaaxaap Sorry for not testing it! I meant to, but I ended up forgetting. Thanks for fixing it.