SYSTEM INFO:
Obsidian version: v1.4.14
Installer version: v1.4.14
Operating system: #28 SMP PREEMPT_DYNAMIC Wed Aug 23 20:17:32 UTC 2023 6.2.0-10022-tuxedo
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: AnuPpuccin v1.4.4
Snippets enabled: 3
Restricted mode: off
Plugins installed: 38
Plugins enabled: 30
1: Dataview v0.5.59
2: Natural Language Dates v0.6.1
3: Zotero Integration v3.0.10
4: QuickAdd v1.3.0
5: Excalidraw v1.9.19
6: Advanced Tables v0.19.1
7: Tag Wrangler v0.5.13
8: Text Format v2.2.8
9: Tasks v4.8.1
10: Plugin Update Tracker v1.5.2
11: Trash Explorer v1.2.2
12: Table Generator v1.4.1
13: Reference Map v1.2.3
14: Recent Files v1.3.8
15: Obsidian42 - Strange New Worlds (SNW) v1.2.2
16: Various Complements v9.0.0
17: Reading Time v1.1.1
18: Editor Syntax Highlight v0.1.3
19: Stille v1.3.3
20: Scroll Offset v1.0.4
21: Hover Editor v0.11.14
22: obsidian echarts v0.0.3
23: Obsidian Charts v3.7.2
24: Charts View v1.2.5
25: Plotly v0.0.6
26: Obsidian Git v2.22.0
27: Outliner v4.8.0
28: Completr v3.2.0
29: Metadata Menu v0.5.2
30: Style Settings v1.0.7
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Additional information
Debug info says āSnippets enabled: 3ā but I have 2 of them. Maybe theme has a snippet, I donāt know.
All snippets that I have:
/* remove title and the table from the "Metatable" plugin */
.qda-document .markdown-embed-title,
.qda-document .obsidian-metatable {
display: none !important;
}
/* Link icon */
.qda-document .markdown-embed-link,
.qda-document .file-embed-link {
top: 0 !important;
right: 0 !important;
left: unset !important;
text-align: right !important;
border: none !important;
margin: 0 !important;
width: 24px !important;
height: 24px !important;
color: var(--text-faint) !important;
cursor: pointer !important;
}
/* for Ars Magna theme and others that change ::before */
.qda-document .markdown-embed-link::before,
.qda-document .file-embed-link::before {
display: none !important;
}
/* Link icon size & hide */
.qda-document .file-embed-link svg,
.qda-document .markdown-embed-link svg {
height: 24px !important;
width: 24px !important;
opacity: 0 !important;
display: unset !important;
}
/* show on hover */
.qda-document .markdown-embed:hover .file-embed-link svg,
.qda-document .markdown-embed:hover .markdown-embed-link svg {
opacity: 1 !important;
}
/* change background on hover, to exactly see whatās embedded */
.qda-document .markdown-embed:hover,
.qda-document .file-embed:hover {
background-color: var(--background-secondary) !important;
}
/* End link show/hide stuff */
/* remove border and scroll */
/* unfortunately needs !important for some themes */
.qda-document .markdown-embed,
.qda-document .file-embed {
border-top: none !important;
border-bottom: none !important;
border-right: none !important;
padding: 0 20px 0 5px !important;
margin: 0 !important;
width: fit-content !important;
height: fit-content !important;
display: inline-flex !important;
}
/*
.qda-document .markdown-embed .hided-field-on-embed {
display: none !important;
}
*/
/* remove <br> between internal embeds */
.qda-document .markdown-embed .markdown-preview-section div > br {
display: none !important;
}
/* remove vertical space added by markdown-preview-sizer */
.qda-document .markdown-preview-view.markdown-embed .markdown-preview-sizer,
.qda-document .markdown-preview-view.is-readable-line-width .markdown-embed .markdown-preview-sizer {
max-width: 100%;
width: 100%;
min-height: 0 !important;
padding-bottom: 0 !important;
}
.qda-document .markdown-embed .markdown-preview-section div:last-child p,
.qda-document .markdown-embed .markdown-preview-section div:last-child ul {
margin-block-end: 2px;
}
Thank you, I think Obsidian give a flatpak version rather than .deb file. But I canāt decide that.
I look the config of Obsidian. And itās not using Wayland now. So, itās working on X11 or XWayland.
Itās works now, I think because of Iāam using wayland on my Desktop, but I didnāt do āOBSIDIAN_USE_WAYLAND value to 1 in Environment.ā So itās used the XWayland I guess. Now Iāam using with Wayland and problem solved. Thank you again.
I just notice something that cursor theme different from my system. Itās not following my system cursor theme. Iāam using Breeze cursor theme and Obsidian uses windows-like cursor theme. I tried to set XCURSOR_PATH to /usr/share/icons but it didnāt work (I have also give the filesystem access).
Also cursorās size bigger than normal.
Iāam using Obsidian with Wayland now.
But, later I notice that drag and drop tabs doesnāt work. Then I enabled X11 and Wayland option and then I do that āOBSIDIAN_USE_WAYLAND value to 0 in Environment.ā. Now Itās working because I updated Obsidian this morning. And there is no cursor issue anymore.
Drag-and-drop in Obsidian has never worked when itās using native Wayland instead of XWayland:
I donāt think this will change until upstream Obsidian makes Wayland support a blocking issue. Thatās why I implemented OBSIDIAN_USE_WAYLAND as an opt-in feature and is unlikely to be used by default for a long time.
There might not necessarily be platform-specific code from the app developerās side since Electron is a runtime for web technologies, but that may be something in the tab management code thatās not being presented correctly as a drag-and-drop event when running within a Wayland compositor. Some applications like Firefox have had to do some refactoring in order to reliably communicate state between windows and tabs so tabs could be split/merged and rearranged as an example.
How much of this can be fixed within Obsidian itself or in Electron, I canāt say for sure since I donāt have access to the code. However I have found other Electron apps like Discord have a similar concept of tab drag-and-drop, and Iāve found that this behavior still works as expected under Wayland.
Since our code is cross platform (win-linux-mac) and we rely on electron/chrome for mouse events, this problem is either in electron or wayland or both. Thereās no if windows do this if linux do that (nor we want to add it).
We are essentially a website in an app. Itās not the websiteās fault if it works on X11 but not on wayland. Itās the browser or the OS. We operate at a fairly high level of the tech stack and this is a lower level problem.
I understand that wayland users are frustrated about this and they just want somebody to do something about it.
I understand that this issue not related to the Obsidian. I asked āMay I ask that why the Obsidian team chose distribute .deb file rather than flatpak format.ā because when you distribute the .deb file rather than flatpak, there is OpenSuse and Fedora like popular distros that uses the .rpm package format. This distros can use Appimage format but itās not popular like flatpak and itās hard to set execute permission and add to the apps menu on your desktop. So for some people it is hard I think. For this, users should use an Appimage store app.
But when you distribute the flatpak format rather than .deb effort, Obsidian more reachable because most popular distros have flatpak enabled default and when users search with their app store they gonna install it very easly. And itās more internet friendly when you update the app. I think, the only think negatif and necessary in this case that Obsidian team must be disabled the auto-update feature in the settings.
Shortly, I think the effort for the distribute the .deb file could be used on flatpak format. I wonder that what Obsidian members and community think about that. And really thank you all for patience.
I donāt believe this issue is intrinsic to Wayland, rather it might be an issue with Electronās Wayland-specific code paths.
If you can, please file a Wayland bug with upstream Electron. I donāt have an understanding of Obsidianās tab management logic to explain how itās interacting with Electron, but I think itās important enough to fix so that Obsidian can behave consistently between Wayland and X11.
Iāam using org.freedesktop.Platformās 23.08.2 version and the graph issue happened again. I guess I installed the org.freedesktop.Platform update this morning.
then I choose 2023-09-21;
sudo flatpak update org.freedesktop.Platform//23.08 --commit=dc6f68f20795a2fbae706657fd32c5f3ae2d18f1bd911894e27b9d73c936da35
then I open the app and issue doesnāt solved.
then I choose 2023-09-04;
sudo flatpak update org.freedesktop.Platform//23.08 --commit=5ebc2c3c6adb7c9321e7d5c38a72223f23916a7f38849f43c4319b6371204994
then I open the app and issue doesnāt solved.
then I logged out and in;
then I open the app and issue doesnāt solved.
Then I tried 2023-09-21 and this time, I logged out and in;
then I open the app and issue doesnāt solved.
And I tried all with xwayland.
Then I enabled wayland with 2023-09-21. Didnāt work either.
Then I with wayland and 2023-09-04. Didnāt work either. But this time when app I clicked the app icon to open, first I think it didnāt open then I clicked another time then 2 window opened.