Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5274 closed Bug (support)

Dock bars should be undocked more easily

Reported by: Stamimail Owned by: Underground78
Priority: normal Milestone: 1.7.9
Component: General Version: 1.7.7
Severity: normal Keywords:
Cc: Underground78 Evaluation:

Description

Especially when you expanded the playlist to the half of the screen, And now you want to make it a floating window. The docked bar not off easily.

Change History (19)

comment:1 Changed 5 years ago by Underground78

Cc: Underground78 added
Resolution: support
Status: newclosed

Double-click on the grip to switch to a floating window.

comment:2 Changed 5 years ago by Stamimail

Thank you. It is helpful.

comment:3 Changed 5 years ago by Stamimail

There is still a problem. When Double Click on the grip , sometimes the floating window go and hide out of the screen. Do you see it?
It will be better to make it in center when double click.

comment:4 Changed 5 years ago by Underground78

When you double-click on the grip, the floating window goes where it was the last time before it was docked again. Have you found a reliable way to reproduce this issue? I've been trying myself, without luck so far.

comment:5 Changed 5 years ago by Stamimail

Try:

  1. Dock the Playlist in MPC-HC.
  2. When MPC-HC window is maximized, double click the grip

comment:6 Changed 5 years ago by Underground78

It seems I can't reproduce. Where do you dock the playlist exactly?

comment:7 Changed 5 years ago by Stamimail

Is there a way I can Reset this specific settings, without changing the rest settings?

comment:8 Changed 5 years ago by Underground78

If you are using the registry, you can remove the following key: HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\ToolBars. Remove the corresponding entries if you are using the INI file.

comment:9 Changed 5 years ago by Stamimail

I did so. It did Reset, but I see the bug is still there. Any idea?

Build information:

Version: 1.7.8 (6fcba1b)
Compiler: MSVC 2013 Update 4 (SSE)
Build date: Jan 25 2015 15:21:38

Operating system:

Name: Windows NT 6.1 (build 7601, Service Pack 1)
Version: 6.1 (64-bit)

comment:10 Changed 5 years ago by Underground78

Export the key/ini and attach it here so that we can see what happens for you. Also tell us your screen resolution.

comment:11 Changed 5 years ago by Stamimail

screen resolution: 1600x900

http://pastebin.com/5XH9LejC

comment:12 Changed 5 years ago by Underground78

So this happens also if you undock the playlist, move it to the center of the screen then dock it again, then quit MPC-HC and restart it, maximize the window and finally undock MPC-HC?

comment:13 Changed 5 years ago by Stamimail

When I dock to the Left it works OK.
But at Top/Buttom/Right, when undocking, it goes and hidden out of the screen.
Do you think it is related to the RTL layout?

Last edited 5 years ago by Stamimail (previous) (diff)

comment:14 Changed 5 years ago by Stamimail

Same problem here:
http://nightly.mpc-hc.org/MPC-HC.1.7.8.95.x64.7z
(ini enabled)

comment:15 Changed 5 years ago by Underground78

Now I can reproduce the problem, it indeed seems to be related to the RTL layout so it is good you thought about it.

comment:16 Changed 5 years ago by Underground78 <underground78@…

In 9c2a17:

Dockable bars: Improve reloading of saved state.

This should improve the behavior when toggling between docked/floating:

  • when undocking the bar, the previous floating position will be restored whenever possible. If no position can be restored, the bar will be centered on the screen since MFC default positioning cannot be trusted when using an RTL layout.
  • when docking for the first time, the default docking position will be used instead of always docking at the top.

Ref: Ticket #5274.

comment:17 Changed 5 years ago by Underground78

Owner: set to Underground78

Will be in the nightly builds as of version 1.7.8.111.

comment:18 Changed 5 years ago by Underground78

Milestone: next release

comment:19 Changed 5 years ago by thevbm

Milestone: next release1.7.9

Milestone renamed

Note: See TracTickets for help on using tickets.