macOS Qt5 plan and status

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: macOS Qt5 plan and status

Post by triplus »

Nice one Mateusz and thanks for testing @peterl94!
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: macOS Qt5 plan and status

Post by f3nix »

peterl94 wrote: Thu Aug 10, 2017 2:03 am Just tested it with master again, and I see the offset no matter what. So your change actually does fix the problem, it just needs the viewer to be refreshed.
Hi,
thanks for testing. I've forced a push to the branch with additional changes. Could you please test if it resolves the issue?

Thanks.

Cheers,
Mateusz
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: macOS Qt5 plan and status

Post by peterl94 »

f3nix wrote: Sun Aug 13, 2017 8:02 pm Could you please test if it resolves the issue?
Yep it does! There is no viewer glitches when moving freecad between monitors.

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11750 (Git)
Build type: Unknown
Branch: pixelratio-2
Hash: de15d7fff60d7be71d09d01f74f914f37fed7ad3
Python version: 2.7.13
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: macOS Qt5 plan and status

Post by Kunda1 »

issue #3103 can be resolved then?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: macOS Qt5 plan and status

Post by peterl94 »

It probably should be separated into two issues (#3130 that is). f3nix fixed the 3d viewer issue, but the icon scale problem hasn't been fixed yet.
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: macOS Qt5 plan and status

Post by blacey »

peterl94 wrote: Mon Aug 14, 2017 1:22 pm It probably should be separated into two issues (#3130 that is). f3nix fixed the 3d viewer issue, but the icon scale problem hasn't been fixed yet.
FYI, text doesn't scale properly either.
steve123
Posts: 149
Joined: Fri Sep 04, 2015 8:58 pm

Re: macOS Qt5 plan and status

Post by steve123 »

Kunda1 wrote: Mon Aug 14, 2017 3:13 am issue #3103 can be resolved then?
I am running a nightly (12020) and this I think there is still a problem. When using on my external monitor, I notice the offset issue still. I have an external ASUS display (2880 x 1440).

Weird that some icons have the correct scale and others do not.

Off topic but I also noticed another issue where Freecad will crash if I delete an element in a sketch. This issue occurs in the QT4 and QT5 versions.
steve123
Posts: 149
Joined: Fri Sep 04, 2015 8:58 pm

Re: macOS Qt5 plan and status

Post by steve123 »

There is also an offset issue when using Freecad on my rMBP retina display. This occurs when you click and drag. The visual box is offset from the mouse pointer. The actual selection is the box bounded by where the mouse pointer is, not the visual box.
Screen Shot 2017-09-11 at 9.57.21 AM.png
Screen Shot 2017-09-11 at 9.57.21 AM.png (732.95 KiB) Viewed 1834 times
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: macOS Qt5 plan and status

Post by f3nix »

blacey wrote: Thu Aug 17, 2017 8:44 pm FYI, text doesn't scale properly either.
Hi!
Could you please provide a screenshot?

Cheers,
Mateusz
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: macOS Qt5 plan and status

Post by blacey »

f3nix wrote: Sun Nov 19, 2017 10:27 am
blacey wrote: Thu Aug 17, 2017 8:44 pm FYI, text doesn't scale properly either.
Hi!
Could you please provide a screenshot?

Cheers,
Mateusz
Sure. We no longer build for Qt4 but the following screenshot is when the app is run in "low-resolution" mode which is identical to Qt4 variant on a hi-dpi display.
FC-Low-Rez.jpg
FC-Low-Rez.jpg (137.1 KiB) Viewed 1682 times
And here is Qt5 Hi-Dpi - the fonts are so much smaller that they are illegible.
FC-High-Rez.jpg
FC-High-Rez.jpg (131.57 KiB) Viewed 1682 times

Code: Select all

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12419 (Git)
Build type: Release
Branch: (HEAD detached at ecdf9fd)
Hash: ecdf9fdadfb6edf1b9bad49348590608e3fa7ca5
Python version: 2.7.14
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Post Reply