"OK" "Cancel" buttons swapped?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

"OK" "Cancel" buttons swapped?

Gabriel Landini
Hi,
I just noticed (after thinking that some commands did not work properly) that
the "OK" and "Cancel" buttons in dialogs (eg, File>New>image) in different
positions compared to previous versions. Is this on purpose?

It seems that I am wired to keep pressing the old positions as I keep pressing
the wrong buttons. :-)

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Michael Schmid
Hi Gabriel,

this was my suggestion to Wayne, to swap the OK and Cancel on Linux:
In my experience, most Linux programs [I use Ubuntu 16.04] have OK at
the right side, like on the Mac, not at the left side, like under Windows).

Sorry if this causes trouble!

Do you have the impression that the "Windows layout" with Cancel at the
right side is more common under Linux? Which Linux do you have?

[A related topic: Under Linux, I have the impression that most programs
use CTRL-Q for 'Quit', similar to Macs. Currently, ImageJ has the 'Q'
shortcut for quitting only on Macs, not under Linux]


Michael
________________________________________________________________


On 13/03/2018 18:57, Gabriel Landini wrote:

> Hi,
> I just noticed (after thinking that some commands did not work properly) that
> the "OK" and "Cancel" buttons in dialogs (eg, File>New>image) in different
> positions compared to previous versions. Is this on purpose?
>
> It seems that I am wired to keep pressing the old positions as I keep pressing
> the wrong buttons. :-)
>
> Cheers
>
> Gabriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Gabriel Landini
On Tuesday, 13 March 2018 18:31:29 GMT [hidden email] wrote:
> this was my suggestion to Wayne, to swap the OK and Cancel on Linux:
> In my experience, most Linux programs [I use Ubuntu 16.04] have OK at
> the right side, like on the Mac, not at the left side, like under Windows).
> Sorry if this causes trouble!

I should know better as I also use linux... but I never noticed until now...
for some reason I kept cancelling when I meant "go".  I now assume that I was
doing this when I reported that the Duplicate command did not work... it did.
 
> Do you have the impression that the "Windows layout" with Cancel at the
> right side is more common under Linux? Which Linux do you have?

It seems so. I am using Opensuse on KDE. To be sincere I never checked, but
now that you mentioned it: Libre office, Cancel is always at the bottom or the
right.
"Run as root" dialog is: OK, Ignore, Cancel.
Kwrite: Save, Cancel, or: Open ,Cancel.
Gwenview: Save, Discard, Cancel, or: Open, Cancel.
Kmail is: Save, Cancel

When using the JFileChooser in IJ in the daily build
"File Open" dialog has Open. Cancel.
"File Save as" dialog has Save. Cancel.
When *not* using the JFileChooser, it still has Save, Filter Cancel. (!)

As far as I can see there no other program in my install has the Cancel button
on the left.

Perhaps these settings depend on the windows manager, but I would rather
prefer that IJ is consistent with itself (now it is not, as of the other
dialogs are the way round).  I do no know how this is in Ubuntu. Perhaps we
cannot have it both ways.

> [A related topic: Under Linux, I have the impression that most programs
> use CTRL-Q for 'Quit', similar to Macs. Currently, ImageJ has the 'Q'
> shortcut for quitting only on Macs, not under Linux]

Yes, Ctrl-Q is the common key combination.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Michael Schmid
Hi Gabriel,

hmmm, this seems to be a huge mess with Linux!

Under Ubuntu 16.04, with its standard Window manager (Unity), all
open/save dialogs etc. have buttons arranged like "Cancel Save" or
"Cancel Open".
This also applies to the ImageJ (AWT, not JFileChooser) Open/Save dialogs.

All native print dialogs: Cancel Print
(not for ImageJ, which has Swing/JDialog style)

Also the majority of the programs that I am aware of use the 'Macintosh
convention' of the action button at the bottom right:

