question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On Windows (WinUI) Minimize, Normal, Maximize buttons behave strangely

See original GitHub issue

Description

On Windows (WinUI) Minimize, Normal, and Maximize buttons show as usual on the top-right corner, but they react only when the mouse goes to the counterpart, the top-left corner. Same strange behavior on MAUI Blazor apps. I’m at Visual Studio Community 2022 (64-bit) - Preview Version 17.3.0 Preview 1.1 previous preview versions behaved the same awkward way, Note: this machine had some previase expermantal workloads of MAUI from before RC, the same apps work fine as expected on another machine.

Steps to Reproduce

Nothing in particular, any MAUI project template will behave the same awkward on just this one machine, but not on other machines.

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11 SDK (10.0.22000.0)

Did you find any workaround?

I’ve looked for a way to clear whatever MAUI workload I’ve installed before RC, but so far no luck.

Relevant log output

-- Installed Products --
Microsoft Visual Studio Community 2022
Version 17.3.0 Preview 1.1
VisualStudio.17.Preview/17.3.0-pre.1.1+32519.111
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Community

ASP.NET and Web Tools 2019   17.3.122.33185
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   17.3.122.33185
Azure App Service Tools v3.0.0

C# Tools   4.3.0-1.22254.1+9919d7e7bd753404a5d2328e5e3fb2de635169f3
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

CreateLayoutWizard   1.0
Create layout wizard.

DevExpress Reporting Extension   1.4
A Visual Studio extension that invokes the Report Designer editor for report definition VSREPX files.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

DevExpress.Win.LayoutAssistant Extension   1.0
DevExpress.Win.LayoutAssistant Visual Studio Extension Detailed Info

Extensibility Message Bus   1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.3.11 (4f73250)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   6.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)   17.0.0.2222701+751db1ebea5e6a9ecc7fa57fe447180422afa610
Provides languages services for ASP.NET Core Razor.

StylerPackage Extension   1.0
StylerPackage Visual Stuido Extension Detailed Info

TypeScript Tools   17.0.10420.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.3.0-1.22254.1+9919d7e7bd753404a5d2328e5e3fb2de635169f3
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.1.0-beta.22178.3+6da0245a7ce4bb8483b8d1f2993c8ecaea967ad9
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

VisualStudio.DeviceLog   1.0
Information about my package

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSPackage Extension   1.0
VSPackage Visual Studio Extension Detailed Info

Xamarin   17.3.0.151 (d17-3-p1.1@5a59bfa)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   17.3.0.33 (remotes/origin/d17-3-1@9c0d11a29)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   12.3.99.58 (main/64b22fc)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: adf1bc4
    Java.Interop: xamarin/java.interop/release/6.0.3xx@2a882d2d
    ProGuard: Guardsquare/proguard/v7.0.1@912d149
    SQLite: xamarin/sqlite/3.38.2@7b1e016
    Xamarin.Android Tools: xamarin/xamarin-android-tools/main@fc3c2ac

Video: https://user-images.githubusercontent.com/43465134/172440198-e29e264c-edf7-4da3-8469-9a558c35bfce.mp4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
hartezcommented, Jun 13, 2022

@uSafi What are the language/region settings on that machine? I wonder if we’ve got an RTL bug.

1reaction
asafgocommented, Feb 21, 2023

This bug is still here as I have just created a new File -> new -> project… .NET MAUI App. My workloads maui

my windows 11 region region

Read more comments on GitHub >

github_iconTop Results From Across the Web

NET MAUI Windows control box is opposite
This is a verified maui issue. You can follow up the issue On Windows (WinUI) Minimize, Normal, Maximize buttons behave strangely.
Read more >
Resolving Right-to-Left (RTL) Display Issues in Blazor ...
NET Maui Blazor App and ran it on a Windows machine set to the Arabic ... On Windows (WinUI) Minimize, Normal, Maximize buttons...
Read more >
Windows minimize, maximize, and close button messed up
Depending on the program if it's in windowed form then it's perfectly fine but the moment its dragged down it does this or...
Read more >
WinUI3 : How to remove Min Max Close button with tittle ...
Hi, I am working on the WinUI3 desktop application with C++. I discovered how windows significantly allow us to customize the title bar...
Read more >
Imagine thinking an OS that won't let you easily maximize ...
My observation is that maximising is such a default behaviour on Windows that most apps seem to be developed with that mode of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found