NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 44 - general key bindings not present in bug reporting window
general key bindings not present in bug reporting window
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Linux
: P4 normal
Assigned To: Mark Longair
Depends on:
Blocks:
 
Reported: 2009-04-10 10:59 CDT by Albert Cardona
Modified: 2009-09-29 17:39 CDT
1 user (show)

See Also:

Description Albert Cardona 2009-04-10 10:59:51 CDT
Useful Java System Properties:
  os.arch => i386
  os.name => Linux
  os.version => 2.6.24-21-eeepc
  java.version => 1.6.0_06
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_06-b02
  java.vm.name => Java HotSpot(TM) Client VM
  java.vm.version => 10.0-b22
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.X11GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => gnome
  file.separator => /

Bug Report Text:

For example:
 * TAB doesn't work to switch between text fields
 * control+a doesn't select all text
 * control+z doesn't undo

Also, on entering the summary and the full description text boxes, the current text ( a default meta explanation) should be selected, so that on starting to type it disappears.
This could be done by adding a focus listener, and inspecting if the text starts and ends with square brackets.
Comment 1 Mark Longair 2009-04-10 13:27:16 CDT
Thanks for reporting this.  The Tab and highlighting points are easy to fix, and I'll get to those as soon as possible.  The others are probably best deal with by switching to use a JTextArea, which gives you Ctrl-A by default and makes it easier to implement Undo / Redo, if I recall correctly.  I assume there's no particular reason not to use Swing components for this plugin?
Comment 2 Johannes Schindelin 2009-04-19 19:51:24 CDT
Swing is fine.
Comment 3 Mark Longair 2009-09-28 14:12:22 CDT
Could you try out the branch bug-submitter-fixes?

  http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=fiji.git;a=shortlog;h=refs/heads/bug-submitter-fixes

I think this should fix all the problems in this report, namely:

* Tab and Shift-Tab work as expected.
* Control-Z / Control-Y now do Undo / Redo in the description box
* Control-A selects all
* When focus first goes to the summary and description fields, the default text to replace is highlighted

If that's OK, please let me know and I'll close the bug.

many thanks,
mark
Comment 4 Mark Longair 2009-09-29 17:39:47 CDT
I haven't heard back, but I think these things are all fixed.  Please open a new bug if there are still problems.

many thanks,
mark