[ Fixed ] Draft_ToggleGrid does not work when a command is active

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8541
Joined: Thu Dec 27, 2018 12:28 pm

[ Fixed ] Draft_ToggleGrid does not work when a command is active

Post by Roy_043 »

Just reporting...

In V0.18 you can toggle the Draft grid while a command is active. Note you have to use the Draft_ToggleGrid button. And this setting is remembered for the current FreeCAD session.

In V0.19 and V0.20 this is no longer possible. When the pointer enters the 3D view after using the Draft_ToggleGrid button, the grid is always switched on.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25220 (Git)
Build type: Release
Branch: master
Hash: 46282db7c8c65d1205a4cd03499d4beadb1573c6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
Last edited by Roy_043 on Wed Nov 24, 2021 5:09 pm, edited 1 time in total.
User avatar
ragohix769
Posts: 568
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [ Bug ] Draft_ToggleGrid does not work when a command is active

Post by ragohix769 »

I confirm this problem/bug (very very annoying).

Code: Select all

OS: Ubuntu 18.04.5 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 6fed5236b9a5bba80d1d086cda6ff7472f07a603
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.5.2
Locale: Italian/Italy (it_IT)
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: [ Bug ] Draft_ToggleGrid does not work when a command is active

Post by Syres »

I believe this is the preference setting which controls the grid activation in the 3D Viewport:

DraftGridActivation.jpg
DraftGridActivation.jpg (60.14 KiB) Viewed 3058 times

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.20.25306 (Git)
Build type: Release
Branch: master
Hash: 5f5b3d9b67136edda1f6738f1a83154990f7839d
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
User avatar
ragohix769
Posts: 568
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [ Bug ] Draft_ToggleGrid does not work when a command is active

Post by ragohix769 »

IMHO anyway it's a bug, because if you deselect completely the grid from preferences, it's not an option; it should permit to disable the grid temporarly as it appear normally when you don't have a command active.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: [ Bug ] Draft_ToggleGrid does not work when a command is active

Post by Syres »

User avatar
Roy_043
Veteran
Posts: 8541
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Bug ] Draft_ToggleGrid does not work when a command is active

Post by Roy_043 »

The fix works but it does not restore the V0.18 behavior. The "Use grid" preference in V0.18 completely disables the grid. After changing it you even have to restart FreeCAD. And toggling the grid works without changing this preference.
User avatar
Roy_043
Veteran
Posts: 8541
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Fixed ] Draft_ToggleGrid does not work when a command is active

Post by Roy_043 »

Merged.
Post Reply