Return to Edit Point after Unintended Context Search [#19259]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

MattTown
Posts: 390
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Return to Edit Point after Unintended Context Search [#19259]

Post by MattTown »

Hi,

I am updating creating a new thread for this issue because the previous thread discussing a similar issue https://www.mediamonkey.com/forum/viewtopic.php?t=94292 was resolved. That thread addressed a failure to return any main list view after a global search was cancelled. My issue relates to returning to a previous point of edit after a context search is cancelled.

SUMMARY

My specific problem is that there is an ultra-low threshold for invoking the context search, and it leaves you at the line found during the search if the context search is cancelled. There is no way for me to tell the Context Search that it was initiated in error, and there is no immediate way for me to return to the line that I was editing. It took me some time to find acceptable workarounds, and the behaviour remains annoying.

DETAILS

I'm working with a long song/file list in the main panel <screenshot>.

Image

At the moment I am primarily listening to track audio and adding categorization data via direct updates into the fields on the main track list. My search options are set to "ignore diacritics/ search whole words only (faster)" via Options>Library>Search (which I understand is both the default and is recommended) and "Scrolls to match" set via the context search pull-down arrow. I have learned the double click cadence for opening the edit box for a field in the main list. I am also habituated to using tab to move the edit focus to subsequent fields on the same list line.

I'm currently using my touch typing to do a LOT of field updating, and every half hour or so I get to type characters before the edit box is ready. When I beat the edit box the context search is initiated and I generally get several characters in before the screen updates. By then the list has moved to the artist name closest to the typed characters, generally a thousand or so lines away from my edit point. When I click on the close cross for this unintended search, the view stays at the line which has the artist name closest to the entered characters.

At the moment my best way of returning to where I was is to return the focus to the main list and press Alt Enter (my hotkey for "General: Focus tracklist on currently playing item") to go back to where I was, which is generally near where the track is playing. It took me some time to find that solution and was very frustrating in the interim. I have tried invoking the Previous View command, but that does not help because it simply presents me with the previous tree node (eg "Years"), so taking me further away from my specific track in the "All Tracks" view that I usually use.

I want the view to return to the line being edited after I cancel the context search, but there is no way to tell the system to do so. This is a major problem for me because in most cases I had not intended to initiate the context search, and I find myself being regularly sent all over the list and having to scroll back to my starting point. I understand that returning to a previous list location after cancelling a search may not be intended (or even logical) behaviour. But, given that there is an ultra-low threshold for invoking the context search, there should be a way of gracefully backing out of an unintended context search and returning to the point of edit where the search was invoked. As an example, MS Word uses the Shift+F5 key combo to scroll through the last three edit locations. As a suggestion, you could repurpose the Esc key to do the return to edit location I'm looking for while leaving the X close search icon to preserve the current 'stay at found location' behaviour.

The current behaviour is baffling and non-intuitive. As a note to the UI guys, this behavior caused me a LOT of grief when adapting to MM5, and might be behind some of the push back you're getting from long term MM4 users. If I had not found workarounds I would have been back at MM4.

I hope that you can devote some attention to this.

Cheers
MM 2024.1.0.3162 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.6.1251, Android 14 on Nokia XR20, music files on SD card.
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Return to Edit Point after Unintended Context Search

Post by Barry4679 »

MattTown wrote: Sat Jul 16, 2022 11:25 pm As a suggestion, you could repurpose the Esc key to do the return to edit location I'm looking for while leaving the X close search icon to preserve the current 'stay at found location' behaviour.
I 100% agree that this is an issue worth fixing.

Maybe a double press of Esc would be a better way to return, ie. 1 Esc to close the Search control, and a 2nd Esc to scroll back to your previous position?
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 18244
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Return to Edit Point after Unintended Context Search

Post by Peke »

Hi,
Handling two esc presses is complicated to implement as there is no windows event handling double key press like there is for mouse double click.

I created https://www.ventismedia.com/mantis/view.php?id=19259
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Return to Edit Point after Unintended Context Search

Post by Barry4679 »

Peke wrote: Sun Jul 17, 2022 8:55 am Handling two esc presses is complicated to implement as there is no windows event handling double key press like there is for mouse double click.
Is doable, but Shift+Esc is another option?
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 18244
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by Peke »

Hi,
Barry4679 wrote: Sun Jul 17, 2022 8:33 pm Is doable, but Shift+Esc is another option?
I do not see the point if you are in Inline search Enter confirms search and ESC should return to previous.

Or am I missing something, as I am not sure about behavior of your cancel search.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by Barry4679 »

Canceling the search does not return to position where you were when you made the search. You are scrolled to the top of the view.

The issue is compounded because the MM5 design makes it easy to accidently trigger a search, ie it can be started by typing a character thinking that you will be inline edit mode.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 18244
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by Peke »

Hi,
You are right, but this especially make issue if there is multi selection. hmmm

Will see what rest of team say.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
sonos
Posts: 191
Joined: Wed Aug 07, 2013 11:54 am

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by sonos »

Barry4679 wrote
I 100% agree that this is an issue worth fixing.
I also support this statement.

Best regards
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by Barry4679 »

Is reported to be fixed in the next release.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
MattTown
Posts: 390
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by MattTown »

Hi Peke,
Peke wrote: Sun Jul 17, 2022 8:51 pm if you are in Inline search Enter confirms search and ESC should return to previous.
My experience is that the context search actions immediately that the 'not in field' characters are typed, moving to the artist name matching the typed characters, stopping at the nearest match. This happens to me 9 out of 10 times, with only occasional instances of the behaviour you describe.
So I never get to the point of having to press Enter to action the search. If the default action was to suspend search action until Enter was pressed - with the implication that the list would stay static unless the search was actioned - then my requirement would be satisfied.
Cheers
MM 2024.1.0.3162 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.6.1251, Android 14 on Nokia XR20, music files on SD card.
MattTown
Posts: 390
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: Return to Edit Point after Unintended Context Search [#19259]

Post by MattTown »

In confirm that it has been fixed in 2670, thanks!
MM 2024.1.0.3162 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.6.1251, Android 14 on Nokia XR20, music files on SD card.
Post Reply