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

            Bug ID: 472344
           Summary: bits view is painted improperly until window resized
    Classification: Applications
           Product: kcalc
           Version: 23.04.3
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: ete...@alum.rit.edu
          Reporter: tevut...@mail.ru
  Target Milestone: ---

Created attachment 160347
  --> https://bugs.kde.org/attachment.cgi?id=160347&action=edit
bits view is painted improperly

SUMMARY
content of bits view looks truncated on app startup (see attached screenshot),
window resize fixes it

STEPS TO REPRODUCE
1. open application in "Simple Mode" (default)
2. switch to "Numerical System Mode"
3. close the application
4. open application again

OBSERVED RESULT
content of bits view is truncated on the right side

EXPECTED RESULT
bits view should be painted correctly, as after switching modes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux/X11
KDE Plasma Version:  5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
seems that problem in custom button implementation used in this view - it
doesn't provide sizeHint() on which QLayout relies on. possible fix is
attached.

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

Reply via email to