-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Double clicking on the drag bar to maximize does not update the maximize button icon #1780
Comments
Debugged and noticed that MinMaxCloseControl::DragBar_DoubleTapped() method is not hit when I double clicked the Drag bar. [But the window maximizes; strange? |
@gopalrander the drag bar is actually cut out of the window using a region. It's a complicated story about why exactly we need to do this. |
Came here to make this bug. ;) Hitting it daily now. Can't we grab the event and delegate it over? |
Hi Sir/Madam, I would like to ask you that do you also get an identifier error for both byte and HWND in TitlebarControl.h and TitlebarControl.cpp?? The whole section has lots of error. I just wanna confirm that are you also getting the same error? Also when i debugged i noticed that DragBar_DoubledTapped method the event isn't detected where other detection of clicking the max,min or close the event is detected. |
Maximizing the window by dragging it to the top of the screen has the same problem |
If anyone's interested in fixing this, I think I broke this in #2438. The trick is that I think we're now treating the titlebar area as We should be able to handle the double-click directly in NonClientIslandWindow directly. I'm a bit curious of why it regressed, but as long as a fix doesn't regress #2028, I'm happy. |
Nah, it never was hitting the island here. Double click on a Win32 titlebar always did a maximize by default :) |
🎉This issue was addressed in #3025, which has now been successfully released as Handy links: |
Double clicking on the drag bar to maximize does not update the maximize button icon, the icon remains the same, by contrast, if you click the maximize button the icon does update.
Environment
Steps to reproduce
Expected behavior
The maximize button icon is updated
Actual behavior
The maximize button icon does not update.
We are not listening from window state change events from the top level window into the mixmaxclose user control.
The text was updated successfully, but these errors were encountered: