momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)
Cocoa ([personal profile] momijizukamori) wrote 2021-03-24 10:15 pm (UTC)

Yeah, it's something I've wanted to add for a while, but it turned out adding it involves doing like.... a fuckton of prep work to bring the rest of the interface up to something vaguely modern first, which is why it's taken ages. Also I've chucked like 80% of the rewrite a few times as I get better at programming and realize the way I was doing things was Bad.

The cursor problem is.... fucking arcane. Basically, when you insert a new block type (like a heading or cut or blockquote) at the cursor position, the cursor SHOULD stay at that position and thus be inside the new block. But it's.... not. I posted a question on the ProseMirror discussion board so hopefully someone will have thoughts?

As far as I can tell, the answer is 'because the browser is basically a very thin wrapper over Qt4's webkit implementation, with no optimizations/changes for eink' - unfortunately, nickel (which is the built-in reader app/interface) is the only closed-source bit of the OS, so we can't modify it or see how it's doing the thing. I think Plato is my best bet, because I managed to get it building, and got it to the point of 'load HTML snippet from memory', but it needs to be able to handle links outside the current document, and I don't know enough Rust to do so and the question I posted on their Github issues page..... two months ago, apparently, has not had any responses. So I continue to read fic on my smartphone instead because I don't have enough patience to fight with the browser on eink.


Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting