QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System Windows 10
  • Severity Low
  • Priority Very Low
  • Reported Version 3.17.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Husky - 18.05.2017
Last edited by Andrew - 19.05.2017

FS#1582 - Layer > Show all Layers / Hide all Layers: unexpected outcome when frozen column not shown

Hi,

if I create in a new drawing a layer list and use the Show all Layers / Hide all Layers function everything works as expected.

If I hide one or more Layers individually and directly in the Layer List (click on the Eye) I can’t make them visible with the Show all Layer function. It looks like individual hidden Layer are protected with a higher priority.

If I load an “old” drawing all individual settings for a hidden Layer are with a higher priority than Show all Layers. If I click every single Eye for each Layer to make them visible then I’m again able to toggle the visibility for all Layer in once.

Closed by  Andrew
19.05.2017 06:39
Reason for closing:  Fixed
Admin
Andrew commented on 18.05.2017 19:46

Note that starting with QCAD 3.17.0, layers can be off or frozen (to increase compatibility with other DXF/DWG products).
You might want to enabled the frozen column (Edit > Application Preferences > Widgets > Layer List > Show frozen column) to check if a layer in a loaded drawing is frozen.

I will see if I can improve this for users with the frozen column off (default).

Admin
Andrew commented on 18.05.2017 19:49
Husky commented on 18.05.2017 20:10

Thanks for this tip - unfortunately it makes it much more confusing to me ...

My report was based on a Layer List without this frozen status column visible.

If I turn this column visible it works like you described it.
If I turn it off (all Layer unfrozen!) it behaves like my report.

Why will the visibility / invisibility of this column in the Layer List change the functionality?

Admin
Andrew commented on 18.05.2017 20:15

Did you have a chance to try the above proposed patch for Layer.js?

Frozen and Off are two different layer states which both influence the layer visibility. Unfortunately, they are rather complex by design, even more so if layer 0 is involved.

If the frozen column is not shown, ideally, things should work as before (this might not be 100% possible to achieve though).

Husky commented on 18.05.2017 20:22

I use right now the new script and it looks good! Works like expected.

I will switch back for testing to the old script - give me a few minutes ....

Husky commented on 18.05.2017 20:26

« If the frozen column is not shown, ideally, things should work as before »

Nope - the old script works different when this column is shown or not.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing