Tool options persistence

Please use this forum to post feedback and suggestions related to QCAD.

Moderator: andrew

Post Reply
tkyler
Junior Member
Posts: 17
Joined: Thu Jan 26, 2023 2:54 pm

Tool options persistence

Post by tkyler » Wed Jan 31, 2024 3:16 pm

For the following tools, I would like to suggest tool option persistence between tool use.

• Insert Bitmap (IM)
• Rotate (RO)
• Scale (SZ)

1) for example, when importing an image, the "link width/height" option is off by default, but 99 times out of 100, we'd want that option checked by default. I'd like to check it and have it always checked until I change it.

2) When using the rotate/scale tool and desiring to " <action>.....by mouse"....then every time I execute the tool, I have go check this box. On a 40" monitor, this is a lot of screen real-estate to traverse when rotating multiple entities in succession, which is a frequent enough operation IMO. My favorite feature of QCAD is its two-letter shortcuts, because it means I don't have to move the mouse all over the place to implement functionality, but this lack of persistence for these tools somewhat betrays that mantra.

These are minimal changes I'd agree, just polish points on an already fantastic application.

-tkyler

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Tool options persistence

Post by andrew » Wed Jan 31, 2024 3:50 pm

Thanks. This is all on the Apple M1/M2/M3 platform, right?

Bug report under:
https://www.qcad.org/bugtracker/index.p ... sk_id=2525

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

Re: Tool options persistence

Post by CVH » Wed Jan 31, 2024 4:03 pm

Hi,

For 1 you probably mean the Keep Proportional option, keep aspect ratio, the chain icon.
Well ... for so far that I know the state of that is preserved persistent between usages.
Or it should be or it was like that ... For a Windows OS installation that is.
The option state is stored in QCAD3.ini/config > header [Image] > KeepProportions=true(false)

For your RO and SZ issue that is just the same.
In both tools the "by mouse" setting should be preserved between usages.
Although I came across a suggestion on Bugtracker where Andrew states that NOT preserving this state is intended behavior.
https://qcad.org/bugtracker/index.php?d ... sk_id=2503
You may read my reply there and I even presume the it was an FS entered by you on 11.11.2023

But we can dig deeper ...
When using the dialog with RO it is initiated by Rotate.prototype.showDialog(...)
https://github.com/qcad/qcad/blob/maste ... te.js#L196
One line 198 it reloads the preserved settings and on line 227 it preserves the last used settings.
Altering states is by slot change functions at the bottom.
Without using the dialog that is not different.

We can look this up in the same way for SZ and IM

So ... It was common that such are stored persitent.
Andrew said that NOT storing is the intended behaviour (FS2503)
And now I see that it might be broken for macOS M1/M2/M3 while previewing my reply.
:? :!: :?: :roll:

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Tool options persistence

Post by andrew » Wed Jan 31, 2024 4:32 pm

tkyler: I can confirm the problem on the M1/M2/M3 platform. This has been fixed for the next release.

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

Re: Tool options persistence

Post by CVH » Thu Feb 01, 2024 9:58 am

Tom,
Persistent preserving these options was and is still the intended behavior.
Now fixed for MacOS and Andrew also closed FS#2503 (11.11.2023) as "Implemented" after my PM that FS#2503 === FS#2525.

So it should be fixed for MacOS in the upcoming release and or snapshot.

Regards,
CVH

tkyler
Junior Member
Posts: 17
Joined: Thu Jan 26, 2023 2:54 pm

Re: Tool options persistence

Post by tkyler » Sun Feb 11, 2024 8:22 pm

Thank you Andrew / CVH

I was traveling on business for a bit and just now back. Thx for that fix, I'll download the latest and keep on moving

TomK

Post Reply

Return to “QCAD Suggestions and Feedback”