Skip to content

Convert Preferences and About window to dialogs #3722

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

Merged
merged 7 commits into from
Jan 22, 2025
Merged

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jan 16, 2025

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

The window buttons are placed wrongly if you want to put window button in the top left.

Issue Number: N/A

What is the new behavior?

Preferences, Shortcuts, and About window have been updated to dialogs.
Added a few tweaks to the main window header bars.

image

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the python Pull requests that update Python code label Jan 16, 2025
@amolenaar amolenaar changed the title Set the right properties on the main window header bar Convert Preferences and About window to dialogs Jan 16, 2025
@danyeaw danyeaw added chore Maintenance related PR and removed python Pull requests that update Python code labels Jan 16, 2025
@github-actions github-actions bot added the python Pull requests that update Python code label Jan 17, 2025
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

Hi @amolenaar, these changes look great! I saw on your todo to get the keyboard preferences updated as well. Should that be a separate PR?

Now it looks similar to the about and preferences dialog.
@amolenaar
Copy link
Member Author

amolenaar commented Jan 19, 2025

Keyboard shortcuts have been added now. It was a bit of work, since libadwaita provides no default type for this.

@danyeaw
Copy link
Member

danyeaw commented Jan 20, 2025

Hi @amolenaar, this changes look great!

I noticed if you open the keyboard shortcuts from the greeter, then the size is constrained to a little smaller than the window which makes the size a bit awkward, and you have to use horizontal scroll to see everything.

image

Should we resize the greeter a bit to compensate?

@amolenaar
Copy link
Member Author

@danyeaw I made the greeter window higher, so the keyboard shortcuts dialog fits.

@danyeaw danyeaw merged commit e64a9d2 into main Jan 22, 2025
24 checks passed
@danyeaw danyeaw deleted the fix-header-bar branch January 22, 2025 18:35
@danyeaw
Copy link
Member

danyeaw commented Jan 22, 2025

Thanks @amolenaar, that looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants