Feature #1165

RCP: add keyboard shortcuts to scale and pan in the charts

Ajouté par Sebastien Jacquot il y a presque 11 ans. Mis à jour il y a plus de 5 ans.

Statut:In Progress Début:05/12/2014
Priorité:Normal Echéance:
Assigné à:- % réalisé:

50%

Catégorie:Charts Temps passé: -
Version cible:TXM 0.X.X

Description

Add keyboard shortcuts to scale and pan in the charts.
Zoom/scale:
  • CTRL/CMD +
  • CTRL/CMD -
  • CTRL/CMD + (numpad)
  • CTRL/CMD - (numpad)
Pan:
  • CTRL/CMD + Arrows keys
Reset view:
  • CTRL/CMD 0
  • CTRL/CMD 0 (numpad)

Validation tests

  • create some charts with JFC charts engine
  • zoom, pan and reset view with keyboard using all the above specified keys
  • create some charts with R charts engine
  • zoom, pan and reset view with keyboard using all the above specified keys
  • please provide the operating system used for the tests

Historique

#1 Mis à jour par Sebastien Jacquot il y a presque 11 ans

Done. The zoom only works with the + and - of the keypad, must I add the others + and - keys of keyboard ?

#2 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Sujet changé de add keyboard shortcuts to scale and pan in the charts à RCP: add keyboard shortcuts to scale and pan in the charts

#3 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Description mis à jour (diff)

#4 Mis à jour par Sebastien Jacquot il y a presque 11 ans

The CTRL zoom only works after having clicked inside the SVG component with R charts engine/SVG Batik chart editor.
It may be a global SVG Batik editor focus problem, at this moment only the JFC chart editor focus system has been managed.

#5 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

BUG: the keyboard zoom on Mac OS X uses the CTRL key as modifier. It should use the CMD key modifier.

#6 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)
  • % réalisé changé de 80 à 90

#7 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Sebastien Jacquot a écrit :

BUG: the keyboard zoom on Mac OS X uses the CTRL key as modifier. It should use the CMD key modifier.

Fixed.

#8 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • % réalisé changé de 90 à 70

Need to add non numeric keypad + (KeyEvent.VK_EQUALS) and - (KeyEvent.VK_6) keys for keyboards without keypad.
Need to share these keys def between CustomChartPanel and SVGPanel.
Add CTRL/CMD + 0 to reset zoom ?

#9 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • Version cible changé de TXM 0.7.7 à TXM 0.7.8

#10 Mis à jour par Sebastien Jacquot il y a environ 10 ans

  • Description mis à jour (diff)

#11 Mis à jour par Matthieu Decorde il y a environ 10 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#12 Mis à jour par Sebastien Jacquot il y a environ 10 ans

  • Description mis à jour (diff)
  • % réalisé changé de 70 à 80

#13 Mis à jour par Sebastien Jacquot il y a environ 10 ans

  • Description mis à jour (diff)

#14 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8

#15 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Statut changé de Feedback à In Progress
  • % réalisé changé de 80 à 70

It seems the CTRL - (with the 6 key) doesn't work on laptop with Linux.

#16 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Statut changé de In Progress à Feedback
  • % réalisé changé de 70 à 80

#17 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

BP: - and 0 doesn't seem to work with a laptop and Ubuntu

#18 Mis à jour par Sebastien Jacquot il y a plus de 8 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#19 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

#20 Mis à jour par Sebastien Jacquot il y a presque 7 ans

  • Version cible changé de TXM 0.8.0 à TXM 0.8.2

New Linux tests:

Non keypad CTRL+6 and CTRL+0 doesn't work.
Keypad: all OK.

#21 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.1

#22 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Version cible changé de TXM 0.8.1 à TXM 0.8.2
  • % réalisé changé de 80 à 50

#23 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Statut changé de Feedback à In Progress

#24 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.X.X

Formats disponibles : Atom PDF