Page 1 of 1

[Solved] Missing columns preferences for the Layer List widget

Posted: Fri May 02, 2025 5:40 am
by CVH
Andrew,

Win7 32bit, QCAD 3.32.2: I can be wrong but I can't locate for example:
Application Preferences > Widgets > Layer List > Show frozen column

LayerList_missing.png
LayerList_missing.png (60.28 KiB) Viewed 45043 times

The preferences are stored in the configuration file under [LayerListPro]
Functional when I set them to true or false before starting QCAD.

Using v3.27.6.0 I have 6 preferences listed in this preference panel.
:arrow: But only on the first call of Application Preferences.
A second attempt displays the same as above.

Regards,
CVH

Re: Missing columns preferences for the Layer List widget

Posted: Mon Jun 30, 2025 4:45 am
by CVH
Issue persists for QCAD 3.32.3
Bug report: FS#2680

Workaround for current art:
Configure the preferences per direct in qcad.ini under the header [LayerListPro]

Regards,
CVH

Solved: Missing columns preferences for the Layer List widget

Posted: Fri Jul 18, 2025 12:42 am
by CVH
Update:

I removed the -always-load-scripts switch from the desktop shortcut target.
After that the Pro preferences display just fine. :P

Can replicate the issue in a virgin install with adding the switch again.
Reminds me of another issue related with -rescan -always-load-scripts recently (FS#2657).

The faulty behavior seen in v3.27.6.0 is also fixed on removal.

Too bad, because that is a very useful switch for fine-tuning scripts on the fly.
Without I have to resort to the old school method: Restarting QCAD on each edit.

@Andrew: You may close FS#2680 as being solved.

For the record:
The idea to remove the switch came after that ExPostNewAction.js didn't work as expected after creating a new drawing.
Figuring that reloading NewFile.js cleared the content of the arrays NewFile.postOpenActions and NewFile.postNewActions.
These arrays hold the actions to preform after opening a file or after creating a new drawing.
Intensive testing revealed that they were always empty on creating a new drawing.
That already happens on restarting QCAD when it is closed without an open drawing.

Like re-inventing warm water :lol: ... Already mentioned by user jcn about 4 years ago, see p33337

Not that common to store global and persistent system parameters in volatile arrays.

Regards,
CVH