Bug 160799

Summary: Input has no limitations causing kcalc to increase it's size automatically without the real need
Product: [Applications] kcalc Reporter: Vladislav Kolesnik <konklav>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED FIXED    
Severity: wishlist CC: david, gabriel.barrantes.dev
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Reproduction of bug

Description Vladislav Kolesnik 2008-04-13 19:41:47 UTC
Version:            (using KDE 4.0.3)
Installed from:    Unlisted Binary Package
OS:                Linux

You can type a very long number, causing kcalc to resize. It resizes even when there is no space left on the screen, getting out of borders. No one will really ever use and type in such big numbers, though some considerable limitations required.
Comment 1 David Johnson 2008-12-17 05:40:05 UTC
Unable to reproduce.
Comment 2 Vladislav Kolesnik 2008-12-18 08:10:53 UTC
Created attachment 29405 [details]
Reproduction of bug
Comment 3 Vladislav Kolesnik 2008-12-18 08:12:53 UTC
KCalc version 2.3 KDE 4.1.3 Debian/Experimental. Now the behaviour has changed, that is true. However, it is not yet good to use. Now when input is too long the application will not resize automatically, that is true, but all the numbers in the input will go outside the border of the calculator so you will not be able to see the numbers typed first. A screenshot is attached. There was 28 numbers, shown only part.
Comment 4 David Johnson 2008-12-19 06:24:29 UTC
What should be the best solution? A "scrollable" display, or limit user input, or both?
Comment 5 Vladislav Kolesnik 2008-12-19 13:04:48 UTC
Both, I think. Because "unlimited" input is not needed in simple applications, however it is not bad if input is bigger than actual field, as long as information can be reached using cursor keys, Home and End.
Comment 6 Justin Zobel 2021-03-09 03:53:45 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 7 Gabriel Barrantes 2024-04-05 23:26:34 UTC
Current input display doesn't trigger resize, can be closed per https://invent.kde.org/utilities/kcalc/-/merge_requests/67