Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.3.1
-
None
-
Apple MacBook Retina, OS X 10.9.4
-
b17365cda91a6ecc8d12e995d83f4ff479c59b5f (5.4 br, 3.9.2014, 5.4)
Description
I develop a software for Apple Mac OS X. I set attribute Qt::AA_UseHighDpiPixmaps, and add to resources a pair of images, search.png and search@2x.png (these are almost the same, for ordinary displays (size 16x16) and for retina-displays (size 32x32) accordingly). I add an action to QLineEdit with icon "search.png". QLineEdit's action is painted with incorrect target rect, which is beyond the boundaries of QLineEdit.
This bug appears only on Apple Mac Retina display.
See attached screen_shot.png.
Minimal code is in leico.zip.