getmusicbee.com

Support => Bug Reports => Topic started by: redwing on June 14, 2019, 07:20:36 AM

Title: Now playing bar over column browser
Post by: redwing on June 14, 2019, 07:20:36 AM
When now playing bar gets expanded over horizontal column browser, GUI gets partly broken and it's not easy to restore the two elements to the prior state. An easy fix would be to keep the now playing bar from expanding over horizontal column browser.
Title: Re: Now playing bar over column browser
Post by: Steven on June 14, 2019, 06:10:50 PM
it should already be the case and i cant reproduce the issue ie. cant make the now playing bar higher than the horizontal column browser.
If it is something you can easily reproduce would you mind sending me your settings file
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 06:16:02 PM
PMed it.
Title: Re: Now playing bar over column browser
Post by: Steven on June 14, 2019, 06:36:18 PM
the settings file you sent had the default tab as Inbox, but i cant see any Now Playing bar configured.
I also checked the other tabs. Perhaps its happening with a custom layout?
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 06:38:29 PM
It happens in any tabs. BTW I'm showing the now playing bar using a toolbar button.
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 06:44:06 PM
Just tried adding it using the panel configuration dialog and it's the same for me. Easy to reproduce the issue.
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 06:51:51 PM
I can reproduce this easily with RC3 with the default settings.
Title: Re: Now playing bar over column browser
Post by: Steven on June 14, 2019, 06:55:25 PM
the default settings dont have a column browser or now playing bar.
Where precisely did you include the now playing bar and the column browser?
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 06:58:02 PM
Both to the main panel.
Title: Re: Now playing bar over column browser
Post by: redwing on June 14, 2019, 07:03:09 PM
You can see now playing bar is expanded higher than column browser.

(https://i.imgur.com/I8pjtd6.png)
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 07:43:41 AM
When now playing bar gets expanded over horizontal column browser, GUI gets partly broken and it's not easy to restore the two elements to the prior state. An easy fix would be to keep the now playing bar from expanding over horizontal column browser.
i will have another look at this today but i wasnt able to reproduce this at all yesterday. This might seem a stupid question, but how are you making the now playing bar higher than the column browser - just using the mouse to drag the now playing bar higher?
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 07:56:28 AM
Yes, just dragging up the top border of the now playing bar is all I do.

Did you look at the screenshot with a fresh installation of RC3? So I can drag it over to the header bar either with or without adding column browser, and can't drag it down. I think it's basically the same issue.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 09:34:53 AM
This is a real mystery and cannot reproduce on a fresh install. I guess I will leave this unsolved.
I did discover the column browser defaults to 0 height so at least one bug is fixed!
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 10:04:05 AM
PMed the RC3 settings file with now playing bar dragged over to the header bar.
Look at Music tab where you can't drag down the now playing bar.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 10:12:52 AM
I agree about the Music Explorer tab and thats because resizing support is not implemented in that tab and i will leave that as is.
For the Music tab, on my screen the now playing bar is 3/4 of the screen height but i cant drag it above the header ie. works as expected.
I will agree that if you resize the application window height, you can make the now playing bar overlap the header - thats why i asked how you were doing this. But in no circumstance can i drag the bar beyond the expected bounds.
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 10:17:36 AM
No, I'm dragging it in full size window. My screen resolution is 1600x900. Is that why it shows up only at 3/4 of the screen height on yours?
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 10:27:03 AM
My screen resolution is 1600x900. Is that why it shows up only at 3/4 of the screen height on yours?
yes
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 12:13:47 PM
The issue also occurs with artist picture panel when it's placed at the top of the main panel.
What I'd like to see is if the user drags up the top border of the now playing bar, it should stop right below the bottom border of column browser/artist picture panel/header bar, etc. so that it makes no overlap with any part of those elements.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 01:21:50 PM
for the now playing bar issue, if you start MB where its not maximised, does that make any difference?
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 01:27:13 PM
No, it's just the same. I can't drag it down unless I maximize the window (then it gets placed at a lower height).
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 01:30:41 PM
just so I am completely clear, if you have the now playing bar sized so its not overlapping anything and restart MB in normal window size, does MB stop you dragging the now playing bar above the caption bar header (or column browser if enabled)
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 01:39:26 PM
No, whatever I do, I've never seen it stops dragging at any position.
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 01:42:14 PM
I don't understand why it's so hard to prevent it when MB knows all dimensions of displayed elements.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 01:50:41 PM
yes of course MB knows the dimensions and should already be blocking the drag movement based on the dimensions. I dont understand why its not working for you.
I will have a look and see if its worth creating a debug version
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 01:52:34 PM
If anyone else can replicate the issue, please report.
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 02:15:25 PM
yes of course MB knows the dimensions and should already be blocking the drag movement based on the dimensions.

I keep dragging down the bottom of the column browser and dragging up the top of the now playing bar. The settings file shows the changed height of the both elements correctly at each time. But how does it know when they will start overlapping?
Also, I can drag it all the way up to the caption bar regardless of column browser. Then how does it compute the up limit of now playing bar?
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 03:12:07 PM
could you run this version and send me the info in the error log. All you need to do is click on the header to start the drag and it will log the parameters its using. Also could you include a full size screenshot

https://www.mediafire.com/file/crcdcgh3dox1ccd/MusicBeeDebugPanelResize.zip/file

Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 03:24:52 PM
PMed it.
Title: Re: Now playing bar over column browser
Post by: Freddy Barker on June 15, 2019, 04:09:12 PM
If anyone else can replicate the issue, please report.
Just tried on 1600x900 and looks normal to me - not got the A-Z jump bar visible here though...may or may not be relevant..
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 04:21:24 PM
PMed it.
the values are exactly as expected and correspond to the screenshot so i think it must be the windows cursor clip function itself that is not working. If you set the window to normal size, are you able to drag the cursor above the top of the application window or down below the bottom of the now playing bar?
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 04:29:47 PM
drag the cursor above the top of the application window or down below the bottom of the now playing bar?

Do you mean dragging the top border of the now playing bar, or just moving the cursor? Cursor moves fine to any place.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 04:34:31 PM
Do you mean dragging the top border of the now playing bar
that - are there any y-axis barriers to where the top border can be dragged to other than the screen barrier
Title: Re: Now playing bar over column browser
Post by: Freddy Barker on June 15, 2019, 04:38:41 PM
...My screen resolution is 1600x900...

On 1600x900 - the only thing I have noticed that looks a little off is the top of the text "Processing....15 of 199 files" as in screenshot:-

(https://i.imgur.com/ZTZaHDX.png)
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 04:40:42 PM
No barriers. If I drag it down out of the application window, it gets a negative number as height value in the settings file.
Title: Re: Now playing bar over column browser
Post by: Steven on June 15, 2019, 04:42:55 PM
No barriers. If I drag it down out of the application window, it gets a negative number as height value in the settings file.
in that case i feel confident in saying its the windows ClipCursor function that is not working for you. I have no idea why that would be.
I can look to make an enhancement in v3.4 to work around the issue
Title: Re: Now playing bar over column browser
Post by: redwing on June 15, 2019, 04:44:28 PM
OK. Thanks for looking into the issue!