Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-docking of floating window does not work #338

Open
CCB67 opened this issue May 7, 2024 · 1 comment
Open

Re-docking of floating window does not work #338

CCB67 opened this issue May 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CCB67
Copy link

CCB67 commented May 7, 2024

In the DockMvvmSample:
If I undock a panel and release it without docking it anywhere else, it is displayed in a floating window, which is good.
But then I can't integrate it back into the main window, i.e. dock it somewhere again.
The control for selecting the docking position appears and the view of the selected position is also highlighted, but the docking does not work.

@wieslawsoltes wieslawsoltes changed the title re-docking of floating window does not work Re-docking of floating window does not work May 16, 2024
@wieslawsoltes wieslawsoltes added the bug Something isn't working label Jun 1, 2024
@damian-666
Copy link
Sponsor

good to see an update.. i was also looking at Stride and they are using this.
i have 3 questions because lot of people are allmsot doing the same thing and i hope to save someones time.
1.is this bug release hard ot fix?
2.is monogame.inside workign with it , should it try it?
3.and are there any plans to maintain the Core2D? i really think its good, to show all the power of avaloniaa as an IDE. for a specific game or scientic modeling special problems, not a big bloated general purpose IDE.

i Stride hs a plugin readline editor for scripts and soft debugger ( sleep and step and observe, no blocking the ui thread or a) ( no onmisharp) but it a s long way off.

I think the monogame inside can be improved via MonoGameViewModelBase and ditchign the game class and then uisng
is this a difficult bug to fix, for me i cant use it witout a fix or at leasat this workaround to reset..
I was not ablle to reset the layout if i lost my Dock2d render window.

for using two displays wiht DPI scaling in windows WPF core its not that hard you set some params, DPIScaling . with docking i thnk this is a typical use case. setting to 100% dpiscale. is ok but the default for 4K is higher.

im my to try the monogame control but the best way would be to shade the FBO in openGL nd the swapchain in dx, using silk bindings and abstracting this: but its a bit much for Avalonia.. windows

Macabresoft/Macabre2D@510b674
he has done much of this..

here is some discussion if you have time. ele i ll just figure out how to resut the docking.
craftworkgames/MonoGame.WpfCore#9

 MonoGameGraphicsDeviceService : IGraphicsDeviceService, IDisposable   as in the original MonoGame.WpfCore  its being updated now but not in the most minimas way, i might get around to it.   another wya is acting the chatgopt4o to just code one using silk  committed bindings or the autogenerated windows binding in Microsoft's vault. 

in avalonia it attach to visual tree and detail on each activate. two windows can show at once now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants