nextcloud / nextcloud/notes

Ctrl+V with Dvorak keymap enables Zen mode instead of pasting the clipboard

Open
#1,996 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Please make a clear and concise description of what the bug is.

Steps to reproduce

  1. Use Dvorak keymap on OS side
  2. Use "Plain text" view on Notes web UI
  3. Copy some string into the clipboard
  4. Attempt to paste to a note by C-v in Dvorak keymap (it is physically C-. in QWERTY keymap)
Expected behaviour

Content in the clipboard is pasted to the note.

Actual behaviour

Editor goes into Zen mode (as if I pressed C-. instead of C-v).

Screenshots

If applicable, add screenshots to help explain your problem.

N/A

Server

Please complete the following information.

  • Notes app version: 6.0.2
  • Nextcloud version: Nextcloud Hub 26 Spring (34.0.3)
  • OS: Linux (Debian 13.6)
  • Web server: Apache2 2.4.68-1~deb13u1
  • PHP version: php 8.4.24-1~deb13u1
  • Database: MariaDB 11.8.6-0+deb13u1

Nextcloud configuration:

``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "34.0.3.2", "overwrite.cli.url": "https:\/\/", "overwriteprotocol": "https", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0 }, "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "theme": "", "loglevel": 2, "default_phone_region": "JP", "twofactor_enforced": "true", "twofactor_enforced_groups": [ "admin" ], "twofactor_enforced_excluded_groups": [], "overwritehost": "", "htaccess.RewriteBase": "\/", "maintenance_window_start": 18, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "allow_local_remote_servers": "True" } } ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 154.0.1
  • OS: Gentoo Linux

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shortcut handling in the Notes web UI's Plain text view with a Dvorak keymap, then trace how C-v and the Zen mode shortcut are interpreted. Done means C-v pastes clipboard content while the Zen mode shortcut still works as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.