-
Notifications
You must be signed in to change notification settings - Fork 693
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
Drag Drop outside window broken with 1.5-preview1 #9360
Comments
some more context, while more inconsistent, i can repro this bug without having to leave the bounds of the window. winuidragbork2.mp4here's the updated MainWindow.xaml.cs for this:
EDIT: this repro only seems to be caused by the in-app toolbar |
If you disable the 'In-app Toolbar' it doesn't seem to repro. Probably related to #8806 which is reported as fixed in 1.5 release candidate (not available yet). |
that only seems to affect the second repro i gave. the first one still reproes without the in app toolbar. we see this in our app and we don't us VS for debugging |
@JochemPalmsens, does that mean it is fixed in 1.5 or it still repros in 1.5? From the earlier comments, it appears to be a dup of the in-app toolbar, but those should be fixed (betwwen 1.5 and VS 17.9). |
@bpulliam sorry for the confusion. I just wanted to inform the OP that a new version was out. Now I took the responsibility to test this. No it's not fixed. The in-app toolbar bug was also a bug in 1.4. This is a bug in 1.5 I have made a small test project with identical code (as described in the opening post) and 3 versions of winappsdk: 1.4.240211001, 1.5.240205001-preview1 and 1.5.240227000 So the bug is still in the release of 1.5. (Disclaimer: I do not take ownership of the code from the OP: I don't know if they are doing something "wrong" that by coincidence worked in 1.4). |
@bpulliam this is not a dupe of the in-app toolbar. we just tested and this issue is not fixed in the latest 1.5 even with the in-app toolbar disabled |
Our team seems to hit this issue too. Our app is on version 1.5.240311000.
|
The fix is now also in Version 1.5.4 (1.5.240607001). |
Describe the bug
When a user drags outside of our app, we create a transparent window which follows the mouse pointer and is used to allow people to drag tabs to a new window. This worked well in 1.4, but is now broken in 1.5 preview. The simple act of creating a window (doesn't even need to be shown) breaks the app
Steps to reproduce the bug
Expected behavior
I can continue the drag operation
Screenshots
winuidragbork.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.5 Preview 1: 1.5.240205001-preview1
Windows version
Windows 11 (22H2): Build 22621
Additional context
It's the simple act of creating the window that causes things to stop working. If you comment out
placeholderWindow = new Window();
then the drag continues to workThe text was updated successfully, but these errors were encountered: