Bug 572939 - Save Resources dialog: Improve usability by better buttons labeling and enablement
Summary: Save Resources dialog: Improve usability by better buttons labeling and enabl...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.19   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.21 M3   Edit
Assignee: Holger Voormann CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on: 573221
Blocks: 574014
  Show dependency tree
 
Reported: 2021-04-18 09:02 EDT by Holger Voormann CLA
Modified: 2021-07-30 10:39 EDT (History)
3 users (show)

See Also:


Attachments
Screen shot of fix (35.53 KB, image/png)
2021-04-19 04:35 EDT, Matthias Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Voormann CLA 2021-04-18 09:02:42 EDT
If more than one editor is dirty, the "Save Resources" dialog is shown when exiting (File > Exit) or when closing all editors (Ctrl+Shift+W):

(a) In order not to save files/resources, you must first click on "Deselect All" and then on "Save Selected". It feels wrong to me when I have to click "Save Selected" for don't save.

(b) The "Select All" button is enabled even when all resources are selected and the "Deselect All" button is enabled even when no resource is selected. Hitting the button in such a case will have no effect.

(c) The button labels "Select All" and "Deselect All" make the concept of the selection explicit to the user: the resources to be saved must be added to the selection which then has to be confirmed. When asked which resources to save, I just want to say "All" or "None" instead of explicitly putting the resources into a selection that can then be submitted for saving.
Comment 1 Eclipse Genie CLA 2021-04-18 09:06:03 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/179468
Comment 2 Matthias Becker CLA 2021-04-19 04:35:56 EDT
Created attachment 286160 [details]
Screen shot of fix

(In reply to Eclipse Genie from comment #1)
> New Gerrit change created:
> https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/179468

If you de-select all "Cancel" and "Don't Save" do the same. This feels a bit strange to me.

But this was the same with "Cancel" and "Save Selected" to this we could live with this. But "Don't Save" is much better then "Save Selected" because nothing is saved in that case.
Comment 3 Tobias Melcher CLA 2021-04-19 04:57:39 EDT
(In reply to Holger Voormann from comment #0)
> If more than one editor is dirty, the "Save Resources" dialog is shown when
> exiting (File > Exit) or when closing all editors (Ctrl+Shift+W):
> 
> (a) In order not to save files/resources, you must first click on "Deselect
> All" and then on "Save Selected". It feels wrong to me when I have to click
> "Save Selected" for don't save.
I have exactly the same feeling. Thanks so much for providing the change. Changing the label text to "Don't Save" makes absolutely sense and is much better compared to the existing behavior.
Comment 5 Lars Vogel CLA 2021-07-30 10:39:49 EDT
Thanks, Holger. Super nice. Maybe add to N&N? I leave that decision to you.