The Issue
I've been experiencing graphical glitches that appear randomly. They mostly seem to surface as different parts of the app's UI being superimposed on random locations.
At first I was sure, that this is caused by my crappy drivers specifically, however, I found out that this is a known bug with GtkWebView and affects Tauri apps: https://v2.tauri.app/de/develop/debug/linux-graphics/
Here is a list of glitches and when they appeared, not sure how helpful this is:
- After I had collapsed the "Feature Requests" headline in the screenshot
- After I switched from the
Source Edit view back to the Visual Edit view
- Screenshot: image
- Hint: the
#imn towards the bottom shouldn't be there
- After I had deleted the numbered list (
+) and replaced it by a list character -
- Screenshot: pasted-1782998727333
- Hint: There's another bar below the highlighted last line in the same color
- After InkyCap recognized a headline element
- After indenting a bullet point
Another curious thing: the artifacts were somewhat persistent. Scrolling the view didn't make them disappear. However, they would disappear after taking a screenshot i.e. they appeared in the screenshot still, but were gone from the app.
Reproduction
I don't think this is possible unless one has access to a system with said driver bugs.
Resolution
In my case it helped to set this environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1
System
OS: Guix System (Linux 7.0.14)
Graphics Platform: Wayland
Desktop Environment: KDE Plasma 6.5.5
GPU: GeForce GTX 760
GPU-Driver: Nouveau
Suggestion
Maybe there could be a toggle in the setting to disable DMABUF rendering, with the info that one should try this if there are graphical glitches.
# The Issue
I've been experiencing graphical glitches that appear randomly. They mostly seem to surface as different parts of the app's UI being superimposed on random locations.
At first I was sure, that this is caused by my crappy drivers specifically, however, I found out that this is a known bug with GtkWebView and affects Tauri apps: https://v2.tauri.app/de/develop/debug/linux-graphics/
Here is a list of glitches and when they appeared, not sure how helpful this is:
- After I had collapsed the "Feature Requests" headline in the screenshot
- Screenshot: 
- After I switched from the `Source Edit` view back to the `Visual Edit ` view
- Screenshot: 
- Hint: the `#imn` towards the bottom shouldn't be there
- After I had deleted the numbered list (`+`) and replaced it by a list character `-`
- Screenshot: 
- Hint: There's another bar below the highlighted last line in the same color
- After InkyCap recognized a headline element
- Screenshot: 
- After indenting a bullet point
- Screenshot: 
- Note: the one below the `#task(..)` line
Another curious thing: the artifacts were somewhat persistent. Scrolling the view didn't make them disappear. However, they would disappear after taking a screenshot i.e. they appeared in the screenshot still, but were gone from the app.
# Reproduction
I don't think this is possible unless one has access to a system with said driver bugs.
# Resolution
In my case it helped to set this environment variable `WEBKIT_DISABLE_DMABUF_RENDERER=1`
# System
**OS**: Guix System (Linux 7.0.14)
**Graphics Platform**: Wayland
**Desktop Environment**: KDE Plasma 6.5.5
**GPU**: GeForce GTX 760
**GPU-Driver**: Nouveau
# Suggestion
Maybe there could be a toggle in the setting to disable DMABUF rendering, with the info that one should try this if there are graphical glitches.