Bug 494207 - Layout issues of resized Kcalc window
Summary: Layout issues of resized Kcalc window
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gabriel Barrantes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-06 12:09 UTC by SeeLook
Modified: 2025-04-26 21:18 UTC (History)
2 users (show)

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


Attachments
Launch after resize (53.30 KB, image/png)
2024-10-06 12:09 UTC, SeeLook
Details
screenshot of version 25.04.0 (101.66 KB, image/png)
2025-04-26 21:18 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SeeLook 2024-10-06 12:09:43 UTC
Created attachment 174480 [details]
Launch after resize

SUMMARY
When Kcalc window was resized and closed then after next start UI elements are wrongly scaled/located (bits buttons) and button font is not yet adjusted

STEPS TO REPRODUCE
1. Launch Kcalc
2. Resize window
3. Close the app
4. Launch it again

OBSERVED RESULT
  attachment 1 [details]

Text/letters on the buttons are not yet resized, not all bit buttons are visible.

EXPECTED RESULT
Fit available window size properly


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series
Comment 1 Bug Janitor Service 2024-10-15 19:06:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/162
Comment 2 Bug Janitor Service 2024-12-18 15:51:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/169
Comment 3 Gabriel Barrantes 2025-01-28 03:44:58 UTC
Git commit b706373ef6e819173d6aea45bf137c425054c12f by Gabriel Barrantes.
Committed on 28/01/2025 at 03:18.
Pushed by gabrielbarrantes into branch 'master'.

Calculate max size when creating bit edit

This assures that the bit edit size is the maximum intended on app
launching.

M  +2    -0    kcalc_bitset.cpp

https://invent.kde.org/utilities/kcalc/-/commit/b706373ef6e819173d6aea45bf137c425054c12f
Comment 4 Patrick Silva 2025-04-20 11:39:38 UTC
This bug persists with kcalc 25.04.0-1.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 5 Gabriel Barrantes 2025-04-26 20:51:30 UTC
(In reply to Patrick Silva from comment #4)
> This bug persists with kcalc 25.04.0-1.
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 6.3.4
> KDE Frameworks Version: 6.12.0
> Qt Version: 6.9.0
> Graphics Platform: Wayland

Can you share a screenshot?
Comment 6 Patrick Silva 2025-04-26 21:18:46 UTC
Created attachment 180692 [details]
screenshot of version 25.04.0