Bug 455728 - Microstutters occur when switching to brushes with names that change statusbar height
Summary: Microstutters occur when switching to brushes with names that change statusba...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Appimage Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-21 15:59 UTC by tomtomtomreportingin
Modified: 2022-09-30 05:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2022-06-21 15:59:12 UTC
5.1.0-prealpha git 82766ef

SUMMARY
If the user selects a brush with a name that causes a change in the status bar height, a microstutter occurs. This is most noticeable when quickly switching between presets with the use of shortcuts. For example, this occurs when switching to Chinese-named presets from https://krita-artists.org/t/photoshop-ps-common-brush-transfer-with-original-brush/34694/16 . The microstutter no longer occurs if the brush is renamed without the use of Chinese characters.

STEPS TO REPRODUCE
1. Download brushes from https://krita-artists.org/t/photoshop-ps-common-brush-transfer-with-original-brush/34694/16
2. Using TenBrushes, assign a default brush to one hotkey and assign one of the Chinese brushes to another hotkey.
3. Swap between the two while making strokes.

OBSERVED RESULT
There is noticeable microstutter from the statusbar changing in height due to the Chinese brush name.

EXPECTED RESULT
Ideally the height of the statusbar should never change.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.12.12 (appimage) 

ADDITIONAL INFORMATION
I am not using a custom interface font.
Comment 1 Halla Rempt 2022-06-24 08:38:50 UTC
I'm not sure whether that's possible... But yeah, I see this happen. I'm setting this to minor, though...
Comment 2 tomtomtomreportingin 2022-09-30 05:16:20 UTC
A case that causes more than microstutter:
1. Fit the canvas to page or width
2. Pan the canvas
3. Select a brush of Chinese name
4. The canvas view is inadvertently refit to page/width