[Solved] Missing columns preferences for the Layer List widget

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 4872
Joined: Wed Sep 27, 2017 4:17 pm

[Solved] Missing columns preferences for the Layer List widget

Post by CVH » Fri May 02, 2025 5:40 am

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 37780 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
Last edited by CVH on Fri Jul 18, 2025 12:42 am, edited 1 time in total.

CVH
Premier Member
Posts: 4872
Joined: Wed Sep 27, 2017 4:17 pm

Re: Missing columns preferences for the Layer List widget

Post by CVH » Mon Jun 30, 2025 4:45 am

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

CVH
Premier Member
Posts: 4872
Joined: Wed Sep 27, 2017 4:17 pm

Solved: Missing columns preferences for the Layer List widget

Post by CVH » Fri Jul 18, 2025 12:42 am

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

Post Reply

Return to “Chat”