Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2012, 01:08 PM   #346
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Quote:
Originally Posted by NuPogodi View Post
Does anybody like the filechooser to look that way?
any special handling of long file names which do not fit?
I'd say this is more important than the beautification of any kind.
Nice icons are good to have, but some practical needs still
remain, and should be covered...
h1uke is offline   Reply With Quote
Old 05-02-2012, 05:54 PM   #347
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
To say the truth, I see no reasonable way to handle long filenames. To begin with, I've just implemented the simplest one - reducing the filename length till it fits the page width (see screenshots of the same folder at two orientations, i.e. various page widths)

If you have better idea, please, do not hesitate to share it here.
NuPogodi is offline   Reply With Quote
Advert
Old 05-02-2012, 06:54 PM   #348
dpavlin
Connoisseur
dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.
 
dpavlin's Avatar
 
Posts: 61
Karma: 116628
Join Date: May 2011
Location: Zagreb, Croatia
Device: Kindle K3G and DXG
Quote:
Originally Posted by NuPogodi View Post
Does anybody like the filechooser to look in that way?
Looks nice, but I would rather have keyboard shortcuts instead of icons. We do poor job of displaying longer filenames already since we don't have scroll left-right feature which Kindle framework does.

Do you have some code to share? We can put keyboard shortcuts on top of icons in new ui rewrite if I'm not mistaken (right now text always have white background)

OOH, icons help, especially if you have two formats of same book and don't see file extension :-)

Last edited by dpavlin; 05-02-2012 at 06:57 PM. Reason: a case *for* icons if extension isn't visible
dpavlin is offline   Reply With Quote
Old 05-02-2012, 08:59 PM   #349
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by NuPogodi View Post
To say the truth, I see no reasonable way to handle long filenames. To begin with, I've just implemented the simplest one - reducing the filename length till it fits the page width (see screenshots of the same folder at two orientations, i.e. various page widths)

If you have better idea, please, do not hesitate to share it here.
We have menu that handles long item names in the new UI framework:



Press right arrow key in a item will pop up a message box to show a full name. How about that?
dave2008 is offline   Reply With Quote
Old 05-03-2012, 03:52 AM   #350
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Quote:
Originally Posted by dpavlin View Post
Do you have some code to share? We can put keyboard shortcuts on top of icons in new ui rewrite if I'm not mistaken (right now text always have white background)
1. Are you mocking about hiding icons by white-backgrounded text? To show icons, I've used a function similar to FrameContainer with HorisontalGroup consisted of 1) ImageWidget /the icons are plain png-files/, 3) TextWidget /filenames/ and 2) empty Widget to define a gap in-between. So, one may load, do not load or just replace icons by something else (say, text prompts for corresponding keycode to run the item).

Quote:
Originally Posted by dpavlin View Post
Do you have some code to share?
2. As far as I understood, new UI (mentioned by Dave) already solved the problem. If not, I may of cause post a link to modified filechooser.lua and widget.lua.

Quote:
Originally Posted by dave2008 View Post
We have menu that handles long item names in the new UI framework... Press right arrow key in a item will pop up a message box to show a full name. How about that?
3. Well, i did not know the new UI-widget splits long strings. In my kdpf-version (April.2), the one-line info appears only if the string is not too long. My naive attempts to split long lines with "\n" just failed.
4. If it does handle strings with few lines, I'd rather add to this info-window some other useful details (filesize; date; eventually, percents of read text for those files that has already been opened in kpdfviewer, etc)
NuPogodi is offline   Reply With Quote
Advert
Old 05-03-2012, 04:28 AM   #351
eLiNK
Addict
eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.
 
Posts: 344
Karma: 6494
Join Date: Jan 2008
Device: PRS-505, KDXG
Quote:
Originally Posted by dave2008 View Post
We have menu that handles long item names in the new UI framework:



Press right arrow key in a item will pop up a message box to show a full name. How about that?
Suboptimal.
Clearly, it would be a useful feature. Because apart from the name of the file you could get an additional information on the file size, creation date, number of pages and the like.

But for long file names, a two-liner would be great and in my view really necessary.
eLiNK is offline   Reply With Quote
Old 05-03-2012, 04:40 AM   #352
eLiNK
Addict
eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.
 
Posts: 344
Karma: 6494
Join Date: Jan 2008
Device: PRS-505, KDXG
Quote:
Originally Posted by NuPogodi View Post
Does anybody like the filechooser to look in that way?
I'm all for bells and whistles as long as practical considerations are not ignored.

But it looks real' gooood.

Last edited by eLiNK; 05-03-2012 at 04:55 AM.
eLiNK is offline   Reply With Quote
Old 05-03-2012, 06:08 AM   #353
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by NuPogodi View Post
2. As far as I understood, new UI (mentioned by Dave) already solved the problem. If not, I may of cause post a link to modified filechooser.lua and widget.lua.
The new UI framework is under developing in another branch and I guess it will not be merged to the main branch in the near future. So I think hacking on current filechooser is still necessary.


