Pleco for Android 3.2.3 Beta 5

mikelove

皇帝
Staff member
Fifth beta of this big-update-with-a-minor-version number, with a few more tweaks and bug fixes.

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-141211.apk

List of changes:

Beta 5
  • Added long-press menus with numerous commands (flashcards, audio, copy to clipboard) to the CHARS and WORDS tabs of the definition screen.
  • Added 'copy headword' commands to the long-press menus in History and Organize Cards.
  • Fixed a bug that made popup definition lookups fail to work correctly in the DICT tab of the definition screen.
  • Fixed a bug that could cause long-press menu commands in History to apply to entries in different tabs frome the one you're currently looking at.
  • Fixed a bug that prevented the long-press menu in the File Manager Installed tab from working correctly.
  • Fixed a bug that prevented the scroll buttons at the top right corner of Card Info from displaying their enabled / disabled state correctly.
  • Fixed a bug that could prevent audio from playing correctly in dictionary entries with 'phonetic system' set to None.

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.
 

HW60

状元
Flashcards, Fill-in-the-blanks, 4 character word. When I enter the first character and then tap on any character to enter a character without handwriting (because I did not know the second character), Pleco jumps to the fourth character, leaving the third input field blank.
 

zhaomao

秀才
History > OCR tab, all content history is either being covered or it was deleted (I haven't confirmed which yet) -- that tab is blank now (as of the upgrade to beta 5).

Also, and I'll ask this as a question this time, if I select File Reader > overflow menu > Toggle Scrollbar the scroll bar disappears until I swipe to a new page. Is that expected (i.e. feature or bug)?
 

mikelove

皇帝
Staff member
@HW60 - this is an old one, right? We never yet have managed to reproduce it, sadly.

@zhaomao - can you try recognizing some words with OCR and see if they then get added to history?

The toggle scrollbar option shouldn't be showing up at all in paginated mode, actually.
 

HW60

状元
@HW60 - this is an old one, right? We never yet have managed to reproduce it, sadly.
I do not know if it is an old one, I saw it for the first time in beta 5. Maybe it does not happen too often that I do not remember the second character of a 4 character word. But it is very easy and 100% to reproduce on both tablet and phone:

Flashcards, Fill-in-the-blanks, 4 character words (I made a test category and searched for words with length 4 and added them to that category), show definition/ask for headword. Enter the first character by handwriting and tap in the list of characters on one character. The character is entered in the first input field, and Place jumps to the second input field, while the list of characters is still active. Now tap on any character in this list WITHOUT NEW HANDWRITING. The selected character is entered in the second input field, and Place jumps to the FOURTH input field - every time I try it.

It also happens tapping on the character for the third input field without new handwriting - Pleco marks the 4th field red=wrong without any character in that field.
 
Last edited:

zhaomao

秀才
@mikelove - I used Live OCR and items were added the OCR history tab... and possibly some of the old ones came back underneath those (I only recognize one -- I haven't really used OCR much recently). They all got filed under today's date, though. So I still can't say for sure yet whether the old ones were just being hidden or whether they were actually deleted.
 

mikelove

皇帝
Staff member
@HW60 - yeah, that's the one - haven't ever managed to reproduce it, but if nothing else hopefully when we redesign the flashcard test UI next year it'll go away with that change.

@zhaomao - Got it - we'll dig down into it a bit more here and hopefully come up with something, thanks.
 

zhaomao

秀才
Just FYI, I was able to determine that the OCR history entries were deleted. It looks like it started over from scratch. I can try to reproduce by (first downgrading, then) upgrading again if you want.
 

patrick

Member
Just used the new feature paginate text in the reader module, which I think is really nice! However for a document with only 2 pages you need to move the bubble to the very right to go to page 2, would be nice if it happened already when moving half-right (and a "next page" button would also be nice..)
 

zhaomao

秀才
@mikelove - another FYI regarding the history disappearance bug... tonight I noticed that the History > Search tab looks like it got wiped as well -- it now only has net-new entries from tonight.

Also, most of the audio "links" (the speaker icons) beside example sentences are not working... but a few do, and I just noticed that when the example sentence audio *is* playing, the "follow-along" highlighting is displaying a few entries above.

I have "Use TTS if no recording" selected. So far, all of the headwords seem to work all of the time. I can try re-ordering my dictionaries if you think that might make a difference. Also, I just added the MoE user dictionary tonight, so I can remove that as well if you suspect that might be part of it. I've already remove a couple of other user dictionaries without change, though.

Thanks for your continuing good work on this awfully big release!

(Edit: added additional finding and recent changes to dictionary lists)
 
Last edited:

mikelove

皇帝
Staff member
@zhaomao - the fact that it affected search too actually suggests some other sort of problem - we manage that history very differently from OCR history and the upshot of that is that it would be next to impossible for anything that we changed in the history screen to cause your search history to be deleted. Were any of your Pleco settings reset too? How about the Dict and Reader tabs, were those cleared?

Seeing this example issue too now, thanks.
 

zhaomao

秀才
No other history tabs were cleared, sorry to say. As far as I can tell, no other Pleco settings were reset either. I'm not even certain under which conditions it disappeared. I know I'd killed all running apps and restarted Pleco fairly recently before I noticed.

I am seeing little plus signs by a lot of the history entries now, which I don't remember seeing before. I'm going to poke around the settings and see if that's something I incidentally turned on, or if it indicates some sort of "magic" settings change that might correlate with what you're asking about.

<...moments pass...>

The only settings I changed around that time were to turn off Cantonese. I did, however, later import a bunch of flashcards. Could that explain the little "plus signs in squares" to the lower-right of many history entries (on various tabs)?

Also, when I return to the Dictionary search page, I'm getting a comma placed in the search bar (similar to the issue before where an old search would be put back into a cleared search bar). I did do a sentence search last night that included a comma.

Let me know if you want specifics examples or files and I can send them. Thanks!
 
Last edited:

mikelove

皇帝
Staff member
@patrick - re-reading your post: we already offer a "next page" button, actually; it's the volume down button on your device. Press that while the reader is open and it will happily scroll you to the next page.

@zhaomao - The [+] signs might not have appeared correctly in the previous version due to another bug that we fixed in beta 5. But yes, importing a bunch of flashcards would also give you a lot more of them.

With that extra comma, have you made any other searches since that one?
 

zhaomao

秀才
Looks like the answer was "no"... I've since remedied that. I've tried to reproduce the issue quickly using a word, but it appears that particular incarnation is still fixed. I'll try something with punctuation and see if that's the key.

Update: I'm able to get various search terms, whether Chinese or English, to pop back up into the search bar when returning from History using the Back button -- but only once. If I clear the search bar a second time, they don't seem to ever come back. Hope this helps!
 
Last edited:

patrick

Member
@patrick - re-reading your post: we already offer a "next page" button, actually; it's the volume down button on your device. Press that while the reader is open and it will happily scroll you to the next page.

@zhaomao - The [+] signs might not have appeared correctly in the previous version due to another bug that we fixed in beta 5. But yes, importing a bunch of flashcards would also give you a lot more of them.

With that extra comma, have you made any other searches since that one?

ok great, thanks
 
Top