lumetrium / obsidian-teleprompter

Plugin for Obsidian designed to seamlessly integrate teleprompter functionality into your note-taking workflow.
https://lumetrium.com
GNU General Public License v3.0
54 stars 4 forks source link

Cannot go full screen on iPad #21

Open niosus opened 4 months ago

niosus commented 4 months ago

Hello again! I seem to have lost an ability to change the size of the teleprompter panel when using it on my iPad. I could do it some time ago but since a couple of months this does not work anymore. Any ideas what might have changed?

When I click on the "fullscreen" button it toggles but does nothing. Is this maybe a know issue with a simple workaround?

lumetrium commented 4 months ago

Hi! Thanks for reporting this. I made some changes to the logic behind the fullscreen control in the last update. I wasn't aware that it broke on iPads. I tested it on my Android devices, and everything worked fine. I'll take a look now and see what might be causing the issue. Not sure yet how to test it though, I should probably look into iOS/iPadOS emulators.

lumetrium commented 4 months ago

This is going to be difficult for me to test the plugin on Apple mobile devices. I don't own any, and all the emulators I could find are either very expensive, require a Mac, or straight up don't work.

I've reverted the previous changes to the fullscreen control for the iOS app. Could you please update the plugin to the latest version 1.4.2 that I just published and try going fullscreen again?

https://github.com/lumetrium/obsidian-teleprompter/releases/tag/1.4.2

niosus commented 4 months ago

Thanks for your help and sorry for the delay. I updated the plugin today but still have the same issue. Is there anything else I can do to help you debug this?

Just for completeness I am attaching the video of what it does (or rather doesn't do)

https://github.com/user-attachments/assets/ff9fe2be-99b6-4106-94c1-d3377cda422d

lumetrium commented 4 months ago

Interesting. Are you sure you used the fullscreen feature before and it worked?

I need to see what errors, if any, are present in the console. Unfortunately, accessing it on iOS isn't exactly straightforward. According to the Obsidian docs:

You can inspect Obsidian on an iOS device running 16.4 or later and a macOS-based computer. Instructions on how to set it up can be found here: https://webkit.org/web-inspector/enabling-web-inspector/

Do you happen to own a Mac? If so, would you be able to follow the instructions from the WebKit docs to enable remote inspection on an iOS device? Then, open the console, try to activate the fullscreen mode on your iPad again, and send me a screenshot of the console or copy-paste its contents.

niosus commented 4 months ago

I'm sure that I could run it before, see my other issue, where I show a video of how it looked before #16

I have a Mac, so I should be able to see the logs and send them your way. 👍

niosus commented 4 months ago

Although, looking at it again, it might be that I never used the fullscreen option and managed to change the size of the panel somehow 🤔 The button doesn't look to be pressed on that video.

lumetrium commented 4 months ago

Yeah, I noticed that too. Chances are the fullscreen feature never worked on iPads. I'll be waiting the console logs from you so I can try to fix it.