Bug 333468 - Scaling the image to a new size in desktop and switching to sketch changes reduces font sizes on UI
Summary: Scaling the image to a new size in desktop and switching to sketch changes re...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Krita Gemini (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: Arjen Hiemstra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-15 15:47 UTC by Stuart Dickson
Modified: 2014-05-30 15:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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