Bug 477189

Summary: the input area flickers when you click on it. Light theme
Product: [Applications] kcalc Reporter: Solomon <zuev.solomon2017>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: gabriel.barrantes.dev, nicolas.pomarede, popov895
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Solomon 2023-11-18 14:57:55 UTC
SUMMARY
 The input area flickers when you click on it. Light theme (Breeze)

STEPS TO REPRODUCE
1.  Open the KCalc app
2. Click on the input area

OBSERVED RESULT
it flickers

EXPECTED RESULT
it should not flicker

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ALT Workstation K 10.2 (Sorbaronia Mitschurinii)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.10
Comment 1 Nicolas Pomarede 2023-12-01 10:12:34 UTC
similar problem here. when I press keyboard shortcut for kcalc it opens and the bit fields immediately flickers (it's like the 2 bits line were cleared/redrawn in a loop).
just moving the kcalc window by a few pixels or resizing it a little stops the flickering.

This is with kcalc 23.08.1 and qt 5.15, running under mageia cauldron, using X11 and nvidia driver.
flicker exists since several months

Seems related to https://bugs.kde.org/show_bug.cgi?id=453775
Comment 2 Gabriel Barrantes 2024-04-05 23:02:07 UTC
Seems fixed in Plasma 6, can you guys update and check?
Comment 3 popov895 2024-06-19 13:07:21 UTC
This is intentional to show that the display field has been clicked. See https://invent.kde.org/utilities/kcalc/-/blob/f5ad2e0f50192d48848fac67095d999230dd33f5/kcalc_display.cpp#L310
Comment 4 Gabriel Barrantes 2024-09-03 00:46:03 UTC
closing per @popov895 feedback.