Quote:
Originally Posted by NuPogodi View Post
3. Well, i did not know the new UI-widget splits long strings. In my kdpf-version (April.2), the one-line info appears only if the string is not too long. My naive attempts to split long lines with "\n" just failed.
Yes, "\n" wont work here. To draw another line, you need to manually call renderUtf8Text with new offset of next line.


Quote:
Originally Posted by NuPogodi View Post
4. If it does handle strings with few lines, I'd rather add to this info-window some other useful details (filesize; date; eventually, percents of read text for those files that has already been opened in kpdfviewer, etc)
Yes, and also buttons in the message box to allow for simple file manipulations
dave2008 is offline   Reply With Quote
Old 05-03-2012, 06:20 AM   #354
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by eLiNK View Post
Suboptimal.
Clearly, it would be a useful feature. Because apart from the name of the file you could get an additional information on the file size, creation date, number of pages and the like.

But for long file names, a two-liner would be great and in my view really necessary.
Agree, two lines should meet most of the cases. If the file name is longer than two line, then it should be considered for renaming
dave2008 is offline   Reply With Quote
Old 05-03-2012, 07:18 AM   #355
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Quote:
Originally Posted by dave2008 View Post
So I think hacking on current filechooser is still necessary.
Link to zip with updated lua-files & some icons.
ATM, long files are splitted by "...", the keys KEY_I and KEY_FW_RIGHT result in a simple popup-window with filesize & date (just for demo purposes).
NuPogodi is offline   Reply With Quote
Old 05-03-2012, 09:41 AM   #356
eLiNK
Addict
eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.eLiNK got an A in P-Chem.
 
Posts: 344
Karma: 6494
Join Date: Jan 2008
Device: PRS-505, KDXG
Quote:
Originally Posted by NuPogodi View Post
Link to zip with updated lua-files & some icons.
ATM, long files are splitted by "...", the keys KEY_I and KEY_FW_RIGHT result in a simple popup-window with filesize & date (just for demo purposes).
the icons are missing in the filesearcher.
eLiNK is offline   Reply With Quote
Old 05-03-2012, 12:40 PM   #357
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Quote:
Originally Posted by eLiNK View Post
the icons are missing in the filesearcher.
Oh, I've just forgotten to include updated filesearcher.lua. The result looks like:

PS. KEY_I -> File Information (the same command & window as in filechooser)
NuPogodi is offline   Reply With Quote
Old 05-03-2012, 04:42 PM   #358
pol01
Junior Member
pol01 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: Kindle DXG
Quote:
Originally Posted by dave2008 View Post
We have menu that handles long item names in the new UI framework:



Press right arrow key in a item will pop up a message box to show a full name. How about that?
May be it should better to use fixed length string to show long file name by default and let user to enable this message box in settings?

Dave2008 the "duokan style" file browser will be realized in the new UI framework. Am I right?
pol01 is offline   Reply With Quote
Old 05-07-2012, 05:47 AM   #359
SP777
Junior Member
SP777 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2012
Device: K3 3G
One more idea. Is it possible to make a continues page view like in the desktop Adobe Reader? This means: when the previous page ends, you see the top of the next page on the same screen. Both modes (with and without margins) would be useful.
SP777 is offline   Reply With Quote
Old 05-07-2012, 08:27 AM   #360
dpavlin
Connoisseur
dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.
 
dpavlin's Avatar
 
Posts: 61
Karma: 116628
Join Date: May 2011
Location: Zagreb, Croatia
Device: Kindle K3G and DXG
Quote:
Originally Posted by SP777 View Post
One more idea. Is it possible to make a continues page view like in the desktop Adobe Reader? This means: when the previous page ends, you see the top of the next page on the same screen. Both modes (with and without margins) would be useful.
I was thinking about same thing, but it would take a while because we first have to migrate to new UI framework (which will hopefully bring some support for non-keyboard kindles, I hope ;-)
dpavlin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1289 04-07-2025 10:18 AM
Librerator - multi-format e-reader, fork of KPV Kai771 Kindle Developer's Corner 433 05-25-2024 03:34 AM
Yet another PDF viewer (muPDF based) melihron PocketBook 66 09-02-2014 03:03 AM
Text-based PDF to Mobi, etc./Kindle 3 kidblue Calibre 41 07-20-2012 03:19 PM
muPDF on Kindle DX!! DairyKnight Kindle Developer's Corner 8 03-21-2010 03:39 AM


All times are GMT -4. The time now is 07:21 AM.


MobileRead.com is a privately owned, operated and funded community.