Bug 100164 - HiDPI shouldn't be thresholded
Summary: HiDPI shouldn't be thresholded
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.3.0
Keywords:
Depends on:
Blocks: HiDPI
  Show dependency treegraph
 
Reported: 2016-05-31 14:02 UTC by Egbert
Modified: 2023-03-28 12:31 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egbert 2016-05-31 14:02:03 UTC
I have a HiDPI screen (15'' 3840x2160 -> physical DPI = 282), and I have KDE/Plasma configured to a scaling factor of 1.5 and a DPI of 168. I do not want to set it to 192 because I like to have a bit more screen estate, even though the physical DPI is (a lot) higher.

Because it's below 192, the HiDPI-mode in LibreOffice is not enabled. Even though the fonts are properly scaled according to DPI of 168, the toolbar buttons are unclickably small, probably assuming a DPI of 96 or something in that direction.

Plasma allows me to set a scaling factor to my own liking and a DPI-setting to my own liking, why is LibreOffice forcing me a specific threshold for HiDPI to kick in?

Icons should just be scaled based on actual DPI rather than switch to different icons on a specific threshold. I'd rather have not-perfectly-scaled images than unclickable (but sharp ;)) images.

It would be great if LibreOffice would respect the scaling factor I configured in Plasma.
Comment 1 Tomaz Vajngerl 2016-07-21 01:45:55 UTC
Confirmed. We currently support only integer scaling factors.
Comment 2 Commit Notification 2016-10-29 21:50:14 UTC
Tomaž Vajngerl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=69b6ab1f8de08b3418fd42d56076a73d40a29229

tdf#100164 change scaling unit to precentage for *.5x factors

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Xisco Faulí 2016-12-06 11:27:46 UTC Comment hidden (obsolete)
Comment 4 Xisco Faulí 2017-11-05 22:02:56 UTC
A polite ping to Tomaž Vajngerl: is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Thanks
Comment 5 QA Administrators 2018-12-30 03:47:42 UTC Comment hidden (obsolete)
Comment 6 bugzilla2 2022-09-01 16:52:42 UTC
Does LibreOffice really "only" support scaling in 50% steps? The comment 2 would make me think so, and that would explain a lot of issues in HiDPI screens. Windows allows to adjust the scaling in 25% steps (100%, 125%, 150%, 175%, 200% aso). I personally use 175% and a lot of UI-Elements are too small. I think, that could be the root cause of this. So can we "update" that patch, to support scaling in 25% steps?