-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use pane-relief on my phone #49
Comments
I tried with the 0.4.1 too, since it seemed to work in the #40 issue, but it still doen't work. I use obsidian 1.4.6 (105), which is the latest one. |
If the issue is that enabling the plugin says "failed to load", then there is likely an error in the console and I'd need to see that. If there is some other message, I need to know what it says. |
Thank you for your answer. |
If the toggle is disabled then perhaps Obsidian is disallowing it. I don't know what you mean by "marketplace", though - I do not use Obsidian on any mobile device and have no idea how to do anything with it. My suggestion would be to ask around on Discord (e.g. in a mobile-related channel) to see if anyone else has or has solved this problem or can help, as I cannot without additional information even know what is causing the problem. Based on the available data, I would guess something has changed about Obsidian Mobile since the plugin itself has hardly changed at all. But what that something is or what needs to be done about it, I have no idea. |
(Maybe the emulator is lacking information on the device and these error are normal) |
So I've added a fix for the specific error above. Don't know if it'll do anything else, but you can see if it helps. |
Hi, thank you. I installed the new version, it fixes what showed in the desktop console during mobile app emulation. |
I uninstalled the Obsidian app and installed the 1.4.2 (from Febrary 2023) and then even the 1.3.0 (from August 2022), hoping that I could enable the plugin and then update Obsidian... but it didn't work. I went back to the current version, checked the manifest.json and found out that Anyway, now it seems that the simple sliding panes feature doesn't work on a phone: I have 5 tab groups, some of them with several tabs, and with sliding panes enabled nothing seems to change, even with the default theme. 😢 |
I'm not aware of anyone using sliding panes on a phone; to my knowledge the people interested in Pane Relief on mobile have mainly been tablet users. But in any case I have never used it there, so couldn't tell you if or how it works. My guess though would be that the main issue is being able to scroll the groups - scrollbars on phones are tiny and it might not be obvious where the scroll thumb is. For sliding panes, it should be at the bottom of the workspace area though. |
The other day I saw the scrollbar disappear as soon as the window was less than 600 pix large when testing through mobile emulation on desktop. Obsidian itself might treat tabs differently then. As my screen is 1040 pixel large I was hoping it would work somehow (I'm just a naive user without any technical knowledge). Apart from that I thickened the scrollbars via a .css snippet to be able to grab them despite the protecting case, so I'm quite sure there is no scroll thumb at all. On the original sliding panes plugin I usually just swiped from one pane to another, that could have worked too. I'm very surprised to be the only one trying these things, that was so convenient for me!!! |
Well, if it works in the mobile emulation with the same screen size, but not on the phone, I'm not sure what to tell you. Did you try resizing to the same dimensions as your phone screen? Also, if you have css snippets active, are they the same snippets on phone and desktop? |
Btw, pixel sizes on phones and desktop may be different -- your 1040 may be treated as a smaller number for CSS purposes, if those are "retina" pixels (i.e. extra small). So if the 600px limit is relevant, your 1040 may actually be undersized for that. Some further investigation of the 35 bits of code and 122 styles that are different when Obsidian believes it's on a "phone", reveals that there is styling that hides all the non-"visible" tab groups. It looks like you can override it with a CSS snippet like this: .is-phone .mod-root.is-sliding .workspace-split:not(.mod-visible),
.is-phone .mod-root.is-sliding .workspace-tabs:not(.mod-visible) {
display: flex;
} This should force all tab groups to be displayed if the workspace is in sliding mode. |
Wow, it works, I AM SO HAPPY!!!!!!!!!!!! |
Ok, I will probably add this to Pane Relief's Style Settings options so that people can force sliding panes to be active on phones and other sufficiently-small screens. I don't think it should be active by default, but having an option seems good. |
That seems great. |
One more thing (sorry): with the snippet the scroll thumb is still not there, and it gets tricky to swipe through tab groups and stacked tabs, depending on how everything is positioned, --but it works--. |
In mobile emulation, I saw a scrollbar, so I'm not sure why you're not seeing one. |
After further testing, with new vaults with only the plugin and the snippet and 3 to 4 tab groups (without stacking tabs):
Source mode or live preview seem to give the same results. The same kind of things happen with stacked tabs. With this scrollbar problem + the fact that, as far as I know, only bookmarks can be opened "to the right" (without an external keyboard) -and we don't know for how long-, make the functionality a bit hard to use for the general public. |
Ok, so it sounds like sliding panes is DOA on devices Obsidian considers phones, but usable on tablets. |
Not really (for the phones part). For reference: I don't think that anything could replace it if one wants to quickly swipe back and forth through several reference notes. Plus it appears that one can use the Commander plugin to create "split right", "create note to the right" (and even "toggle stacked tabs", why not) to the ribbon, allowing to create easily a mostly "flat" layout with lots of tab groups and few tabs per group. Side notes:
TL; DR: I'm still very happy. |
Hi, I tried to install this plugin on my android phone (so as to get sliding panes again), but all I got from the market is "this plug in does not support your device". I tried to install it from Github, but then I can't enable it (though the manifest states "isDesktopOnly": false).
I tried to use the mobile logging plugin that was used last year on an Iphone to give you more details but I did not manage to use it. I don't know if it is still working and it is not just me or not.
I was so happy to get my panes sliding again :,(
Is there something that can be done to make it work?
Thanks for your attention...
The text was updated successfully, but these errors were encountered: