My fonts are all + 1pt compared the default. Now the quick search line edit above message list and e.g. address fields in the composer show a IMHO unproportional big icon that is pixaled (see screenshot). Further in the quick search line edit one sees below the pixalated delete icons the right parts of the normal sized delete icons Reproducible: Always Steps to Reproduce: 1. Quit kmail 2. open fonts in system settings 3. set all fonts size to 11 (alternatively add 1pt to each fonts size) 4. start kmail. 5a. type some text in the quick search like edit 5b. open composer and start typing an address Actual Results: An pixalated (oversized) delete icons appear on the right of the line edit. Expected Results: a) Icons is not pixalated b) Icons size should be a bit smaller (ditto for the sharp icons and the lock icon) I had a quick look at ohter apps: kate open dialog: delete icons sharp and unchanged with 11pt compared to 10 ptle konsole change tab text dialog: too big and pixalated like kmail composer
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
https://bugreports.qt.io/browse/QTBUG-56981
*** Bug 377738 has been marked as a duplicate of this bug. ***