Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outline: fix keybinding collision on linux #7694

Merged
merged 1 commit into from
Apr 29, 2020
Merged

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes #6423

The commit fixes a keybinding collision on Linux between:

  • toggling the outline-view
  • performing the command format document

Due to priority, the format document will take precedence over being able to toggle the outline view based on the decision taken in the issue: #6423 (comment)

How to test

Linux

  1. with a file opened, perform 'format document' using the keyboard shortcut
    (it should successfully format the document instead of toggling the outline view)

Other OS

  1. with a file opened, perform 'format document' using the keyboard shortcut
    (should work correctly)
  2. perform 'toggle outline view' using the keyboard shortcut
    (should successfully open the outline-view)

Review checklist

Reminder for reviewers

Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com

The commit fixes a keybinding collision between toggling
the outline view, and performing the operation 'format document'.

Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added outline issues related to the outline keybindings issues related to keybindings OS/Linux issues related to the Linux OS labels Apr 29, 2020
@vince-fugnitto vince-fugnitto self-assigned this Apr 29, 2020
@akosyakov
Copy link
Member

@sunix Could you check please that it works for you? I am not on Linux unfortunately. I will check whether format document and outline still work on Mac.

@vince-fugnitto
Copy link
Member Author

@sunix Could you check please that it works for you? I am not on Linux unfortunately. I will check whether format document and outline still work on Mac.

I managed to test on both mac and linux, but unfortunately I don't have a windows machine.

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works for me on mac, but it would be good if someone double check on linux besides @vince-fugnitto

Vince, can you ping your teammates?

@vince-fugnitto vince-fugnitto requested a review from lmcbout April 29, 2020 14:13
@vince-fugnitto
Copy link
Member Author

Vince, can you ping your teammates?

@lmcbout @Anasshahidd21 do you mind trying the pull-request on Linux?

@lmcbout
Copy link
Contributor

lmcbout commented Apr 29, 2020

@vince-fugnitto I will test

Copy link
Contributor

@lmcbout lmcbout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on UBUNTU 18.04
Works fine, it format the document and is not opening the Outline view

Copy link
Contributor

@Anasshahidd21 Anasshahidd21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on ubuntu, works fine for me. Does not toggle the outline view anymore for me.

@sunix
Copy link
Contributor

sunix commented Apr 29, 2020

Tested on RHEL8 + Chrome, works great :)

Copy link
Contributor

@RomanNikitenko RomanNikitenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Fedora - formatting works well for me!
thank you very much for fix!

@vince-fugnitto vince-fugnitto merged commit 5c64e76 into master Apr 29, 2020
@vince-fugnitto vince-fugnitto deleted the vf/gh-6423 branch April 29, 2020 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keybindings issues related to keybindings OS/Linux issues related to the Linux OS outline issues related to the outline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[outline] 'format document' and 'toggle outline view' have a keybinding collision
6 participants