https://bugs.kde.org/show_bug.cgi?id=460689

            Bug ID: 460689
           Summary: Toolbar buttons have different fonts applied
    Classification: Applications
           Product: Spectacle
           Version: 22.08.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: jsflo....@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 153015
  --> https://bugs.kde.org/attachment.cgi?id=153015&action=edit
Bug

After changing the font system settings (Manjaro), it looks like the buttons on
the main screen of Spectacle have different fonts/styles applied. 


STEPS TO REPRODUCE
1. Go to System Settings (Manjaro) -> Appearance -> Fonts
2. Change General font to a different size (different from Toolbar)
3. Open Spectacle
4. Notice the random styles of buttons

OBSERVED RESULT
Buttons on the bottom row are different sizes

EXPECTED RESULT
Same look for bottom row buttons

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15-74-3-MANJARO
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
This is on Spectacle 22.08.1 and on the master branch
(1ee8d43a5ce0b2122610e9184bfa43397d9f6be3 - Oct 16,2022).

These buttons are of these types:
* `QToolButton`: configure, annotate, copy, save
* `QPushButton`: tools, export
* `QDialogButtonBox`: Help

It looks like `QToolButton` follows the "Toolbar" font and (`QPushButton` and 
`QDialogButtonBox`) follow the "General" font setting. 


I couldn't figure out how to make all of them use the same font (even though
there is a `setFont` and `font()`) but I also looked at potentially making the
`QToolButton`s into `QPushButton`s but `QPushButton`'s don't support having a
menu and a default action like is needed for the "Save As" button or "Copy
Image to Clipboard" button. I think it's possible to make everything a
`QToolButton` but it would mean recreating the help menu used in the "Help"
button (the others are more straight forward to covert).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to