![]() |
#406 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,549
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Suppose I can expect a test request eh
|
![]() |
![]() |
![]() |
#407 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
But you are such a good guinea pig beta tester
![]() |
![]() |
![]() |
![]() |
#408 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Well since you're thinking of it, I'll just go take a break and play Final Fantasy 6
![]() |
![]() |
![]() |
![]() |
#409 |
Watching the Sky
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 239
Karma: 634112
Join Date: Sep 2012
Location: Winnipeg, MB
Device: Kobo Aura
|
I figured it would be nice to do as the book is sent to the device as the problem seems most significant on Kobo devices. Leaving the originals intact would be nice.
I've opened a "bug" about it over on Github for you. |
![]() |
![]() |
![]() |
#410 |
Trying for calm & polite
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,012
Karma: 9455193
Join Date: May 2010
Location: Mostly in Canada
Device: kobo original, WiFI, Touch, Glo, and Aura
|
Joel, is it possible to remove "new" tiles from the home screen. I hate it when I add four new books and they displace books I am reading. I manually dismiss them now--after all, the same books show up on the library tile.
|
![]() |
![]() |
![]() |
#411 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
I have no idea, I'm not sure how that's decided. I seem to recall that it's based on some timestamp in the database row. If so, it may be problematic since I can only update those values after the book is already added (same issue as updating series and shelf information) and then I need to figure out how to distinguish between "new books are added that need to be removed from the home screen" and "nothing new was added so do nothing". It would be an interesting problem for sure if I can just figure out how the device decides what books to show on the home screen
![]() |
![]() |
![]() |
![]() |
#412 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,549
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I think the problem is that until the books are processed by the device, they will not be added to the home screen, and they don't get processed until the device is unplugged!
Now I *do* think there is an option in David's utility plugin to remove icons from the home screen, but that would need you to plug back in after sending material to the device. |
![]() |
![]() |
![]() |
#413 |
Trying for calm & polite
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,012
Karma: 9455193
Join Date: May 2010
Location: Mostly in Canada
Device: kobo original, WiFI, Touch, Glo, and Aura
|
Joel, maybe there could be a way to turn off a tile type...forever..so that kind of tile never appears on the home screen. (not like I am demanding)
|
![]() |
![]() |
![]() |
#414 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@taming: The answer is not really. The tile is created from an entry in the Activity table. This is updated by the device when it processes the books, or you do some action based on the book.
My utilities plugin has an option to dismiss types of tiles. It dismisses all the tiles of that type. There is one type missing from the list. This is the "RecentBooks" tile. Any book by itself on the home screen is a "RecentBook" tile. The text under it depends on the reading status of the book. Newly added books will have an unread status and shown as "New" in the tile. To dismiss these means checking the Activity table for the "RecentBooks" status and then the "content" table for the book. It might be possible to do something with the Data column, but I haven't spent much time decoding that. The only way to really achieve what you want is to add a database trigger. This would set the enabled flag for the Activity row to false whenever the row was added or changed. Doing this for all of the tiles of a particular type is easy. The more selective case you want, is a little harder. I haven't looked at this because the new book tiles don't bug me. Last edited by davidfor; 06-10-2013 at 10:13 PM. Reason: Had "RecentRead" in place that should have been "RecentBooks" |
![]() |
![]() |
![]() |
#415 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#416 | |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
In investigating this, I do see some interesting uses for database triggers. But they're all better used in David's Utilities plugin to force certain tile types to stay disabled if there's interest in adding that sort of functionality. |
|
![]() |
![]() |
![]() |
#417 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
As we are talking about the database trigger, I might as well show what I currently use: Code:
CREATE TRIGGER Activity_DismissTiles after insert on Activity for each row when ( new.Type IN ('RelatedItems', 'Sync' )) begin update Activity set Enabled = 'false' where rowid = new.rowid; end Actually, it wouldn't be hard to construct and create the trigger from a dialog. Maybe a new feature for the Utilities plugin. Assuming the Product Manager approves. |
||
![]() |
![]() |
![]() |
#418 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,549
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I'd like to see a development plan listing possible risks, a test plan, realistic time plan, and draft documentation.
|
![]() |
![]() |
![]() |
#419 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
So, not only do you want me to write fiction, it has to be a comedy as well!
|
![]() |
![]() |
![]() |
#420 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,549
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Looks like a bad performance review....
|
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 05:24 PM |
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |