Giter Club home page Giter Club logo

Comments (6)

rdoeffinger avatar rdoeffinger commented on June 2, 2024

Why don't you just use the flag toggle to see what the other language is?

highlight/deactivate/grey out the active dictionary in the dictionary list

sounds like a very reasonable suggestion though. Even if I know Android little enough that it might be non-trivial to actually implement.

skip the switching process if the active dictionary is selected

I actually don't truly understand the advantage that would have for you?

add an info about the current dictionary in the dictionary view

Didn't come up with a good way for that so far (in particular, not wasting space).

One thing I considered though was to let the dictionary open at a random word instead of at the start by default.
I'd think in many cases you'd then see from the translation which language it is, plus you wouldn't each time see the "messy" entries at the start.
But I wasn't sure if this is really a good idea or this would maybe just be annoying users, which is probably the major reason I haven't done it yet.

from dictionary.

Heineken avatar Heineken commented on June 2, 2024

Why don't you just use the flag toggle to see what the other language is?

See my 1st paragraph. My issue is when I use, for example, two English dictionaries. The problem is not to know if it's English or German but which English it is.

skip the switching process if the active dictionary is selected

I actually don't truly understand the advantage that would have for you?

If it behaves like as if tapped return (quick) I'd know that I haven't changed the dictionary. I know which one I just tapped, so I'll tap the other one. If it takes a while to load the dictionary I'll have to look again at the search result, if it's different from what I just saw. Sometimes it's very similar, so I switch back and forth...

My phone is a slow single core, so maybe on modern phones that doesn't even make a difference.

But I wasn't sure if this is really a good idea or this would maybe just be annoying users, which is probably the major reason I haven't done it yet.

Yep, guess so. Please don't.

from dictionary.

rdoeffinger avatar rdoeffinger commented on June 2, 2024

See my 1st paragraph. My issue is when I use, for example, two English dictionaries. The problem is not to know if it's English or German but which English it is.

Oh, you don't mean a English-to-something and a English-to-something-else, but e.g. the included English dictionary and one you created yourself from a different source.
Sorry, I completely misunderstood.
The random word thing would be complete nonsense for that of course.
I don't like that loading the dictionary is slow though, even if it's an old slow phone, I kind of think it shouldn't be...

from dictionary.

Heineken avatar Heineken commented on June 2, 2024

Well, you're right given the power in my device (even though a little outdated now) compared to the technology of a decade ago. Actually, the phone is quick enough, but often it's busy with something else. But let's not get started with that rant...

Anyway, it's not like it's taking ages to load a dictionary. Then I wouldn't use the app. But you know, if you routinely and frequently use a device you get quite swift and any second of delay, which is irrelevant for sporadic use, becomes annoying.

from dictionary.

rdoeffinger avatar rdoeffinger commented on June 2, 2024

Changed in c9012e8 so that the button for the active directory is shown pressed in the list.
Apart from that, it likely should be possible to improve dictionary load performance.
I am mostly surprised since it is not too bad even on the emulator.
Possibly the biggest issue I see there is the collation/transliteration loading, which is necessary for the search. That is not handled intelligently and should probably be cached as there is no reason to re-load it when not switching languages.

from dictionary.

Heineken avatar Heineken commented on June 2, 2024

Nice, thanks!

Well, your emulator runs on a big CPU and doesn't have to handly Whatsapp, Push-E-Mail, Facebook and whatnot along the way. Maybe my Android 4.4 is not really designed to run on single cores.

No need to reload anymore now!

from dictionary.

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.