Bug 375660 - Plasma applet settings: text is truncated, no keyboard accelerators
Summary: Plasma applet settings: text is truncated, no keyboard accelerators
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 14:02 UTC by Frank Steinmetzger
Modified: 2019-10-07 02:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Digital Clock settings (60.96 KB, image/png)
2017-01-28 14:02 UTC, Frank Steinmetzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2017-01-28 14:02:32 UTC
Created attachment 103684 [details]
Digital Clock settings

Dear devs

After upgrading my laptop from KDE4 to 5 the other day, I had to re-setup parts of my desktop. During that I noticed several problems WRT settings dialogs. I checked the applets I use (e.g. application menu, standard taskbar, digital clock), all of them are affected to varying degrees.

The text of the settings items is truncated in many places. I set up a test user with US english, there I did not see the problem. I have a German setup and am using a display with 176 DPI.

Also, none of the items have accelerator keys assigned to them, one is forced to use the mouse. This is a regression.

I attach a screenshot of the Digital Clock settings. Notice the ellipses in many places. Also, the dropdown to select the date format is too narrow (not only in German, but also in the English version).
Comment 1 Christoph Feck 2017-01-31 23:36:15 UTC
Is the text also truncated, if you are not using the QtCurve widget style, but Breeze?
Comment 2 Frank Steinmetzger 2017-02-01 21:11:46 UTC
Yes, and I found out the actual cause:

I set up a new, clean test user. At first, the truncation was not present. But then I started recreating my own setup, because fonts are very much on the large end of sizes.
As it turns out, the truncation happens when I set a non-integer font size, which can be achieved by using the "Set all fonts" button in font settings. The size I use for general text is 8.5 pt. I tried it with 8.5 and 9.5 pt, with both I could recreate the truncating effect.
Comment 3 Kai Uwe Broulik 2017-02-01 21:33:39 UTC
Oh the wonders of QtQuick on the desktop... that truncation problem might be a rounding error and Qt bug in the Text element.
Comment 4 Christoph Feck 2017-02-01 22:13:16 UTC
Not sure if those components are pure Qt code, or if they are styled by Plasma code.
Comment 5 Marco Martin 2017-03-01 15:59:14 UTC
(In reply to Christoph Feck from comment #4)
> Not sure if those components are pure Qt code, or if they are styled by
> Plasma code.

configuration dialogs are styled with qstyle based qtquickcontrols1, so is not plasma specific
Comment 6 Nate Graham 2019-10-07 02:19:31 UTC
This is fixed now.