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

Shortcuts for menu bar and tabs, toolbar items and remove exit from toolbar #1137

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

TheTimeWalker
Copy link
Contributor

@TheTimeWalker TheTimeWalker commented Mar 9, 2021

Adds accelerator keys to the menu bars and tabs in the settings screen. Most of the toolbar buttons now also have shortcut keys for easier keyboard access. This also removes the exit button from the toolbar and changes the shortcut to the more standard CTRL + Q instead of CTRL + W which is often used for closing tabs

Closes #1104, closes #172

@TheTimeWalker TheTimeWalker changed the title Accelerator keys for menu bar and tabs, shortcuts for toolbar items Shortcuts for menu bar and tabs, toolbar items and remove exit from toolbar Mar 9, 2021
@buhtz
Copy link
Member

buhtz commented Sep 6, 2022

Sorry for the late answer and thanks for your PR.

@emtiu I vote for merge (incl. #1104 and #172). Small code modifications regarding the UI.

@emtiu
Copy link
Member

emtiu commented Sep 6, 2022

Thanks! I like the added accelerator keys, and I especially enjoy closing an issue as old as #172 ;)

But I have one reservation about this last change: I have gotten very used to closing BackInTime through the Quit button, you could say it's in my muscle memory by now.

If the button is removed, anyone like me will press the "Shutdown after the snapshot has finished" button instead, and this might have unintended consequences (at worst, the system shuts down when you don't want it to).

What do you think?

@buhtz
Copy link
Member

buhtz commented Sep 6, 2022

I agree to you with the close Button. It doesn't hurt anyone when the button stays where it is.

We can take care of that when we do a bigger redesign of the UI (someday 😄 ).

Technically I don't know what would be the next steps if the opener @TheTimeWalker won't do a new commit. You are "Mr. Rights" here.

@TheTimeWalker
Copy link
Contributor Author

This is how it looks like for KDE users:

image

The "Exit" button looks like a normal cancel/close button. I personally have to specifically remind myself to not push that button and I can think that people new to using the tool probably get confused by that button as well since it's against any guidelines and no other tool does that.

@emtiu
Copy link
Member

emtiu commented Sep 6, 2022

This is how it looks like for KDE users:

image

The "Exit" button looks like a normal cancel/close button. I personally have to specifically remind myself to not push that button and I can think that people new to using the tool probably get confused by that button as well since it's against any guidelines and no other tool does that.

You're right, it doesn't even look like an "Exit this window" button. Combined with the fact that ⏸ (pause) and ⏹ (stop) buttons appear at the left end of the toolbar when a snapshot is being taken, this is rather confusing.

I'll just have to re-train my muscle memory ;)

Also: If somebody did mistakenly push the "Shutdown after snapshot" button when they actually meant to just close the window, it wouldn't immediately do anything, but just visibly toggle the setting. Chances are rather slim that this would happen right in the instant before a snapshot is finished, leading to an unwanted shutdown. (And this is the comment everyone can angrily link to when that inevitably does happen and is reported as a bug ;))

@emtiu emtiu merged commit bcf4b90 into bit-team:master Sep 6, 2022
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.

Menus do not support accelerator keys Do not show a Quit button on the toolbar
3 participants