Sketcher Constraint widget rework
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Sketcher Constraint widget rework
Looks like excellent improvement.
I don't know how this fits with your re-arrangement, but might it be possible to
1) Add a button that when activated allows the user to drag the
mouse over the list of constraints immediately highlighting
it on the sketch. (And ideally highlighting dependant constraints
in a different colour)
2) Arrange to at least toggle between last two settings of filters
or perhaps have a number of saved filter sets
which are easy to recall. [inc short cut?]
3) Possibly an option which highlights conflicting/duplicate constraints
when adding new constraints
BW
I don't know how this fits with your re-arrangement, but might it be possible to
1) Add a button that when activated allows the user to drag the
mouse over the list of constraints immediately highlighting
it on the sketch. (And ideally highlighting dependant constraints
in a different colour)
2) Arrange to at least toggle between last two settings of filters
or perhaps have a number of saved filter sets
which are easy to recall. [inc short cut?]
3) Possibly an option which highlights conflicting/duplicate constraints
when adding new constraints
BW
Re: Sketcher Constraint widget rework
You mean to make the row with filter + the 4 buttons smaller?chrisb wrote: ↑Fri Sep 30, 2022 11:59 pmVery nice work!
Although the filters are now much smaller than the rest, they are still the widest section. If they are not needed, 3D view could be enlarged a bit, but that hides the expansion handles for "Edit controls", "Constraints", "Elements", ...
Is it possible to make these smaller, so that they are still available, even when the panel is smaller than the Filter?
-Now with the checkbox it's already smaller than it was with the button. It's now already much smaller than other widgets.
-Also the setting button could be put on the row under, with the checkbox "All" but aligned on the right.
- And the space between buttons could be made smaller. But it might feel cramped.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: Sketcher Constraint widget rework
No, I see that optimization is hardly possible, and I would not sacrifice another line. I meant moving these handles ... to the left. Then the user can still reach them if the panel is narrower than needed. I'm afraid though, that these are Qt predefined things and intervening is difficult.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Sketcher Constraint widget rework
I don't like too much that filtering requires extra space on the task widget which already overcrowded and hard to navigate as is. I would prefer if it was a toolbutton with a widget that can be dismissed easily.
Re: Sketcher Constraint widget rework
+1adrianinsaval wrote: ↑Sun Oct 02, 2022 12:08 am I don't like too much that filtering requires extra space on the task widget which already overcrowded and hard to navigate as is. I would prefer if it was a toolbutton with a widget that can be dismissed easily.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher Constraint widget rework
Yes, though it would take space only when being used.adrianinsaval wrote: ↑Sun Oct 02, 2022 12:08 am I don't like too much that filtering requires extra space on the task widget which already overcrowded and hard to navigate as is. I would prefer if it was a toolbutton with a widget that can be dismissed easily.
An improvement could be to put that list widget in a kind of menu that would collapse when mouse goes away.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Sketcher Constraint widget rework
Yes that's what I had in mind if the comboview was not possible
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Sketcher Constraint widget rework
posting also here my wishes for the filter widget:
(this is from the discussion regarding the elements group box)adrianinsaval wrote: ↑Thu Oct 06, 2022 5:46 pm I'm of the opinion that the best UX for those filters would be to mimic the filtering widget seen for example in MS Excel (left) or even better LibreOffice Calc (right) users will be familiar with this and IMO it's pretty efficient: (sorry for the spanish, FYI todo means all)
they are full widgets shown after clicking in a combobox and can be dismissed by clicking outside of them, in the libreoffice widget the check and cross icons on the right of the "All" checkbox are to show only the selected item and for showing everything except the selected item respectively, I found those to be very useful buttons.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Sketcher Constraint widget rework
I have compiled and tested the PR and left a comment describing the problems I found: https://github.com/FreeCAD/FreeCAD/pull ... 1309468003
On a separate note to that, I suggest to simplify a little more the UI to something like this: The eye icon would do what the "All" checkbox from the PR does, the button to dismiss all filters is removed since it is redundant with the filter checkbox and the "All" option in the filter list.
The buttons to filter selected and associated constraints are returned to the filter list so they can be active dynamic filters instead of being one off actions.
This is just a suggestion, I don't feel strongly about it and I share it here to see what other people think.
On a separate note to that, I suggest to simplify a little more the UI to something like this: The eye icon would do what the "All" checkbox from the PR does, the button to dismiss all filters is removed since it is redundant with the filter checkbox and the "All" option in the filter list.
The buttons to filter selected and associated constraints are returned to the filter list so they can be active dynamic filters instead of being one off actions.
This is just a suggestion, I don't feel strongly about it and I share it here to see what other people think.
Re: Sketcher Constraint widget rework
I'm ok to put associated and selected in the filter list. But how do you propose them to work exactly?
Should they be unchecked by default and checking them adds an additional filter ?
Say you have 'coincidence' and 'associated' both checked. Then it should show only the coincidence of selected geometries?
Should they be unchecked by default and checking them adds an additional filter ?
Say you have 'coincidence' and 'associated' both checked. Then it should show only the coincidence of selected geometries?
Last edited by paddle on Thu Nov 10, 2022 5:08 pm, edited 1 time in total.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA