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

Manually handle misbehaving keyboard shortcuts #1092

Merged
merged 5 commits into from Oct 28, 2019

Conversation

deanwhillier
Copy link
Contributor

@deanwhillier deanwhillier commented Oct 25, 2019

Before submitting, please confirm you've

Please provide the following information:

Summary
There are a number of menu bar keyboard shortcuts that have not been working properly since 4.3.0. We suspect that this may be related to https://community-daily.mattermost.com/core/pl/b95bi44r4bbnueqzjjxsi46qiw. While we investigate a proper way to handle the issue, this PR manually intercepts and handles several of the malfunctioning keyboard shortcuts including zooming, redo/undo. Copy/cut/paste are included for good measure.

Also bumps minor version of Electron to v5.0.11 and upgrades context menu package to latest stable to resolve https://mattermost.atlassian.net/browse/MM-19324 (needs testing).

Issue link
MM-19198
MM-19032
MM-19324

@deanwhillier deanwhillier added 2: Dev Review Requires review by a core committer CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Oct 25, 2019
@deanwhillier deanwhillier added this to the v4.3.0 milestone Oct 25, 2019
Copy link
Contributor

@Willyfrog Willyfrog left a comment

Choose a reason for hiding this comment

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

Looks good!

@devinbinnie devinbinnie removed the 2: Dev Review Requires review by a core committer label Oct 28, 2019
@deanwhillier deanwhillier added the 4: Reviews Complete All reviewers have approved the pull request label Oct 28, 2019
@deanwhillier deanwhillier merged commit 81c32c2 into master Oct 28, 2019
@deanwhillier deanwhillier deleted the keyboard-shortcut-fixes branch October 28, 2019 15:28
@mattermod
Copy link
Contributor

@deanwhillier
Error trying doing the automated Cherry picking. Please do this manually


deanwhillier added a commit that referenced this pull request Nov 20, 2019
* manually handle misbehaving keyboard shortcuts

MM-19198
MM-19032

includes zooming, redo/undo & copy/cut/paste for good measure

* manually handle misbehaving menu items

* bump electron minor version

* remove temp log import

* update context menu package version
@amyblais amyblais added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Nov 20, 2019
@ghost
Copy link

ghost commented Dec 30, 2019

When will this fix make it into the desktop app?

@jazzzz
Copy link

jazzzz commented Jan 13, 2020

I found that it breaks Ctrl-c/Ctrl-v on Windows 10 at least, see #1118.

JtheBAB pushed a commit to JtheBAB/desktop that referenced this pull request Jan 17, 2020
* manually handle misbehaving keyboard shortcuts

MM-19198
MM-19032

includes zooming, redo/undo & copy/cut/paste for good measure

* manually handle misbehaving menu items

* bump electron minor version

* remove temp log import

* update context menu package version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants