bitsdojo / bitsdojo_window

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.
http://www.youtube.com/watch?v=bee2AHQpGK4
MIT License
816 stars 229 forks source link

fix: [WINDOWS] BDW_CUSTOM_FRAME ERROR : Error waiting for a debug connection #134

Closed bufan22 closed 2 years ago

bufan22 commented 2 years ago

fix issues #123 #130

Ref: https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-nccalcsize

Jamminroot commented 2 years ago

Not sure if this is going to be merged, but I'd really like to thank @bufan22 for that :) Fixed the problem I had with windows 11 (beta channel)

tenhobi commented 2 years ago

I confirm that this fixes the issue on Windows 11. Can this be merged, please? @bitsdojo 🙏

KikiManjaro commented 2 years ago

I had the same problem, this fix everything

devtud commented 2 years ago

I had the same problem, this fix everything

How did you test it? Can you please paste here your dependency? Thanks!

KikiManjaro commented 2 years ago

I had the same problem, this fix everything

How did you test it? Can you please paste here your dependency? Thanks!

I've just added :

        if (!wparam)
        {
            return 0;
        }

At line 260 of bitsdojo_window_windows/windows/bitsdojo_window.cpp of my project dependencies

The file is also available in the changes of this MR.

Note: this is just a workaround until this MR is merged

bitsdojo commented 2 years ago

Fixed by https://github.com/bitsdojo/bitsdojo_window/commit/9b83939c321caa438da4be598f527f028e0efa5f