terrychou / iVim

A vim port to iOS.
598 stars 35 forks source link

External Monitor support broken in iVim 2.29 #190

Closed aaronhktan closed 3 years ago

aaronhktan commented 3 years ago

Hi,

I have been using iVim on an iPad connected to an external monitor via a USB-C adapter.

Expected behaviour: iVim is useable on an external monitor and appears the same way it appears on the iPad screen. This is how iVim behaved in version 2.28.

Actual behaviour: The iPad displays iVim like it used to, but the external monitor now only displays the file browser. The file browser also cannot be interacted with via keyboard nor Bluetooth mouse.

This is what I see on my iPad: IMG_1214

This is what I see on my external monitor: IMG_1215

Is it possible to restore the old method of handling an external monitor? Thank you!

terrychou commented 3 years ago

iVim adds support to multiple scenes since version 2.29. This seems the behavior of that mechanism.

Can you dismiss the file browser and leave only the main editor window, to see whether it works?

aaronhktan commented 3 years ago

I am unable to interact with the file browser at all. It is on an external monitor and does not allow input via keyboard nor mouse.

terrychou commented 3 years ago

Can you enter the App Exposé? Like long pressing iVim's icon and select "Show all windows"?

aaronhktan commented 3 years ago

Here's what it looks like on the main iPad screen: image0

And on the external monitor: IMG_1219

terrychou commented 3 years ago

I am not familiar with external monitoring with an iPad. Is there any way to move an app's window to the external monitor explicitly? In our case, the main editor window to the external monitor?

aaronhktan commented 3 years ago

Is there any way to move an app's window to the external monitor explicitly?

As far as I know, what gets sent to the external monitor is controlled by the app itself. For example, another app I use, Goodnotes, has settings that control what is sent to the external monitor.

IMG_1220

I don't have any experience with iOS programming, but this documentation might help?

terrychou commented 3 years ago

Thanks for these informative links. I will do some researches to see whether I can do something with this issue.

aaronhktan commented 3 years ago

Thanks for the quick reply and for developing this great app!

emkayonline commented 3 years ago

I have this same issue (I have impaired sight so always use my iPad mirrored to a large external monitor)

I tried :ibrowse -l and it listed (something along the lines of) com.terrychou.ivim Airplay (2-27). Documents

I have had to type that from memory, because I made the mistake of typing :ibrowse -a com to activate it.

I am now stuck with iVim launching into a blank screen with no way out (I tried -U NONE, and disabled auto restore in settings, but that didn’t help).

All I now get is that blank screen, with or without the external monitor plugged in. I’m guessing I may have to uninstall and lose my local configuration)

Anyway hope this information helps.

Thanks for a great app, I can’t wait to return to using it.

terrychou commented 3 years ago

@emkayonline Have you tried the long pressing iVim's icon and choose "Show All Windows" to manipulate the windows?

emkayonline commented 3 years ago

Brilliant! That just showed a single blank/black window - but using the + in the top RHS I was able to add a new window and kill the first one.

Thank you.

terrychou commented 3 years ago

@emkayonline You are welcome. Glad to know that it solves your problem. Also, thanks for your feedback and surely it provides helpful information.

kuochang commented 3 years ago

Thanks for these informative links. I will do some researches to see whether I can do something with this issue.

I have the same issue as Aaron stated. I used external monitor to share my notes. Hopefully this can be fixed soon. Thank you in advance!

-Charles

emkayonline commented 3 years ago

For anyone who has this problem, and have iVim via TestFlight, then downgrading to 2.28 (3) you will find iVim is able to work again with an external monitor (including support for slide over and split screen on external monitors). The downside is there are only 38 days left on that version.

terrychou commented 3 years ago

I have restored the external display mirroring behavior. Would you like to help with testing it? If so, please offer me an email address for receiving the TestFlight invitation.

emkayonline commented 3 years ago

restored the external display mirroring behavior

That’s exciting. I’m more than happy to test (and also looking forward to testing the shortcuts integration). I’m martin{AT}livetheseasons.com

emkayonline commented 3 years ago

That’s looking great. It’s terrific to be able to use iVim again - thank you it is really appreciated.

I tried various combinations to break it with the external monitor mirroring (including opening file browser windows through exposé), and it worked perfectly.

A quick question (off topic) - how do I make an in app purchase to make a donation nowadays?

terrychou commented 3 years ago

@emkayonline looks like you are already in the testing group. Please install the version 2.30(2) and start testing.

terrychou commented 3 years ago

@emkayonline Great! I don't have an external display by hand, therefore your confirmation is very helpful, thank you. By the way, the new Shortcuts actions are also included since 2.30(1), you can try them too.

In-app purchasing is not included in the testing versions. In the App Store version, you can use ":isupport" to open the in-app purchasing options list :).

terrychou commented 3 years ago

I have published the fix in update 2.30 into App Store. I will close this issue and please let me know if any further problems come up.

aaronhktan commented 3 years ago

Can confirm that 2.30 fixed the issue, thank you for fixing so quickly!