File Manager (Nautilus), right-click move to: Cancel Select
File Manager (Nautilus), right-click compress: Cancel Create
Software Updater: <remind me later> <Install Now>
Synaptic package Manager, search: Cancel Search
Thunderbird menus: Cancel <Action>
Gimp: Cancel OK
Calendar Add event Cancel Done (but at the top!)
Okular (PDF reader9 Configure menus: Cancel OK
Veusz plot progrem, preferences: Cancel OK
Audacity (audio editor): Cancel OK
VLC Media player: Cancel <Action> (e.g. save Preferences)
Terminal, find: close Find
Archive Manager: Cancel <Action>
ClassicMenu Indicator (programs menu), preferences: Cancel Apply
Vesta crystal structure visualization: Cancel OK
Geany programming editor: Cancel OK
TeXWorks LaTex publishing: Cancel OK
Unity Launcher Folders, Preferences: Cancel Apply

WINDOWS-LIKE - that's the minority on my computer:

LibreOffice menus other than open/save/print: OK or action button first,
then cancel.
GHex (hex editor), goto byte: OK Cancel
Arduino (microcontroller programming), goto line: OK Cancel
Scribus (publishing): OK Cancel
jEdit editor: OK Cancel

MIXED:

LyX LateX Editor: OK Cancel, but some notifications with Cancel OK
FileZilla file transfer program, mostly Cancel OK (not 100% consistent)
--

For me, it would not hurt very much to revert to the 'Windows style',
but it would be less consistent with most other programs (and the native
ImageJ save/close)

The newest version of Ubuntu Linux uses Gnome - Does anyone know how it
is there?


Michael
________________________________________________________________

On 13/03/2018 21:08, Gabriel Landini wrote:

> On Tuesday, 13 March 2018 18:31:29 GMT [hidden email] wrote:
>> this was my suggestion to Wayne, to swap the OK and Cancel on Linux:
>> In my experience, most Linux programs [I use Ubuntu 16.04] have OK at
>> the right side, like on the Mac, not at the left side, like under Windows).
>> Sorry if this causes trouble!
>
> I should know better as I also use linux... but I never noticed until now...
> for some reason I kept cancelling when I meant "go".  I now assume that I was
> doing this when I reported that the Duplicate command did not work... it did.
>  
>> Do you have the impression that the "Windows layout" with Cancel at the
>> right side is more common under Linux? Which Linux do you have?
>
> It seems so. I am using Opensuse on KDE. To be sincere I never checked, but
> now that you mentioned it: Libre office, Cancel is always at the bottom or the
> right.
> "Run as root" dialog is: OK, Ignore, Cancel.
> Kwrite: Save, Cancel, or: Open ,Cancel.
> Gwenview: Save, Discard, Cancel, or: Open, Cancel.
> Kmail is: Save, Cancel
>
> When using the JFileChooser in IJ in the daily build
> "File Open" dialog has Open. Cancel.
> "File Save as" dialog has Save. Cancel.
> When *not* using the JFileChooser, it still has Save, Filter Cancel. (!)
>
> As far as I can see there no other program in my install has the Cancel button
> on the left.
>
> Perhaps these settings depend on the windows manager, but I would rather
> prefer that IJ is consistent with itself (now it is not, as of the other
> dialogs are the way round).  I do no know how this is in Ubuntu. Perhaps we
> cannot have it both ways.
>
>> [A related topic: Under Linux, I have the impression that most programs
>> use CTRL-Q for 'Quit', similar to Macs. Currently, ImageJ has the 'Q'
>> shortcut for quitting only on Macs, not under Linux]
>
> Yes, Ctrl-Q is the common key combination.
>
> Cheers
>
> Gabriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Gabriel Landini
Hi Michael,
On Tuesday, 13 March 2018 21:54:46 GMT [hidden email] wrote:
> hmmm, this seems to be a huge mess with Linux!

Audacity, Gimp and Arduino, yes as you said.

But Firefox, Okular, Amarok and VLC is Open, Cancel here.
BTW, Okular was developed by KDE, so no surprise that it follows the KDE
defaults.

It seems that indeed this can be handled by the GUI toolkits:
https://stackoverflow.com/questions/3469087/ok-and-cancel-button-on-right-or-left-side-of-the-dialog-window

Can IJ follow the OS GUI though some toolkit setting or is this hard wired
now? Not that it is too important, but it might potentially mess up some
things like existing code using the IJ Robot, for example as buttons are now
in a different place.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Wayne Rasband-2
In reply to this post by Gabriel Landini
> On Mar 13, 2018, at 1:57 PM, Gabriel Landini <[hidden email]> wrote:
>
> Hi,
> I just noticed (after thinking that some commands did not work properly) that
> the "OK" and "Cancel" buttons in dialogs (eg, File>New>image) in different
> positions compared to previous versions. Is this on purpose?

With the latest daily build (1.52a3), this is user-configurable on Linux. The default is “OK” button on the right but this can be changed by enabling “Cancel button on right” in the Edit>Options>Appearance dialog box.

-wayne

> It seems that I am wired to keep pressing the old positions as I keep pressing
> the wrong buttons. :-)
>
> Cheers
>
> Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "OK" "Cancel" buttons swapped?

Gabriel Landini
On Tuesday, 13 March 2018 23:30:58 GMT [hidden email] wrote:
> With the latest daily build (1.52a3), this is user-configurable on Linux.
> The default is “OK” button on the right but this can be changed by enabling
> “Cancel button on right” in the Edit>Options>Appearance dialog box.

Wow, thanks Wayne. That was quick!

Best wishes,

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html