[BUG?] Cropped icons
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [BUG?] Cropped icons
Were you aware of this problem: https://forum.freecadweb.org/viewtopic. ... 0&start=20
I have since come to realize that the problem TOGGLES between Daily and 17 depending on where you set the styles last; even though they are displayed.
I have since come to realize that the problem TOGGLES between Daily and 17 depending on where you set the styles last; even though they are displayed.
Re: [BUG?] Cropped icons
Hi bill,bill wrote: ↑Thu May 24, 2018 12:01 pm Were you aware of this problem: https://forum.freecadweb.org/viewtopic. ... 0&start=20
ssnoyesmaybe.png
I have since come to realize that the problem TOGGLES between Daily and 17 depending on where you set the styles last; even though they are displayed.
No, I wasn't aware of this problem but it seems like it's not the stylesheet but the config file... doesn't it?
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: [BUG?] Cropped icons
I looked in the code and to be honest i don't see anything special or obvious on why File and View toolbars should behave any different. What about the Macro toolbar. Does it work as expected? Once the issue occurs if you look under the File -> New and View -> Standard views global menu entries. Are the icons normal there?
Re: [BUG?] Cropped icons
Sorry, I missed this post...triplus wrote: ↑Mon Jun 11, 2018 7:43 am I looked in the code and to be honest i don't see anything special or obvious on why File and View toolbars should behave any different. What about the Macro toolbar. Does it work as expected? Once the issue occurs if you look under the File -> New and View -> Standard views global menu entries. Are the icons normal there?
Yes, you are right, it also happens with the Macro toolbar. I haven't report about it because I always have it disabled...
Here is what I get: Any clue then?
Thanks
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: [BUG?] Cropped icons
Hi,
They are OK:
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: [BUG?] Cropped icons
Thanks for the info. It helps narrowing down the potential places on where to look for clues. Will take another look in the following days and hopefully something will stand out.
Re: [BUG?] Cropped icons
Note that i didn't forget about this issue. It's just i didn't find anything obvious, and due to not having such display setup, no real testing could be done:
https://forum.freecadweb.org/viewtopic. ... 37#p275369
While answering the other question, i realized, i might not need a macOS and external retina display at all. Maybe similar issue will be reproducible on Linux and on two screens having different resolutions. Will try to test this use case over the weekend and report back.
https://forum.freecadweb.org/viewtopic. ... 37#p275369
While answering the other question, i realized, i might not need a macOS and external retina display at all. Maybe similar issue will be reproducible on Linux and on two screens having different resolutions. Will try to test this use case over the weekend and report back.
Re: [BUG?] Cropped icons
OK i was able to reproduce the issue on Linux, when using two displays, each having different (Qt) scale factor set. The problem is related to icons loaded from the icon theme. Such icons are scaled up to the display using the biggest scale factor, and don't adapt after anymore. In the following days i will do more testing, independently of FreeCAD, to first confirm this is a Qt related issue. Once that gets confirmed, and as the next version of IconThemes module will use such icon theme approach, i will likely report this issue to the upstream Qt devs. Hopefully they will be prepared to fix it.
For now this is what you can do to remove the issue. Copy paste the snippet in FreeCAD Python console:
After FreeCAD gets restarted the issue with the icons should be resolved.
To revert to defaults:
For now this is what you can do to remove the issue. Copy paste the snippet in FreeCAD Python console:
Code: Select all
p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Bitmaps/Theme")
p.SetString("Name", "None")
To revert to defaults:
Code: Select all
p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Bitmaps/Theme")
p.RemString("Name")
Re: [BUG?] Cropped icons
Hi @pablogil
Can you confirm this is still an issue, when using latest FreeCAD 0.19 DMG?
Can you confirm this is still an issue, when using latest FreeCAD 0.19 DMG?