Summary: | line edits 'delete' icon too big and pixalated with bigger fonts settings (11 instead 10pt). Uncovers a second icon below | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kcompletion | Reporter: | Achim Bohnet <ach> |
Component: | general | Assignee: | David Gil <davidgiloliva> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jonathan.verner, kdelibs-bugs, montel, null |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
oversized and pixalated 'delete' icons in kmail inline search and composer address field
10pt proper & sharp 11pt: oversized and pixelated Test QLineEdit in QtDesigner Show that the delete arrow size is due to box size, not font |
Description
Achim Bohnet
2016-10-16 10:24:57 UTC
Created attachment 101581 [details]
oversized and pixalated 'delete' icons in kmail inline search and composer address field
While reverting the font change I've found a simpler way to reproduce: 1. kmail --composer 2. Type a view chars in the 'To:' line edit 3. Set the 'General' font in system settings from 10 pt to 11pt and apply -> 'delete' icons in the composer window is pixalated and too big. Changing font size back to 10 pt 'fixes' the pixalation. it's not a kmail bug it's a kf5 bug. kcompletion I will told you. Please reassign I can't reproduce the bug. Even with a font size of 20 the delete button remains the same size. Would you please give me some more info or a hint that helps me reproduce it? Does that happen in a dev environment or in production? What distro is it? What version? neon dev unstable (aka git master) in virtualbox 5.0.24 konsole 16.11.70 KDE Frameworks 5.28.0 Qt 5.7.0 (built against 5.7.0) The xcb windowing system Reproduce: * start konsole * double click on konsole tab -> 'rename tab' dialog with poperly size sharp delete icon (see screenshot) * open fonts in system settings * change 'General' font from 10 pt to e.g. 11 pt * 'Okay' to close dialog, 'Apply' to apply the setting * look at 'Rename Tab' dialog of konsole (or reopen it) -> 'rename tab' dialog with oversized and pixilated delete icon (see screenshot) Created attachment 101777 [details]
10pt proper & sharp
Created attachment 101778 [details]
11pt: oversized and pixelated
I managed to reproduce the bug on OpenSUSE Tumbleweed with: * Konsole: 16.08.2 * Kmail: 5.3.0 (QtWebEngine) * KDE Frameworks 5.26.0 * Qt 5.7.0 (built against 5.7.0) * The xcb windowing system But Kubuntu 16.04 is fine: * Konsole: 15.12.3 * Kmail: 5.1.3 * KDE Frameworks 5.23.0 * Qt 5.5.1 (built against 5.5.1) * The xcb windowing system The delete icons in Kubuntu Konsole are circles with white "x", while in Kmail is the same as in the screenshots. The icons in OpenSUSE are the same as in the screenshots. You could check Qt's designer to see if the issue is already in QLineEdit. I've tested as requested. The problem shows up in QtCreator using QLineEdit with font size 12, only if the box is high enough. See the attachment. Created attachment 101809 [details]
Test QLineEdit in QtDesigner
Actually in the QLineEdit the size of the delete arrow is not related with the font size but the box height, as seen in the following screenshot. Probably in the tests that we have done, increasing the font size increases the box height just enough to repaint the arrow bigger. Created attachment 101810 [details]
Show that the delete arrow size is due to box size, not font
Thanks for confirming this is actually caused by the Qt widgets. Please report this issue directly to Qt developers via https://bugreports.qt.io/ Should I report it to Qt or has someone already done it? Hi Gil, would be great if you report it to Qt. Thx, Achim *** Bug 377738 has been marked as a duplicate of this bug. *** |