laurent22 / joplin

Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
44.26k stars 4.79k forks source link

Rendering with NVIDIA and Wayland on Fedora Linux. #9735

Open kenkenspin opened 5 months ago

kenkenspin commented 5 months ago

Operating system

Linux

Joplin version

2.14.9, 2.13.14

Desktop version info

Joplin 2.14.9 (prod, linux)

クライアントID: fb27add3a5a84f439eedf96999e7674f 同期バージョン: 3 プロファイルバージョン: 45 キーチェーンのサポート: No

リビジョン: 639bfc4

Simple Backup: 1.3.6


Fedora Linux 39 GNOME 45 NVIDIA 545.29.06 Wayland

Current behaviour

  1. Open Joplin.
  2. header # input any character.
  3. add another header.
  4. Jumpy the rendering.

Expected behaviour

it can input character then smooth rendering.

Logs

kenkenspin commented 5 months ago

attach Video. Screencast from 2024-01-17 15-53-13.webm

personalizedrefrigerator commented 5 months ago

Thank you for reporting this!

Does this also happen in the rich text editor (or just the markdown editor)? Does this happen if the beta markdown editor is enabled in settings?

kenkenspin commented 5 months ago

Thanks for your mention!

This happen in the just markdown editor. And it also happen in the beta markdown editor.

The above video I uploaded is from a screencast and is smooth, so I will send you the one I shot with my iPhone. You will see that it is more awkward.

https://github.com/laurent22/joplin/assets/25343413/ccca24ca-73d3-4ec7-acad-60bfb6716181

personalizedrefrigerator commented 5 months ago

By default Joplin uses XWayland to display graphics (it uses an X11 compatibility layer).

If you're able to launch Joplin from a terminal, could you try launching it with Wayland support?

For reference, this is the command I use to launch Joplin on Wayland (source):

joplin-desktop --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
kenkenspin commented 5 months ago

Thanks advise @personalizedrefrigerator

I try command, smooth input character.

But can select only one menu, move cursor to other menu it dont show othe menu.

Additionly it cannot input via ibus (ibus-mozc or ibus-anthy)method (Japanese language).

rafal06 commented 4 months ago

It's an issue with XWayland under Nvidia proprietary drivers. It happens with every XWayland app afaik, together with flickering.

github-actions[bot] commented 3 months ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

kenkenspin commented 3 months ago

@rafal06 thanks for reply.

I have some problems on other electron app.

gerald-drissner commented 3 months ago

I have the same problem, but starting from the terminal with the following parameters fixed the issue on kde plasma 6 wayland:

joplin-desktop --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland

github-actions[bot] commented 2 months ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

rafal06 commented 2 months ago

I'll just leave this here https://nostalebots.xyz/

github-actions[bot] commented 1 month ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

rafal06 commented 1 month ago

shut up, bot

personalizedrefrigerator commented 1 month ago

Additionly it cannot input via ibus (ibus-mozc or ibus-anthy)method (Japanese language).

In Joplin > 3.0.6, the --enable-wayland-ime flag might help with this.

kenkenspin commented 2 weeks ago

Thanks for reply @personalizedrefrigerator.

I use Joplin-3.0.9.AppImage with --enable-wayland-ime, it can work with fcitx-mozc, can input Japanese type on wayland!

It need to use on KDE. GNOME does not support text-input-v1, because Electron App does not support to run with gtk4. More details as https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland

I am happy that it can type Japanese language! Thanks!

kenkenspin commented 2 weeks ago

if Joplin support --gtk-version=4 as chromium, it will input method ibus on GNOME.