Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show tabswitcher if window is empty #582

Merged
merged 1 commit into from
May 30, 2024

Conversation

samlane-ma
Copy link
Contributor

Description

When pressing Alt-Tab with no active windows, the tabswitcher window still appears. No icons are displayed and the window title is either blank, or the last window selected via alt-tab. It appears this is due to the window being set to show on the keypress regardless of the number of active children.

This PR would address this by making the "get_visible_children" public so the DBus function can check if there are items in the tabswitcher window before showing the window. Since this function already takes into consideration the "Show all windows in tab switcher" setting in BDS, it ensures the tab switcher will still work correctly with this setting on or off.

Closes #578

Submitter Checklist

  • Squashed commits with git rebase -i (if needed)
  • Built budgie-desktop and verified that the patch worked (if needed)

@JoshStrobl JoshStrobl self-requested a review May 30, 2024 11:25
Copy link
Member

@JoshStrobl JoshStrobl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@JoshStrobl JoshStrobl merged commit 3492146 into BuddiesOfBudgie:main May 30, 2024
1 check passed
@JoshStrobl JoshStrobl added this to the 10.10 milestone Jun 3, 2024
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.

[Bug] Alt-Tab with no windows open shows a popup box
2 participants