Pleco for Android 3.2.3 Beta 4

mikelove

皇帝
Staff member
Fourth beta of this big-update-with-a-minor-version number, with still more tweaks and bug fixes. (changed enough that we wanted to double check we hadn't wrecked anything before releasing it officially)

As before, feedback especially welcome on design annoyances like screens that look outdated / awkward, icons that don't match (size is way out of proportion to its neighbors or style is jarringly different), etc. Also please let us know if you notice any major performance downgrades.

If you previously signed up for beta testing through Google Play, this new beta should show up as an update within a few hours. Otherwise, you can get it:

a) Through Google Play. Sign up for our Android Beta Testing group at:

https://groups.google.com/forum/#!forum/pleco-android-beta-testing

And then sign up for beta versions of Pleco at:

https://play.google.com/apps/testing/com.pleco.chinesesystem

after which you should be able to get it right from them. (this isn't up yet but should be in a few hours)

b) Directly from our website; APK at:

http://cdn.pleco.com/androidapps/plecodroid-141209.apk

List of changes:

Beta 4
  • Made disabled tabs in History and the main search screen a bit more visible in Night Mode.
  • Made the dividing lines between sections of the screen a bit subtler in Night Mode.
  • Fixed a bug that caused the definition screen to jump to the DICT tab on tablets even if DICT is not configured to be the first tab.
  • Improved the reliability of clipboard monitoring (especially when bringing up text in the document reader) + reduced its power consumption.
  • Fixed a bug that could prevent search screen long-press menu items relating to flashcards / editing entries from matching up with the entry you were long-pressing (or from altering it correctly when selected).
  • Fixed (again!) a bug that caused Clipboard Monitoring to sometimes kick in when selecting + copying text within Pleco.
  • Fixed a bug that could cause the document reader to go blank when creating a bookmark with pagination enabled.
  • Fixed a bug that prevented the document reader from preserving its current location on screen rotate on some older devices.
  • Fixed a crash when tapping on characters in the header to select them while in the STROKE tab.
  • Fixed a number of other rare crashes.

