Bug 493967 - Bit editor is partially invisible after program start
Summary: Bit editor is partially invisible after program start
Status: RESOLVED DUPLICATE of bug 453775
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.08.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 13:37 UTC by Ingo van Lil
Modified: 2024-10-02 23:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot with partially invisible bit editor (57.46 KB, image/png)
2024-10-02 13:37 UTC, Ingo van Lil
Details
Screenshot with good layout (after switching modes) (58.55 KB, image/png)
2024-10-02 13:38 UTC, Ingo van Lil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo van Lil 2024-10-02 13:37:58 UTC
Created attachment 174316 [details]
Screenshot with partially invisible bit editor

SUMMARY

The bit editor in Numeral System Mode isn't fully visible right after program start. The rightmost checkboxes (bits 0 and 32) are invisible, along with their labels. This caused me a few moments of confusion.

The behavior varies with the stored window size, but I can reproduce it with the default initial size (640x480 pixes, 200% UI scale for HDPI display).

Switching to a different mode or resizing the window fixes the layout.

STEPS TO REPRODUCE
1. Switch to Numeral System Mode
2. Enable the bit editor
3. Restart the program

OBSERVED RESULT
- Right-most bit checkboxes and their labels aren't visible (see "bad" screenshot).

EXPECTED RESULT
- Bit editor should be fully visible (see "good" screenshot).

SOFTWARE/OS VERSIONS
- OS: Fedora Linux 40
- Desktop: Cinnamon 6.2.9, 200% UI scaling
- QT 4.8.7
- kcalc 24.08.0
Comment 1 Ingo van Lil 2024-10-02 13:38:27 UTC
Created attachment 174317 [details]
Screenshot with good layout (after switching modes)
Comment 2 Gabriel Barrantes 2024-10-02 23:25:13 UTC
(In reply to Ingo van Lil from comment #1)
> Created attachment 174317 [details]
> Screenshot with good layout (after switching modes)

Yes, this component needs a complete refactor, it will happen at some point.
https://invent.kde.org/utilities/kcalc/-/issues/25

*** This bug has been marked as a duplicate of bug 453775 ***