Bug 333468

Summary: Scaling the image to a new size in desktop and switching to sketch changes reduces font sizes on UI
Product: [Applications] krita Reporter: Stuart Dickson <stuartmd>
Component: Krita GeminiAssignee: Arjen Hiemstra <ahiemstra>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stuart Dickson 2014-04-15 15:47:52 UTC
If the user creates a custom file and then resizes this in the desktop interface, when they then switch to the Sketch interface, the fonts are reduced.

Steps to reproduce:
1. Create a new blank image (screen size)
2. Choose "Scale Image to a New Size" from the edit menu
3. Enter 3000 in the width parameter, then accept the new size.
4. Switch to Sketch view

The same behavior occurs if the user shrinks the image.
Comment 1 Arjen Hiemstra 2014-04-23 16:48:20 UTC
Git commit f9446f8600ec983dd49836a35af04e8baf09bd5c by Arjen Hiemstra.
Committed on 23/04/2014 at 16:16.
Pushed by ahiemstra into branch 'master'.

sketch: Ignore resize events from dialogs for rebuilding the font cache

Otherwise we end up taking the size from the dialog window which results
in tiny text.

M  +1    -1    krita/sketch/Theme.cpp

http://commits.kde.org/calligra/f9446f8600ec983dd49836a35af04e8baf09bd5c
Comment 2 Arjen Hiemstra 2014-05-30 15:55:21 UTC
Git commit bc6f45ea2bbb0a951a3ab478d63915fdfd90f1bc by Arjen Hiemstra.
Committed on 23/04/2014 at 16:16.
Pushed by dickson into tag 'steam-247500_247566'.

sketch: Ignore resize events from dialogs for rebuilding the font cache

Otherwise we end up taking the size from the dialog window which results
in tiny text.

M  +1    -1    krita/sketch/Theme.cpp

http://commits.kde.org/calligra/bc6f45ea2bbb0a951a3ab478d63915fdfd90f1bc