Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2011, 12:38 AM   #1
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Button Behavior for the new highlight toggle next to the search bar

I see the new 'Search Highlighting' button that was added as part of the duplicate detection discussion. However I was only able to figure out how to use it by accident. This is because nothing happens when you toggle it on and off. In order for it to do something you need to actually run a new search.

I can understand if there is no search in the search box already that there's nothing to be done, but for the case where a user is already looking at the results of a search it makes more sense to me to actually change the display.

I only figured it all out by accident because I'd toggled the button a few times, watched it do nothing, scratched my head and forgot about it, leaving it enabled by accident. Then I later did a search and unexpectedly found all search results highlighted instead of the expected default filtering behavior. I realized that the button was the cause of the problem because of the discussion of the feature, but when I clicked the button again nothing happened. It wasn't until I re-ran my search that I got the expected default behavior back.

Note I was only able to figure this out because I was reading the duplicate discussion thread and had an idea of what the new button was about and what it was supposed to do. Up until writing this post I hadn't even read the tooltip (which doesn't mention the search needs to be re-run). It just seems that for a novice user this button might be very confusing the way it works now, but if it automatically re-ran the search to switch the modes back and forth visibly it would become more intuitive.

Edit: It also only seems to work for certain types of searches, which makes it more confusing. ISBN:True works, but keyword/title searches don't. I think this may actually be a bug, as the list of returned results returns everything/nothing when highlighting is enabled, but nothing is highlighted.

Last edited by ldolse; 04-17-2011 at 01:13 AM.
ldolse is offline   Reply With Quote
Old 04-17-2011, 05:41 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ldolse View Post
I can understand if there is no search in the search box already that there's nothing to be done, but for the case where a user is already looking at the results of a search it makes more sense to me to actually change the display.
Good point. Changed.
Quote:
Edit: It also only seems to work for certain types of searches, which makes it more confusing. ISBN:True works, but keyword/title searches don't. I think this may actually be a bug, as the list of returned results returns everything/nothing when highlighting is enabled, but nothing is highlighted.
Sorry, don't understand. If highlighting is on, then by definition all books are shown in the library view. If a search returns no results, then nothing will be highlighted. What else can it do?
chaley is offline   Reply With Quote
Old 04-17-2011, 06:01 AM   #3
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by chaley View Post
Sorry, don't understand. If highlighting is on, then by definition all books are shown in the library view. If a search returns no results, then nothing will be highlighted. What else can it do?
Edit: Never mind - looks like user error - got confused because the first matched item was also selected, meaning I couldn't see the highlighting.

Last edited by ldolse; 04-17-2011 at 06:16 AM.
ldolse is offline   Reply With Quote
Old 04-17-2011, 06:13 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Highlighting works fine for me with any search. I need more info about what you are doing/seeing.
Click image for larger version

Name:	Clipboard01.png
Views:	329
Size:	11.8 KB
ID:	70055

Is the search returning one book? In that case, the book is highlighted, but the highlight is hidden by the selection.

Are you looking at the device view? Highlighting isn't supported there. I will change the code to hide the button.

Something else?
chaley is offline   Reply With Quote
Old 04-17-2011, 06:17 AM   #5
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
I edited my reply, but didn't catch it before your post - user error - got confused because the first matched item was also selected, meaning I couldn't see the highlighting.
ldolse is offline   Reply With Quote
Old 04-17-2011, 06:29 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by ldolse View Post
Edit: Never mind - looks like user error - got confused because the first matched item was also selected, meaning I couldn't see the highlighting.
Give a specific item that fails. I have tried many non true/false searches with highlighting on and have no problems.

Edit: Can't even eat a sandwich and the problem is T/S and solved in a few minutes.

Last edited by DoctorOhh; 04-17-2011 at 06:32 AM.
DoctorOhh is offline   Reply With Quote
Old 04-17-2011, 07:53 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The 'one result selected' confusion got me thinking. As it is, when marking is on, there is no visual way to distinguish between no results and 1 result because the selection overrides the coloring. I propose changing things so that if marking is enabled and the search returns nothing, the library view will be positioned at line 1 but nothing will be selected. If a result is returned, the library view will be positioned at the first (and perhaps only) result, and that line will be selected.

Comments?
chaley is offline   Reply With Quote
Old 04-17-2011, 08:03 AM   #8
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by chaley View Post
I propose changing things so that if marking is enabled and the search returns nothing, the library view will be positioned at line 1 but nothing will be selected.
The first part of your suggestion makes sense to me, but I'm not sure I understand the second part.

Quote:
Originally Posted by chaley View Post
If a result is returned, the library view will be positioned at the first (and perhaps only) result, and that line will be selected.
Are you saying that the view will scroll up so that the first match is the first line? If so I agree this would be more intuitive. It wouldn't totally eliminate the source of confusion, but the shift in the view should help a fair bit.
ldolse is offline   Reply With Quote
Old 04-17-2011, 08:07 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ldolse View Post
Are you saying that the view will scroll up so that the first match is the first line? If so I agree this would be more intuitive. It wouldn't totally eliminate the source of confusion, but the shift in the view should help a fair bit.
The behavior will be exactly as it is today if the search result is not empty. The first result is made visible (positioned at center) and selected.

The new behavior will apply only if the search returns an empty set.

The intent: something is selected only if it is in the search result.
chaley is offline   Reply With Quote
Old 04-17-2011, 09:33 AM   #10
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Got it - Sounds good to me.
ldolse is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion: Turn the Author Sort Meta Information Button into a Toggle Greg Waddell Calibre 2 04-15-2011 01:07 AM
suggestion to change the default 'not' search behavior Mriswith2k Library Management 10 03-27-2011 10:26 AM
Strange behavior with advanced catalog search (regex) QuantumBeep Library Management 1 02-21-2011 11:06 AM
PRS-950 How to open two (or multiple) books and toggle them by a button? myReader Sony Reader 10 01-25-2011 06:45 PM
Error message whenever cursor passes over "Search" bar FizzyWater Calibre 2 02-22-2009 09:37 AM


All times are GMT -4. The time now is 07:01 PM.


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