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

Ctrl+Backspace inserts new item into unordered list with Firefox #5839

Open
PatrickJosh opened this issue May 27, 2024 · 2 comments
Open

Ctrl+Backspace inserts new item into unordered list with Firefox #5839

PatrickJosh opened this issue May 27, 2024 · 2 comments
Assignees
Labels
3. to review bug Something isn't working

Comments

@PatrickJosh
Copy link

Describe the bug
Since the update to Nextcloud 29, pressing Ctrl+Backspace in an unordered list behaves weirdly. When pressing it with more than one word left in the current line/item, it behaves normally and deletes the word before the cursor. However, when pressing it with only one word left in the current line, it inserts a new item below and focusses this item. However, it only happens with Firefox, not with Chromium; there, it behaves normally.
Have a look at the following video to get a better understanding:

Schermopname.van.2024-05-27.17-51-16.mp4

In the video, I only press Ctrl+Backspace, nothing else.

To Reproduce
Steps to reproduce the behavior:

  1. Have an unordered list
  2. Press Ctrl+Backspace with only one item left in the line

Expected behavior
The last remaining word is deleted as well.

Screenshots
See video above.

Server details:

  • Nextcloud version: 29.0.1
  • PHP Version: 8.3
  • Database: mariadb Ver 15.1 Distrib 10.5.23-MariaDB, for Linux (x86_64) using EditLine wrapper

Client details:

  • OS: Fedora Linux 40
  • Browser: Firefox 125
  • Device: Laptop
Logs

Nextcloud log (data/nextcloud.log)

Probably not necessary; if it is, just tell me.

Browser log

console-export-2024-5-27_18-3-41.txt

@PatrickJosh PatrickJosh added the bug Something isn't working label May 27, 2024
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Jun 12, 2024
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Office team Jun 12, 2024
@mejo- mejo- removed the upstream label Jun 12, 2024
@mejo-
Copy link
Member

mejo- commented Jun 12, 2024

I can reproduce this on latest Text main branch, but not in a Tiptap sandbox.

@luka-nextcloud luka-nextcloud self-assigned this Jun 20, 2024
@luka-nextcloud luka-nextcloud moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Office team Jun 24, 2024
@luka-nextcloud luka-nextcloud moved this from 🏗️ In progress to 👀 In review in 📝 Office team Jun 27, 2024
@juliusknorr
Copy link
Member

From #5962 :

Let me put some references here as well:
https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md#1337-2024-05-31
ProseMirror/prosemirror-view@8c9a7d2

Was bumped in tiptap upstream for the upcoming 2.5.0 release with ueberdosis/tiptap@747985b

@juliusknorr juliusknorr moved this from 👀 In review to 🛑 On hold in 📝 Office team Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
Status: 🛑 On hold
Development

Successfully merging a pull request may close this issue.

4 participants