Skip to content

Unreliable text field in multiple Nheko versions #2010

@hardBSDk

Description

@hardBSDk

Describe the bug

If you mouse click multiple times in the text field while writing it randomly wipe the text, sometimes the text field can't be used once the text is wiped.

I tried to report this bug years ago but it's hard to reproduce, it's also the reason why I don't use Nheko anymore because I lost big messages in the past because of this.

To Reproduce

I'm not sure if this reproduction method will work, I tried my best.

  1. Install Nheko from Flathub in KDE Plasma Wayland (probably any Wayland compositor is affected)
  2. Write some text in the text field of a room
  3. Click in different or same parts of the text until it's wiped

What happened?

Big messages were lost while writing, typos require me to click on different parts of it to correct and it probably triggered the bug.

Expected behavior

Don't wipe the text field when the text cursor is changed with mouse clicks.

Screenshots

Hard to record.

Version

Latest and previous

Operating system

Linux

Installation method

Flathub

Qt version

No response

C++ compiler

No response

Desktop Environment

KDE Plasma 6.x

Did you use profiles?

  • Profiles used?

Relevant log output

Hard to collect and probably not useful.

Backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions