Skip to content

cannot assign some multi-key shorcuts #1294

Open
@axd1967

Description

@axd1967

Expected Behaviour

Shortcut dialog (F7) accepts key definitions

Actual Behaviour

The dialog still allows keys to be executed while it should absorb the keys, especially when defining a shortcut.

Two issues:

  • some key definitions still trigger actions outside the dialog
  • some key definitions cannot be created

Steps to reproduce

  1. open an ocular (Ctrl+o)
  2. open shortcut editor (F7)
  3. assign Alt+c to an empty slot
  4. observe that this is not recorded, but will instead show (or close) ocular the crosshairs
  5. assign Alt+i,1 to an empty slot
  6. assign Alt+i, 2 to another empty slot
  7. observe that it is not possible to assign the second shortcut

workaround

Manually add the desired key shortcuts in config.ini:

[shortcuts]
actionHide_Satellite_Group_geostationary = "" Alt+I,0
actionShow_Satellite_Group_geostationary = "" Alt+I,1

And check in editor (F7) that the keys are assigned

System

  • Stellarium version: Stellarium 0.20.3-2290e7e5de [master]

  • Operating system: KUbuntu 20.04

  • Graphics Card: <Manufacturer (likely Intel, NVidia, AMD?), Model (HD, Geforce, Radeon..., with model number), driver version?>

  • Screen type (if applicable): Resolution, HighDPI, scaling

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.

possibly related to #1166

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething likely wrong in the codeimportance: mediumA bit annoying, minor miscalculation, but no crashstate: confirmedA developer can reproduce the issue

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions