Summary: | bits view is painted improperly until window resized | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | Nick Korotysh <tevute56> |
Component: | general | Assignee: | Evan Teran <evan.teran> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | gabriel.barrantes.dev |
Priority: | NOR | ||
Version: | 23.04.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
bits view is painted improperly
possible fix |
Created attachment 160348 [details]
possible fix
Not quite the same issue but the fix would be the same. *** This bug has been marked as a duplicate of bug 453775 *** |
Created attachment 160347 [details] 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.