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

Button highlight doesn't respect rounded corners #8806

Closed
2 tasks done
claell opened this issue May 16, 2022 · 7 comments · Fixed by #9320
Closed
2 tasks done

Button highlight doesn't respect rounded corners #8806

claell opened this issue May 16, 2022 · 7 comments · Fixed by #9320
Assignees
Labels

Comments

@claell
Copy link
Contributor

claell commented May 16, 2022

JabRef version

5.6 (latest release)

Operating system

Windows

Details on version and operating system

Windows 10

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Use JabRef
  2. Open a dialog with a button
  3. Highlighted buttons (left on the screenshot) or hovered ones (right on the screenshot) show sharp corners.

Appendix

Problem marked in yellow.
grafik

@ThiloteE
Copy link
Member

Please explain your rationale for suggesting rounded corners. E.g.: Does it fix a bug or is it more about fashion?

@ThiloteE ThiloteE added the ui label May 16, 2022
@claell
Copy link
Contributor Author

claell commented May 16, 2022

The buttons are rounded normally, already. Only on highlight, that isn't respected. Default:
grafik

@ThiloteE
Copy link
Member

ThiloteE commented May 17, 2022

@claell are you sure you want to leave this open? Currently there are more issues than pull requests and more issues than developers can fix. Since that is so, I would suggest fixing this during one of the larger reworks of the UI. For example, when replacing JavaFX with something else. I get that fixing this would make JabRef more beautiful, but there are so many other issues open that deserve working on and solving this issue does not really change anything when working with JabRef apart from that tiny little "feeling of satisfaction" you get when looking at rounded corners...
I would argue, most people will not even notice.

@claell
Copy link
Contributor Author

claell commented May 17, 2022

Speaking for me, I got slightly annoyed by it. Since this is an issue, I suggest leaving it open, priority can be set accordingly. Possibly it is also not that hard to fix.

@claell
Copy link
Contributor Author

claell commented May 17, 2022

Seems as this can be fixed in here:

-fx-border-radius: 4px;

Adding -fx-background-radius: 4px; there solves the issue, but creates some probably unwanted side effects. Also, I ideally want to set the radius to the same value as -fx-border-radius, but that didn't work quickly when I tried that.

@june-hong
Copy link
Contributor

Hi, could I be able to work on this issue if nobody is working on it?

@claell
Copy link
Contributor Author

claell commented Oct 19, 2022

@june-hong yes, that'd be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants