Form blocked in minimized state
See original GitHub issueHello,
Back to share a new strange and very annoying bug.
How to reproduce :
- Just compile MaterialSkinExample project
- Go in bin folder and run as administrator MaterialSkinExample.exe
- Application is displaying
- Click in taskbar on the app to minimize it
- Click in task on the app to show it again
And here is the issue, the window will never come back to normal state It is only happening when you launch your app in admin, it is very important to reproduce the case.
For now all verification, checks, and investigation gave me nothing. A colleague had also a look on it without more result.
The only thing that I know is that’s probably an issue with the TabControl component.
I’m not able to reproduce it on MaterialSkinExample project but on the project on which I’m working when I’ve removed the line this.DrawerTabControl = this.materialTabControl;
in Main.Designer.cs
it was making minimize/normal state change working again.
Running on Win10 64bits
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Maximize Form from Minimized State not working
When I try to Maximize a Form when it is in a Minimized state, (I am using Windows Form) It will not open....
Read more >Form stuck in minimized state while loop running?
There is no need to do more, this simple code shows exactly the problem i'm facing, while my loop is running, once I...
Read more >Resolved - Prevent a form from being minimized
You can shadow the WindowState property and prevent the Minimized state being set.
Read more >PersistenceBehavior - A minimized form state is restored ...
PersistenceBehavior - A minimized form state is restored when the form is being loaded. Hi, I did some testing with the PersistenceBehavior and ......
Read more >Main form is minimized after child form closing
Hi, We have problem with main form that is minimized after child form closing: 1.Click the button (child form appears) 2.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is a piece of code that worked for me, I think this is not a great solution.
Running on .Net Framework 4.7.2 Win10 1903
Hi, thanks for reporting, you keep surprising me with these bug reports hahah
Probably not a problem with the tabControl, but with how I handle the Drawer (hamburguer menu) with 2 extras forms. I’ve never seen administrator rights causing weird behavior in the interface messages.