Giter Club home page Giter Club logo

Comments (2)

lrorpilla avatar lrorpilla commented on May 23, 2024 1

To elaborate, the issue is that the mouse does not mix well with the pop-up widget. Text can be selected just fine. What would be required is an interface that will allow the user to scroll left, scroll right on the pop-up, be able to switch dictionaries and export to the creator -- all buttons that will exist outside of the reader, so probably beside at the top with the rest of the TTU controls.

It would not be elegant and it would feel like a second class citizen experience but maybe I can figure it out in the future, though anything new to be done will be after I have my hiatus.

from jidoujisho.

lrorpilla avatar lrorpilla commented on May 23, 2024

I have a prototype of the scanning working right now and it does not look like it will play well with my Flutter widgets. I can click on paragraphs and select text but it does not layer well with the Flutter widgets I have on top of the web view. That means that click events register through the pop-up widget I have, and makes things like scrolling and clicking things difficult. Looks like mouse events collide through my widgets and regardless of whatever the cursor is on top off, it will register the click both on the Flutter widget and on the browser, which does not look good.

I don't think this prototype can make it to production without some magic JavaScript hacks that are well beyond my scope and I think it would be easier to somehow tell the Android OS to show the context menu whenever you select something with a mouse, which is the crux of the problem here, anyhow. It's not a smooth experience and is very janky.

I think I have to take the loss on this one. I don't think this is possible without significant updates on the web view plugin I'm using and that is already very bleak. I'm afraid I have to restrain myself from releasing support for solutions that are very rough edged and only partially work and require some understanding to know how not to break it as a user.

If I get any epiphanies in the future that make this possible, maybe I would re-open and get back to this but I don't think the prospects look very good on this feature, realistically. Apologies.

from jidoujisho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.