[SOLVED] Snapping in Draf WB v0.18 OpenSuse

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Geoplace
Posts: 39
Joined: Tue Feb 26, 2019 9:49 pm

[SOLVED] Snapping in Draf WB v0.18 OpenSuse

Post by Geoplace »

Hi everyone

I just install the new version from the science repository of OpenSuse.

https://build.opensuse.org/package/show/science/FreeCAD

And try to use the Draft workbench but I notice that the snapping icons are not showing.

The cursor (pointer) don't show the corresponding snap icon.

Here is a Screenshot:
The grid snapping, midpont, end point works but don't show the icons.
FreeCAD_18 midpoint snapping no icon.png
FreeCAD_18 midpoint snapping no icon.png (78.48 KiB) Viewed 1405 times
FreeCAD_18 grid snapping icon not.png
FreeCAD_18 grid snapping icon not.png (78.64 KiB) Viewed 1405 times
OS: openSUSE Leap 15.0
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Release
Python version: 3.6.5
Qt version: 5.9.4
Coin version: 3.1.3
OCC version: 7.3.0
Locale: Spanish/Spain (es_ES)

The version 0.17 I download from AppImage show them just fine.
FreeCAD_17 midpoint snapping icon_ok.png
FreeCAD_17 midpoint snapping icon_ok.png (92.55 KiB) Viewed 1403 times
OS: "openSUSE Leap 15.0"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Spain (es_ES)

An in this version 0.19 just works fine.

OS: openSUSE Leap 15.0
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16121 (Git) AppImage
Build type: Release
Branch: master
Hash: a7919b63dea4bb1f1107c80ed44758479eec3d8d
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Spain (es_ES)
Last edited by Geoplace on Tue May 07, 2019 2:02 pm, edited 2 times in total.
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: Snapping in Draf WB v0.18 OpenSuse

Post by Syres »

I did replicate this condition using:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

Unfortunately I changed too many settings at once to narrow down the exact fix but I would guess the user.cfg needs to 'know' about some of the new snap functions in 0.18 such as Dimensions. So I would recommend switching Dimensions snapping On in 0.18 and exit FreeCAD completely, restart FreeCAD and test End Point/Mid Point again. If it works then just switch off Dimensions if you don't like it or it slows the graphics down too much.
I'll be able to get a more thorough triage done later today as I have a user.cfg from a couple of days ago to restore and go through it step-by-step. Hopefully new users aren't affected by this but there maybe quite a number of 0.17 upgrade users affected.
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: Snapping in Draf WB v0.18 OpenSuse

Post by Syres »

I'm annoyed with myself because I can't put FreeCAD back in a fault situation even though I could this morning but, I can say for sure that new 0.18 users' Draft Snapping icons will work with the Release Candidate and any 0.17 upgrade users will be a relatively easy fix even if they have to rebuild any custom toolbars etc.
Geoplace
Posts: 39
Joined: Tue Feb 26, 2019 9:49 pm

Re: Snapping in Draf WB v0.18 OpenSuse

Post by Geoplace »

I've tested several snapping tool combinations but none show's the snapping tooltip icon in the cursor.

It's weird the problem just happen in the distro compiled by OpenSuse Science
and the AppImages just works fine.

I dont' know how to report to it to OpenSuse.

Regards.
Geoplace
Posts: 39
Joined: Tue Feb 26, 2019 9:49 pm

Re: Snapping in Draf WB v0.18 OpenSuse

Post by Geoplace »

With the updete from OpenSuse on April 28th the snapping icons are shown correctly. Problem solved.

Thank you OpenSuse Packager.

Here is the data of the FreeCAD Version from OpenSuse Science repository.

OS: openSUSE Leap 15.0
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Release
Python version: 3.6.5
Qt version: 5.9.4
Coin version: 3.1.3
OCC version: 7.3.0

From Yast2 here is information in the changelog Tab.
FreCAD OpenSuse ChangeLog.png
FreCAD OpenSuse ChangeLog.png (157.19 KiB) Viewed 1169 times
Post Reply