midi-surf icon indicating copy to clipboard operation
midi-surf copied to clipboard

iOS browsers can’t save or export + on off would be useful!

Open starsixnine opened this issue 2 years ago • 6 comments

Hey, this is amazing! Extremely useful - except for now also unusable on iOS because there’s no proper way to save your work.

I tried so far on chrome and opera

two main issues:

  1. saving page function is useless - once you close the page, you can never reload it, it disappears. it only works so long as you keep your page open.

  2. if i try to save my work by exporting the page URL, it gives you a little copy paste icon for the URL, but when you press it, it doesn’t actually copy the URL! you have to manually select the URL and copy and paste it from that little prompt box, but it takes forever to scroll to select it because it’s so long.

An on/off button function would be amazing - like you hit it once and it does one midi value, but if you hit it again it does another value - versus now where we have to make separate buttons.

I see in your video that you mentioned toggle, so maybe you’re already on it!

ooh also, when the button colour is black the text is also black so it becomes invisible - the text should turn white or gray for it to be visible

starsixnine avatar Feb 11 '23 13:02 starsixnine

Hi @starsixnine, thanks for using the app and sorry to hear you're having some problems. Regarding your issues:

  1. When you make a new controller, if you close the app and open it again, is the controller still there?
  2. This might be a security "feature" of iOS, it might not allow you to copy to the clipboard. I don't have a device to test on, but I should be able to make the default behaviour that the link is preselected, that'd make it easier. Does the link work when you do manage to copy it?

For on/off, there's a a controller called Sequence that behaves pretty much how you've described. You give it a list of midi messages and then when you press the button, it cycles through them. Take a look at this to find out more about them.

I'll fix the black text on black background in a future update, I'm planning to add an option for selecting the font colour.

ChrisWellsWood avatar Feb 11 '23 14:02 ChrisWellsWood

oh very cool about the sequence - even more useful to be able to cycle through multiple commands!

so on chrome and opera, it will re-open to whatever url i opened it up in originally - meaning that if i opened it initially just as midisurf.app I will lose any changes I’ve made or saved, and lose the ability to load anything i’ve saved (when i hit load it’s just a blank list). but if i started the page with the extended url of a controller i made and tried to export, then it will always open to the url that i pasted there, but i’ll lose any subsequent changes.

for the export url feature, what happens is when i try to press the copy icon, it seems to treat it like it’s text that i’m selecting or something - a blue square around it. i know that command does work on other apps so i imagine there’s a way to make it work

for now i can use it by copy pasting the url from the export command

regardless this is an excellent app!

starsixnine avatar Feb 11 '23 15:02 starsixnine

This sounds very strange, it sounds like there's a problem with local storage in your browser. It could be being blocked by something. The whole app state is saved in local storage in your browser whenever you make a change, this includes using the save button. It might be to do with permissions or maybe a privacy plug in, never heard of this happening before though. Could you try something really simple please? Go to MIDI Surf, without a page preset URL, make a new page, add one button. Close and reopen. Is it gone? Also, if possible, open developer tools (not sure how to do that on iOS) take a look at the console and see if there are any messages after trying to add a page.

ChrisWellsWood avatar Feb 11 '23 15:02 ChrisWellsWood

Hmm, i’ll check if i have cookies blocked or something, i don’t have any special privacy software

if I start midisurf.app without a preset url and make a new page and add a button, the new page and button disappear if i close and restart chrome or opera.

there’s no console option on ios chrome from what i can tell from searching google - there are commands for opera apparently that you put in the url section, but they don’t seem to work… not sure what i’m doing wrong there

starsixnine avatar Feb 11 '23 17:02 starsixnine

Really weird, I can't see anything about this online. I'll try and get a hold of an iOS device to see if I can figure out what's going on. You could try deleting the sight data, that might help. In the meantime, if you figure it out, please let me know what the solution was and I can let people know.

ChrisWellsWood avatar Feb 11 '23 21:02 ChrisWellsWood

thanks will do - i tried deleting site data turning off and on various privacy settings but still the same so far.

starsixnine avatar Feb 11 '23 23:02 starsixnine