Closed Bug 1735999 Opened 4 years ago Closed 4 years ago

Duplicate new lines when entered from clipboard

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mliska, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Steps to reproduce:

Using the official Thunderbird 91.2.0 under Wayland in Gnome (openSUSE Tumbleweed) and with:
user_pref("mail.identity.id1.compose_html", false);

I see duplicate new line when I paste something from gnome-terminal (other apps are file - Chrome, xterm).

Can you test X11 backend? Is that Wayland specific?

Flags: needinfo?(mliska)

Is there any option I can start an app with X11 even though I'm using primarily Wayland?

Yes, FF/TB runs without Wayland backend by default, you need to set MOZ_ENABLE_WAYLAND=1 env variable to enable it.
I expect you have it in launch script so just remove it and launch TB without it.

Oh, you are right. I used:

env | grep MOZ_ENABLE_WAYLAND
MOZ_ENABLE_WAYLAND=0

which enabled Wayland. Now doing unset MOZ_ENABLE_WAYLAND, I can see that
Window Protocol xwayland

And the issue is gone!

Flags: needinfo?(mliska)

Good to hear so. The 0/1 mistake is already fixed in latest nightly.

Ale we moved to Gtk clipboard code in FF94 so this should be fixed in next TB line.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: