All Projects

IDProjectCategoryTask TypeSeveritySummaryStatusOpened by
2662QCAD BugtrackerQCAD (main)Feature RequestVery LowSort Layouts with the same 'tab order' alphanumerical l...Assigned1Chris Kaminski Task Description

Adding/inserting additional layout blocks in an order that makes sense to the user throws out system numbering out of order...
Unable to sort Layouts in alphanumerical order like other blocks.
Displaying Layout order number in the layout name is pointless since system cannot cope with non-chronological layouts.
Extract from the thread on the forum (linked below)

Finally traced back to a [url=https://github.com/qcad/qcad/blob/9965f5c6c29cc7419d26d37ebffe119d7511641b/src/core/RStorageBlockSort.cpp]sorting function[/url] called in line 247 (Current state):
- model space always first
- layouts always before other blocks
- sort among layouts by tab order
- sort by layout name or block name (ignoring * at start)
 :!: Notice that the last rule will never be reached when comparing 2 Layout objects with the same 'tab order'.
The third rule will return "false" anyway and things are left unsorted as they are queried from the document.

Meaning that we can force any listing order but only by editing the list order values.
Showing tasks 1 - 1 of 1 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing