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

            Bug ID: 397337
           Summary: LXQt developers point to a possible bug in Breeze
           Product: Breeze
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: chimak...@gmail.com
  Target Milestone: ---

I came across Panel buttons are cut off on both sides with breeze theme #1525
(https://github.com/lxqt/lxqt/issues/1525). In a comment
(https://github.com/lxqt/lxqt/issues/1525#issuecomment-406907067), one of the
LXQt members closed the issue with "If someone is willing to report the issue
to the KDE bug tracker, he/she could quote this comment."

To quote partially from the comment: "Every style should be prepared for cases
where there isn't enough space for a widget's contents. Breeze isn't, in this
case. The following piece of code, inside breezestyle.cpp →
Style::drawToolButtonLabelControl, is wrong:"

And: "Other widget styles put the icon at the left side of the real rectangle
(with some spacing) and draw the text after it, so that if the button width
isn't enough for it, the text will be cut (Kvantum even elides the text in such
cases). We've added a simple code for the task-button, so that the text will be
elided with all styles as far as possible. However, KDE didn't deal with such a
scenario in Oxygen's code and the problem is inherited by Breeze."

I don't know anything about Breeze internals but I hope this will be useful
information for Breeze developers.

Thanks!

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

Reply via email to