INTERACT FORUM

Please login or register.

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

Author Topic: Unwanted Behavior  (Read 3210 times)

RFB

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
Unwanted Behavior
« on: March 01, 2016, 03:41:36 pm »

I use a custom view scheme with a column browser with 3 tabs (or windows, whatever they're called). I've noticed that the program, when you switch between tabs, highlights the first track in each list. I find this very annoying, for some reason. I have to resort to selecting another album and then switching back to the album I'm playing to get rid of the highlighting. I find that this highlighting is useless and I don't need it to tell me what the first track in a list is.

Can we possibly get a setting to turn off this highlighting?

Thanks.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Unwanted Behavior
« Reply #1 on: March 01, 2016, 04:00:50 pm »

We might need a screen shot or two to help visualize this one. 

Brian.
Logged

RFB

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
Re: Unwanted Behavior
« Reply #2 on: March 01, 2016, 04:38:09 pm »

OK. I attached one.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Unwanted Behavior
« Reply #3 on: March 01, 2016, 06:37:12 pm »

I can confirm. It does do this, for some reason, when you switch tabs:
https://vimeo.com/157369705
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: Unwanted Behavior
« Reply #4 on: March 02, 2016, 07:09:06 am »

I'm having troubles reproducing this.

I create two tabs of audio views.

I pick a different file in each tab.

I switch back and forth and the same selection stays.

Any ideas?  Thanks.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Unwanted Behavior
« Reply #5 on: March 02, 2016, 07:18:32 am »

Select nothing, Matt.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: Unwanted Behavior
« Reply #6 on: March 02, 2016, 08:04:51 am »

Well that's intentional.

Here's the code:

void JRReportCtrl::OnSetFocus(JRWndPtr pwndOldWnd)
{
    // some junk you don't care about

    if (GetHasSelection() == false)
        Select(GetNextSelectableItem(NULL, true), false, true, false);

I'm not sure if that's a bad idea or not.  Thoughts?

Thanks.
Logged
Matt Ashland, JRiver Media Center

RFB

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
Re: Unwanted Behavior
« Reply #7 on: March 02, 2016, 11:15:16 am »

Well that's intentional.

Here's the code:

void JRReportCtrl::OnSetFocus(JRWndPtr pwndOldWnd)
{
    // some junk you don't care about

    if (GetHasSelection() == false)
        Select(GetNextSelectableItem(NULL, true), false, true, false);

I'm not sure if that's a bad idea or not.  Thoughts?

Thanks.


Hi Matt. For me, it's distracting. When I have a list of tracks (album) I'm playing, I want my attention drawn to the track currently being played, not the first track in the list. On my system the playing track's font is turned white. I find it annoying the first track on the list is highlighted, also. Maybe it's just me and this bothers nobody else. However, a switch (setting) to turn off this behavior would really be appreciated. Thanks.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: Unwanted Behavior
« Reply #8 on: March 02, 2016, 12:12:27 pm »

Hi Matt. For me, it's distracting. When I have a list of tracks (album) I'm playing, I want my attention drawn to the track currently being played, not the first track in the list. On my system the playing track's font is turned white. I find it annoying the first track on the list is highlighted, also. Maybe it's just me and this bothers nobody else. However, a switch (setting) to turn off this behavior would really be appreciated. Thanks.

But if there's something selected, it shouldn't run that code.  So couldn't you just select one of the files before switching away?
Logged
Matt Ashland, JRiver Media Center

RFB

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
Re: Unwanted Behavior
« Reply #9 on: March 02, 2016, 12:20:06 pm »

But if there's something selected, it shouldn't run that code.  So couldn't you just select one of the files before switching away?

That doesn't work for me the way I use the player. When I start to play an album I double click the album title in the album window and that starts playback. I never double click a track to start playback. If I double click a track, that track gets highlighted.

I guess maybe I'm being too picky over a minor thing, but I remember a time when this behavior wasn't in the program and I got used to it.

I can understand if this doesn't seem an issue to you to do anything about. I debated for a while about posting about this at all.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Unwanted Behavior
« Reply #10 on: March 02, 2016, 01:02:58 pm »

I'm not sure if that's a bad idea or not.  Thoughts?

I don't really care, but... I think it is a bad idea. It is inconsistent with the regular behavior of MC. When you open a new View (without any "splits or tabs" involved) it does not GetNextSelectableItem(). It selects nothing, which causes the bottom status bar area to show the stats on all of the files in the View.

But, for some reason, when you switch back and forth between tabs or splits, it constantly re-selects that top file.

In my opinion, what makes the most sense is to:
* Preserve existing selections (including no selection)
* Ensure keyboard focus is set to the file list when visible, or the Categories & Panes if the File List is hidden (so that Control-A or other keyboard shortcuts can be used to quickly select files)

That would be more consistent and still simple to use. I can't imagine a scenario where someone would prefer the existing behavior.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up