INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC Losing Focus of the selected files when the title bar is dragged  (Read 748 times)

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi

Steps to reproduce:

1. Select a Categories view, such as Video > Shows, and set the top display to be Thumbnails

2. Open the file list below, and set the List Style to Details

3. Open the MCWS web service in a browser, and go to the Files > Current area

4. Select a single file from the MC file list set in step 2 above

5. In the browser, click the Click here link in the Files > Current text and save as an MPL

Examine the contents of the MPL and notice that only one file gets saved, as expected.

6. Drag the MC window by the title bar moving the window

7. Repeat step 5, saving the MPL file.

Examine the contents of this second MPL and notice that all files in the category get saved.

The moving of the MC window is resetting the selection, and this is breaking some 3rd party utilities.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Bug: MC Losing Focus of the selected files when the title bar is dragged
« Reply #1 on: October 21, 2019, 01:08:31 pm »

This can more easily be reproduced by selecting and playing single track in MC (same type of view), examining Now Playing - a single track is present.  Click Stop.  Move the window.  Move back to your view and click Play.  All items in the group get added to Now Playing.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: Bug: MC Losing Focus of the selected files when the title bar is dragged
« Reply #2 on: October 21, 2019, 02:22:26 pm »

You can configure what the play button does in Options > General > Behavior.  I prefer it just playing Playing Now.
Logged
Matt Ashland, JRiver Media Center

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Bug: MC Losing Focus of the selected files when the title bar is dragged
« Reply #3 on: October 21, 2019, 02:49:06 pm »

Did you attempt my first example?  Moving a window around should not change the selection focus.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10970
Re: Bug: MC Losing Focus of the selected files when the title bar is dragged
« Reply #4 on: October 21, 2019, 03:04:46 pm »

I can't reproduce such issues with the Play button. It'll always put all currently visible files into Playing Now (as it should), and start playing the one I had selected, no matter if I drag the window in between.
The light-blue selection marker also stays present.
Logged
~ nevcairiel
~ Author of LAV Filters

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: Bug: MC Losing Focus of the selected files when the title bar is dragged
« Reply #5 on: October 21, 2019, 03:15:11 pm »

The issue is because the focus shifts from the list with only a few selected to the list above with everything selected.

Let us think on it.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: MC Losing Focus of the selected files when the title bar is dragged
« Reply #6 on: October 22, 2019, 10:09:22 am »

I'm going to make a coming build of MC26 tunnel the selection request for the grouping list to the child list.  If the child list returns success, the grouping list won't do any work.

Here's the history:
Fixed: If you selected files below a grouping, then dragged the window to move it, getting the selection would get files from the top grouping list instead of the bottom list.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up