Beta 3
  • Made the history, add-ons, bookmarks, and Card Info screen tabs all swipeable as well, since now that we're doing it in the definition screen we think people will assume it works everywhere and be confused when it doesn't.
  • Made up / down scroll buttons for the embedded definition appear in portrait as well as landscape mode on decent-sized tablets (600 scaled pixels or higher in their smaller dimension, so 1920x1200 will probably work and 1280x800 probably won't); also made them optional (can disable them in Settings / Search Interface), and moved them and the + and edit buttons to the right instead of the left side of the top toolbar.
  • Inset items in the CHARS/WORDS tabs in the definition screen so their margins will match those of the other tabs.
  • Added a total file size to the "download all" buttons in Add-ons.
  • Added an alert the first time you run a fill-in-the-blanks flashcard test to point out that it's only covering cards of 4 or fewer characters.
  • Disabled continuous autofocus in OCR by default once again, since on some devices it tends to make the app focus excessively often (in ways we're not able to prevent).
  • Updated a few more icons.
  • Fixed a bug that could prevent the input method bar from appearing correctly after exiting and re-entering the search screen.
  • Fixed a couple more bugs relating to the interface not updating correctly after a screen rotation.
  • Fixed a bug that could cause erroneous "No words found" texts to flicker in the WORDS tab.
  • Fixed a bug that could cause odd background colors in the results list after a screen rotate.
  • Fixed a bug that could prevent the current search result from being preserved after a screen rotate.
  • Fixed a bug that prevented the currently selected tab from highlighting correctly in Manage Dicts / Dict Groups.
  • Fixed a bug that caused a 1-pixel-wide blank line to appear on the right side of the screen in two-ppanel mode.

Beta 2
  • Made it possible to go between tabs in the definition screen by swiping.
  • In service of this, made the stroke order tab now scroll vertically instead of horizontally.
  • Made tabs in the definition screen reorderable - option for that is in Settings / Definition Screen at the top.
  • Added an option for a floating button at the bottom right corner of the definition screen (also in Settings / Definition Screen) - this can be set to add a flashcard or play audio (Mandarin or Cantonese).
  • Added an "Append headword to clipboard" command to the search results long-press menu - choose this and instead of replacing the current clipboard (as in a Copy) the headword will be added to it, similar to the text-appending option we already offer in OCR. (we also display the current clipboard contents in the notification)
  • Stopped the clipboard monitor from popping up when copying text within Pleco.
  • Made the clipboard monitor work with our "open in reader if length >" option.
  • Improved startup time a bit by removing some redundant layout passes.
  • Changed the list highlight color to not be exactly the same as the toolbar color in day mode (as that made things hard to see).
  • Changed the day mode icon to look more like a sun and less like a gear.
  • Tweaked the unselected tab colors a bit in Night Mode to be easier to see.
  • Made the popup reader bubble avoid the shadow from the top toolbar.
  • Made the Organize edit controls look slightly more Lollipop-like.
  • Made the reader reload after paginate is toggled on / off (so you don't have to kill Pleco or open another document to get it to take effect).
  • Made text items in the action bar correctly appear white in day mode on Android 4.4 and earlier.
  • Worked around a bug in 64-bit versions of Android (which currently just means the Nexus 9) that could make it impossible to modify flashcard databases.
  • Fixed a nasty bug that could cause blank / unusable screens on older versions of Android.
  • Fixed a bug that could prevent various definition screen tabs from refreshing correctly on startup on a tablet.
  • Fixed a bug that caused the drawing area in flashcard tests to cover up the buttons at the bottom of the screen, even when it was configured not to.
  • Fixed a crashing bug when reopening Pleco with handwriting active.
  • Fixed a bug that caused TTS in the document reader to stop playing at the end of a page.
  • Fixed a bug that could cause incorrect line wrapping in the search results list on some older versions of Android with buggy Unicode support.
  • Fixed a bug that prevented the audio button from showing up in user dictionary entries with "pron system" set to "none."
  • Fixed a bug that could prevent example sentences from showing up in search result definition previews for full-text Chinese searches even when the word being searched for is in the example sentence.
  • Fixed a bug that could cause flashcard audio to fall back on male TTS when audio was configured to be female-only.
  • Fixed a bug that could cause the "change dictionary entry" command in Card Info to pull up entries with the wrong pronunciation if the current pronunciation was not included in whatever your first dictionary selected under Manage Dicts is.
  • Fixed a bug that prevented the input method selector at the top of the dictionary search screen from displaying as tabs on tablets.
  • Fixed a bug that kept the top toolbar from shrinking correctly in landscape orientation on phones.

Beta 1
  • Reskinned our app around Android 5 and Material Design. (virtually all of the reskin applies on older versions of Android too)
  • Added an option in Settings / Reader to make the document reader paginated (swipe pages like a book instead of continuously scrolling in a vertical box), and improved performance / reliability a bit while we were at it.
  • Restored the "clipboard monitoring" option in Settings / Miscellaneous; we offered this for a few years after Pleco first came out on Android, but dropped it when it stopped working on Android 4 and nobody seemed to notice or care. Still very few requests for it, but we finally figured out why it stopped working, and since the code for it was still sitting there we figured we might as well add it back again. Anyway, turn this option on and whenever you copy a piece of Chinese text to the clipboard Pleco will automatically pop up with a definition; right now you have to go throgh Settings but if we get some interest we can easily add a more prominent toggle button and/or an option to automatically enable this at system startup rather than only having it work with Pleco running in the background.
  • Started hiding example sentences in full-text search result list items when the text being searched for appears outside of an example sentence.
  • Made the @ override prefix for flashcard pronunciations work for Cantonese along with Mandarin.
  • Added flashcard options to display Mandarin along with Cantonese before the card is revealed and to display Cantonese as a secondary pronunciation to Mandarin (so the audio / fill-in-the-blanks / etc are for Mandarin but you still see Cantonese readings too).
  • Added a command in Settings / Miscellaneous to clean up orphaned flashcard categories (to remedy some earlier bugs).
  • Shrank our default fonts just a touch - we had ported our type design over from iOS without taking into account the fact that Android devices tend to have slightly lower pixel density at a particular resolution scale, so text was (we think) a bit larger than it needed to be.
  • Added a more helpful alert for Xiaomi users when we can't access the device camera due to Xiaomi's wacky camera permission system.
  • Added Android search manager support - this is a bit flaky but if you say "OK Google, search Pleco for dumpling" it might possibly bring up Pleco with a search for 'dumpling.' We have not yet found a way to get it to recognize Chinese here. Google's voice recognizer interprets 'pleco' as having a short 'e' (pleck-o) so pronounce it like that if you want it to (possibly) understand you.
  • Fixed a bug that could prevent audio from playing in the definition screen when a custom entry was the first item.
  • Fixed a bug that prevented the Card Info screen from returning you to Organize Cards after deleting the current card.
  • Fixed a bug that caused stroke order diagrams to always be faded even with the option for that turned off.
  • Fixed a bug that could interfere with edit fields working correctly in a few popup alerts on Android 5.
  • Came up with a slighly less ugly workaround for the fast scrollbar not working correctly on Android 4.4/5, so it won't show up all the time as it did in Pleco 3.2.0/1/2.
  • Fixed a bug that added erroneous audio play buttons before example sentences in Cantonese dictionaries. (though we're working on a Cantonese TTS option for those)
  • Hid Cantonese in flashcard editing for users with the free version of our flashcard system, since you can't do Cantonese tests with the free version and we didn't want people to waste time making Cantonese cards tey can't use.
  • Rearranged the Display section of flashcard test settings to make a couple of coherent groups out of Card Text instead of just having a long random list of options there.
  • Renamed "Pinyin" in flashcard test field selection to the more neutral "Pronunciation" so as not to exclude Cantonese + Zhuyin users.
  • Fixed a bug that prevented some punctuation marks (like ellipses) from appearing correctly in flashcard Pinyin pronunciations.
  • Fixed a bug that could cause the floating DICT/STROKE/etc header to fail to appear after scrolling down in an entry via the popup reader.
  • Fixed a bug that could cause the preview entry browser for in the Oxford Chinese Dictionary E-C half to show you entries from the C-E half.
  • Fixed a bug that could cause imports to fail in certain rare cases where an extended Unicode character boundary happened to overlap with the border between two (arbitrary-sized) chunks of import data.
  • Updated to a newer version of the SQLite database engine that should significantly improve performance in some cases.
  • Fixed yet more crashing bugs.
  • Fixed a bug that could prevent reader documents from saving their locations correctly on Android 5.
 

zhaomao

秀才
I did a quick test last night and I couldn't reproduce any of the former issues. As well, I think the fonts on the History tabs are much improved -- I just didn't have the problem reading them that I had before. So now I can wait to get glasses a little longer. Thanks! ;)

All in all, I'd say it's looking pretty good. Performance is reasonable and everything is working fairly smoothly. I'll try to spend more time with more of the features to see if I can find anything else, but I'm impressed how far you brought it along from beta 1 so quickly -- very responsive. Cheers!
 

HW60

状元
During a flashcard session I switched to the Dictionary and to WORDS and made some copies - it did not take long -, and after all the screen of Organize Cards was black. I had no time to reproduce, but I think I can reproduce it soon.
 

mikelove

皇帝
Staff member
@zhaomao - great!

@HW60 - haven't seen this here with the current beta; have you configured the back button to backtrack you through every screen you've visited (rather than going directly back to the dictionary)? Could you give me a more specific sequence of steps to reproduce the problem?
 

zhaomao

秀才
Ah, sorry, I spoke too soon -- or rather, apparently I hadn't done enough testing yet... the good news is the history deletion issue somewhat more reproducible now. It might have something to do with switching tabs...? Not sure...

I added some history entries to both Dictionary and Reader, then tried deleting randoms items (the most recent one on top, and one a few from the top) and it failed to delete from Dictionary. However, when I went back to Reader, the top entry there was gone. I played with it a bit and now I can't delete a Dictionary history entry; the topmost Reader entry is deleted instead. I can send you a copy of my history if that helps.

Also, not sure if this is expected or not, but if I have a file already open in File Reader, go back to Dictionary, then tap File Reader from the side menu again, it goes straight back into the File Reader without the option menu of "Open recent file", etc. However, when I'm in File Reader, a reduced menu appears (2 items instead of 3). The hardware menu button brings up 3 options, but not the same 3 options as before. If I "minimize" Pleco and come back to it, the File Reader menu works as it did the first time. It just seems inconsistent. Let me know if you want clearer details around what I'm seeing.
 

zhaomao

秀才
More detail around cause of History deletion bug: it is occurring somehow as a result/function of going back to Dictionary from History -- the topmost result from the previous search is added to the History, even if it's not tapped, whether or not "Always save first result" is turned on or not. Also, sometimes the previous search term reappears in the search bar even if it was cleared. Not sure if that is the trigger or not, but at some point it appears the automatically added History item(s) get "corrupted" and can't be deleted without a full kill and restart of Pleco. Then it's fine again.
 

HW60

状元
@HW60 - haven't seen this here with the current beta; have you configured the back button to backtrack you through every screen you've visited (rather than going directly back to the dictionary)? Could you give me a more specific sequence of steps to reproduce the problem?
Back button is going to dictionary, then to exit. Unfortunately I haven't yet reproduced.
 

mikelove

皇帝
Staff member
@zhaomao - the reader / dict swapping bug we just figured out here yesterday, actually; relates to an Android bug which we've now worked around.

File Reader menu behavior is indeed normal - basically if you have a session open we assume you'd rather go right back into that, if you don't we offer three options: reopen last file, open new file, see list of recent files. If you tap on the menu from within file reader you obviously don't want to reopen the last file (since you're already viewing it) so we only show you the other two options. We also include an "open file" command in the options menu within the reader for people who don't think to tap on File Reader in the sidebar to open a new file.

With topmost results being added to history, is Pleco by any chance running in 2-panel mode? (so the definition is embedded in the search screen rather than on a separate screen) We always add the first result to history from that after you've been looking at it for a few seconds, even without tapping - haven't had any complaints about that behavior so far, to us it seems like history would be of limited use if we didn't do that (since you'd miss out on so many of the entries you looked at).
 

zhaomao

秀才
Great to hear! Yes, I'm using 2-panel mode for both portrait and landscape because I've got the real estate. I'll try to stop reporting expected behaviour as bugs now. ;) It really does help to understand the reasoning behind the functionality as it wasn't explicitly clear (to me, at least). If it is in the docs, feel free to publicly shame me and it won't happen again. :p

That being said, when I started up Pleco this time there was a result in the right-hand panel... that's never happened before. Is that also related to the bug you fixed yesterday?

Edit: attached a reasonably-sized pic instead of the uncompressed one.
Edit 2: attached a new example of the same issue that (probably) doesn't have my ugly mug in the shot. :oops:
 

Attachments

  • Pleco_startup.jpg
    Pleco_startup.jpg
    170.4 KB · Views: 455
Last edited:

mikelove

皇帝
Staff member
No problem - would much rather have you point out things that turn out to be features than not point out things that turn out to be bugs.

This looks like a different bug, actually one that we thought we'd addressed a long time ago - we'll see if we can find a way to reproduce it.
 
Top