Skip to content

Copy-pasting using keyboard shortcuts should respect input focus [$10 awarded] #257

Closed

Description

@caryoscelus

It seems that now all copy-paste shortcuts are defined globally and act on layers. This is unintuitive and makes copypasting numeric & textual values kinda painful.


The $10 bounty on this issue has been claimed at Bountysource.

Activity

  1. changed the title [-]Copy-pasting using keyboard shortcuts should respect input focus[/-] [+]Copy-pasting using keyboard shortcuts should respect input focus [$10][/+] on Mar 26, 2018
  2. morevnaproject commented on Jul 27, 2019

    @morevnaproject
    Member

    @rodolforg This possibly could be solved in the same way as #629?

  3. rodolforg commented on Jul 28, 2019

    @rodolforg
    Contributor

    @morevnaproject I can do it, but in a hack'ish way :/

  4. rodolforg commented on Jul 28, 2019

    @rodolforg
    Contributor

    DONE :O

  5. added 2 commits that reference this issue on Jul 29, 2019
    3b32b47
    4674ab4
  6. morevnaproject commented on Jul 29, 2019

    @morevnaproject
    Member

    @rodolforg I suspect your fix (PR #898) also covers your previous fixes with Delete/Home/End keys. I mean, now it is possible to make those keys global (at the moment they are only active when CanvasView/LayerPanel focused). That would simplify things a bit. ^__^

  7. morevnaproject commented on Jul 29, 2019

    @morevnaproject
    Member
  8. morevnaproject commented on Jul 29, 2019

    @morevnaproject
    Member

    Reopening, so I will not forget about this

  9. rodolforg commented on Jul 29, 2019

    @rodolforg
    Contributor

    @rodolforg I suspect your fix (PR #898) also covers your previous fixes with Delete/Home/End keys. I mean, now it is possible to make those keys global (at the moment they are only active when CanvasView/LayerPanel focused). That would simplify things a bit. ^__^

    Yep, that could be done. However, we'll lose:

    1. the Home/End key press behavior for list widgets like Layer dock
    2. possible Delete usage for waypoints in Timetrack dock

    It's a matter of choice. If so, just git revert that commits and change Ctrl+delete to Delete.

  10. morevnaproject commented on Jul 29, 2019

    @morevnaproject
    Member
    1. the Home/End key press behaviour for list widgets like Layer dock

    Got it. That's okay, in my opinion.

    1. possible Delete usage for waypoints in Timetrack dock

    This is important for the future. Is it possible to change condition in MainWindow::on_key_press_event() to check if focus is on TimeTrack?

  11. rodolforg commented on Jul 29, 2019

    @rodolforg
    Contributor
    1. possible Delete usage for waypoints in Timetrack dock

    This is important for the future. Is it possible to change condition in MainWindow::on_key_press_event() to check if focus is on TimeTrack?

    Yes, it's possible. Maybe any GtkDrawingArea should have priority?

  12. added a commit that references this issue on Aug 17, 2019
  13. morevnaproject commented on Aug 17, 2019

    @morevnaproject
    Member

    Maybe any GtkDrawingArea should have priority?

    Maybe, but I am not sure. IIRC, we do not have much GtkDrawingArea widgets yet...

    I have made modifications for "Delete" key - 03d322a

    For Home/End keys I left things as they are. ^__^

  14. morevnaproject commented on Sep 18, 2019

    @morevnaproject
    Member
  15. changed the title [-]Copy-pasting using keyboard shortcuts should respect input focus [$10][/-] [+]Copy-pasting using keyboard shortcuts should respect input focus [$10 awarded][/+] on Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions