Task Views 'Close/Cancel' & 'Ok'
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Task Views 'Close/Cancel' & 'Ok'
In FC, most of the tasks cancel & OK buttons are outside the taskboxes, on top of the task View.
I think this is not a good UI decision. for several reasons:
1 - The most intuitive place to find a command 'OK/Cancel' buttons are inside the command dialog. Having it outside is still understandable now because the TaskView kind of act as the command dialog but it's strange because taskview is not always used for a single task (see Sketcher widgets, PartDesign 'Start Page', Draft 'Create objects'...).
2 - It has led to a redundant 'Leave sketch' button in Sketcher that has been added for some kind of 'UI consistency' between taskviews. But this is imo the wrong way of handling a bad situation. The real problem is that the Cancel buttons are not where they should be.
3 - If someone want to use transparency for the task view (glass addon or coming RT stuff), then the Ok/Cancel button are hovering in empty space rather than being in the task box on solid ground.
So my suggestion is to :
A - Put the Close / Ok buttons where they should be in the individual taskboxes that actually need them.
B - remove sketcher Close button that is cluttering the already cluttered taskview.
The only downside, is that veterans will have to remap their brain on to where to find the button, which is going to annoy them 5 minutes. But keeping a bad UI for this reason is anti-improvement.
See the following mockup, on the left current situation, on the right proposal.
I think this is not a good UI decision. for several reasons:
1 - The most intuitive place to find a command 'OK/Cancel' buttons are inside the command dialog. Having it outside is still understandable now because the TaskView kind of act as the command dialog but it's strange because taskview is not always used for a single task (see Sketcher widgets, PartDesign 'Start Page', Draft 'Create objects'...).
2 - It has led to a redundant 'Leave sketch' button in Sketcher that has been added for some kind of 'UI consistency' between taskviews. But this is imo the wrong way of handling a bad situation. The real problem is that the Cancel buttons are not where they should be.
3 - If someone want to use transparency for the task view (glass addon or coming RT stuff), then the Ok/Cancel button are hovering in empty space rather than being in the task box on solid ground.
So my suggestion is to :
A - Put the Close / Ok buttons where they should be in the individual taskboxes that actually need them.
B - remove sketcher Close button that is cluttering the already cluttered taskview.
The only downside, is that veterans will have to remap their brain on to where to find the button, which is going to annoy them 5 minutes. But keeping a bad UI for this reason is anti-improvement.
See the following mockup, on the left current situation, on the right proposal.
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: Task Views 'Close/Cancel' & 'Ok'
There are task panels with multiple sections. See image. Where would you then place these buttons?
- Attachments
-
- Close_button_task_panel.png (19.63 KiB) Viewed 1471 times
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Task Views 'Close/Cancel' & 'Ok'
The buttons are above because like that no matter how long the task dialog you don't need to scroll down to use them, moving the buttons downs is a downgrade, I specially experienced this with the appearance dialog which had the close button bellow and was a PITA, not too long ago it was finally moved to be above the widgets.
I would only be onboard with moving the buttons bellow if the dialogs are all put in a scroll widget as openbrain suggested for sketcher in another thread, such that the buttons are static and always visible. But note that a change like this would have to be done in all dialogs at the same time otherwise we will en up with a horrible inconsistent mess.
Above removing the close button in sketcher, in any case I would remove the toolbar button, IMO it is important to have internal consistency, most dialogs have a close button or ok/cancel buttons there, the user expect to see it there. Whenever I exit sketcher with the mouse I use that button because FreeCAD has trained me to use buttons there to end a task.
I would only be onboard with moving the buttons bellow if the dialogs are all put in a scroll widget as openbrain suggested for sketcher in another thread, such that the buttons are static and always visible. But note that a change like this would have to be done in all dialogs at the same time otherwise we will en up with a horrible inconsistent mess.
Above removing the close button in sketcher, in any case I would remove the toolbar button, IMO it is important to have internal consistency, most dialogs have a close button or ok/cancel buttons there, the user expect to see it there. Whenever I exit sketcher with the mouse I use that button because FreeCAD has trained me to use buttons there to end a task.
Re: Task Views 'Close/Cancel' & 'Ok'
This is arch wall tool right? Are there many tools like this one?
I don't know this tool so it's hard to say, but maybe it shouldn't be split in 2 task boxes in the first place? It does look a bit odd.
I just tried it. It's UI is rather suboptimal/confusing. You even have 2 "Lenght" spinboxes at step 2... I'm not sure this should be taken as an example.
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: Task Views 'Close/Cancel' & 'Ok'
Another solution is that they can be put on top of the taskboxes, but inside the taskbox.adrianinsaval wrote: ↑Tue Nov 22, 2022 11:35 am The buttons are above because like that no matter how long the task dialog you don't need to scroll down to use them, moving the buttons downs is a downgrade, I specially experienced this with the appearance dialog which had the close button bellow and was a PITA, not too long ago it was finally moved to be above the widgets.
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: Task Views 'Close/Cancel' & 'Ok'
Yes, PartDesign_AdditivePipe the various PD primitives, Part_Primitives, the Part_CheckGeometry results page and probably others, not to mention what addons may do, this is a basic interface concept that can't just be removed out of nowhere.
Some of these also have separate widgets becuase they are reusing the UI from othere tasks, arch wall thing it's probably reusing the draft line ui and the PD primitives reuse the attachment dialog.
Re: Task Views 'Close/Cancel' & 'Ok'
Let's not forget the Sketcher task panel which has 4 sections.
Re: Task Views 'Close/Cancel' & 'Ok'
Sketcher has 4 widgets. They are not really conceptual 'tasks'. Which is why the Close button makes no sense. It's similar to part design 'Start page' taskboxe.
Looking quickly at the tools you mentioned Adrianinsaval, it feels like many just have poor ui.
Sharing code is not an excuse. They don't have to share taskboxes, they can share custom widgets the exact same way.
Please see below the mockup on the right and current pipe on the left. The pipe tool just looks weird with the settings separated in individual taskboxes.
Looking quickly at the tools you mentioned Adrianinsaval, it feels like many just have poor ui.
Sharing code is not an excuse. They don't have to share taskboxes, they can share custom widgets the exact same way.
Please see below the mockup on the right and current pipe on the left. The pipe tool just looks weird with the settings separated in individual taskboxes.
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
- MisterMaker
- Posts: 744
- Joined: Mon Sep 21, 2020 7:41 am
- Contact:
Re: Task Views 'Close/Cancel' & 'Ok'
Couldn't we put it down the bottom but outside the scroll area?
On top outside the scroll area is also an idea.
On top outside the scroll area is also an idea.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Task Views 'Close/Cancel' & 'Ok'
that's not really the full dialog though
If you are telling me that you want to make all dialogs have a single groupbox I say the groupboxes make no sense whatsoever and instead of moving the ok/cancel/close buttons inside of them you should move the dialog into the main task dialog widget and remove the groupbox. But I disagree with the idea of unifying all of them because there are situations where these separate groupboxes make sense and should be kept.
IMO there is nothing to gain by moving the ok/cancel/close buttons, no space is gained, no UI inconsistency is solved, no confusing concept clarified. It's lots of work, but no improvement. The close button in sketcher is debatable but the rest is better as is now IMO.
and I disagree with your idea that sketcher's dialog is like the PD dialog, the one in PD is just a filler when not in edit mode offering commands that are already present in the toolbar, the sketcher dialog is used while editing a sketch and is only visible when the sketch is in edit mode. It is indeed a task dialog, even more so if/once your widget is merged.If you are telling me that you want to make all dialogs have a single groupbox I say the groupboxes make no sense whatsoever and instead of moving the ok/cancel/close buttons inside of them you should move the dialog into the main task dialog widget and remove the groupbox. But I disagree with the idea of unifying all of them because there are situations where these separate groupboxes make sense and should be kept.
IMO there is nothing to gain by moving the ok/cancel/close buttons, no space is gained, no UI inconsistency is solved, no confusing concept clarified. It's lots of work, but no improvement. The close button in sketcher is debatable but the rest is better as is now IMO.