Bug 371077 - Unable to get the original text size after enlarging/shrinking it
Summary: Unable to get the original text size after enlarging/shrinking it
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 16.08
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2016-10-18 12:40 UTC by Antonio Orefice
Modified: 2018-06-29 20:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Orefice 2016-10-18 12:40:10 UTC
When using a fractional point size as default value, enlarging it and shrinking it (ctrl++, ctrl+-) will not return to the original value.

Reproducible: Always

Steps to Reproduce:
1. Select a font (eg: 10)
2. Set a fractional point size that visually differs from the lower and upper integers (eg: 10,5)
3. return to the editor and write something
4. enlarge the font (ctrl++)
5. shrink the font (ctrl+-)


Actual Results:  
Notice that the font is not rendered in the original size (eg 10,5)

Expected Results:  
The font to be rendered in the original size (eg 10,5)
Comment 1 Christoph Feck 2016-10-19 04:08:57 UTC
Should use (set)PointSizeF instead.
Comment 2 Nate Graham 2018-06-29 20:46:13 UTC
This is working for me with KDE Frameworks 5.47 and Kate 18.04.2.