Skip to content

background changes / bugs color #6797

@JL710

Description

@JL710

Describe the bug
Sometimes the background gets kinda changed until I reopen the document. The background changes in the color of the nextcloud theme (green in my case).
This happens when I copy text or refocus the window.

This does not happen every time, but I cant figure out when it starts and when it ends.

It started after I upgraded from nc 29 to 30.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a markdown document
  2. mark some text (via cursor or keys)
  3. Press ctrl + c or leftclick -> copy
  4. Background is highlighted?

Alternatively:

  1. Go to a markdown document
  2. move the cursor to a specific position
  3. focus another window
  4. click back into the markdown document (does not matter if you focus using mouse or shortcuts)

Alternatively 2.:

  1. Go to a markdown document
  2. find a heading
  3. drag the # on the left side

This one works on Chome as well!
This one works on my Windows Notebook as well

Expected behavior
I would expect it to have the same background after all and just copy the text or do nothing.

Screenshots
If applicable, add screenshots to help explain your problem.
Before Copying:
Image

After copying:
Image

Sometimes I get some kind of border as well:
Image

Server details:

  • Nextcloud version: 30.0.2

Client details:

  • OS: Debian
  • Browser: Firefox
  • Browser version: 133.0.3 (64-bit)
  • Device: desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions