View Issue Details

IDProjectCategoryView StatusLast Update
0017276MediaMonkey 5Playlists (Auto) / Search / Filterspublic2021-01-18 15:32
Reporterlowlander Assigned To 
PriorityhighSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0.1Fixed in Version5.0 
Summary0017276: Search mode options counterintuitive
DescriptionHaving 'Respect Diacritics' (less flexible) combined with 'Match within words' (more flexible) seems counterintuitive. Also the option match within words would seem to counter the Search whole words only option.

I assume the search mode settings are set on speed instead of user search flexibility.
Steps To ReproduceIt might be better to have:

[Checkbox] Search Whole words
when disabled a sub-option dropdown becomes available:
  xx Matching beginning of words
  xx Match within words

Independent dropdown for:
 x Ignore diacritics
 x Respect diacritics
Additional InformationTODOC
https://www.mediamonkey.com/wiki/index.php?title=WebHelp:Search/5.0
TagsNo tags attached.
Fixed in build2294

Relationships

related to 0017395 resolvedLudek Respect diacritics breaks search operators 

Activities

Ludek

2021-01-13 18:52

developer   ~0061313

You are right that combination of "Search whole words only" and "Match within words" does not make any sense.
I guess we should just hide (or disable) the "Search whole words only" checkbox whenever the "Match within words" is enabled, as actually it is ignored anyway.

Ludek

2021-01-13 18:57

developer   ~0061314

Last edited: 2021-01-13 19:00

View 5 revisions

ok, I refreshed the browser and seeing your new comments in "Steps to repro" section.
The problem is that currently we cannot ignore diacriticts and search within words as we are using FTS engine that can search only prefixes while ignoring the diacritics.

So the 5.0 solution would be to disable the '[x] Search whole words only' checkbox whenever the "Respect diacritics / Match within words" is selected
And moving the '[ ] Search whole words only' checkbox below the 'Search mode' dropdown -- so that's clear it is sub-option

Ludek

2021-01-13 19:12

developer   ~0061315

Last edited: 2021-01-13 21:39

View 2 revisions

As for the current UI confusion, another solution could be that once the '[x] Search whole words only' checkbox is checked then the dropdown text would change from
'Ignore diacritics / match beginning of words'
to just
'Ignore diacritics'

Ludek

2021-01-13 21:37

developer   ~0061319

Last edited: 2021-01-13 21:38

View 2 revisions

Fixed in 2294 by moving the checkbox below the dropdown and make it enabled just when the first choice is seleted.

Search mode: ['Ignore diacritics / match beginning of words (faster)'^]
-- '[ ] Search whole words only'

lowlander

2021-01-14 20:33

developer   ~0061331

Verified on 2294, documentation updated.

Ludek

2021-01-18 15:32

developer   ~0061415

FYI: Whole words searching in 'Respect diacritics' mode was added in 2296 (in course of 0017395), so the '[ ] Search whole words only' is no longer disabled in that mode