-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
maximizing in Win 10 #267
Comments
Which version are you using? |
Where do I get the v4.0 preview? I just downloaded the ZIP from the Code Tab on Github. Is v4.0 preview included there or do I get it from a different spot? |
You can grab the latest binaries from https://ci.appveyor.com/project/batzen/fluent-ribbon/build/artifacts |
Can't see screenshots in your response. I guess it's because you answered by mail. In which themes do you see the issue? |
Build 14257
Not on my Win 10 machine where the screenshots where taken. It is a Surface Pro 3. Running 2160 x 1440 res. |
I guess that should be the information i needed. |
The file is missing from your response. |
Here is the file. |
So to clarify this for me: I was unable to reproduce this issue so far. Will continue to try. |
There was no difference that I can notice between 3.6 and 4.0. Both behaved the same.
My Surface Pro 3 Win 10 is running a preview red stone fast ring version of the OS so I also tested on the latest non-preview version of Win10 in VMWare and get the same results.
Again in all tests, the border problem is in Win 8 theme only.
The other problem mentioned (application menu opening outside application – third screenshot) occurs everywhere on any theme regardless of machine and OS if “use application menu” option is selected.
Also got a crash yesterday when I clicked on a down arrow from an icon in the title bar in your demo.
Perry
From: Bastian Schmidt
Sent: Wednesday, February 17, 2016 9:29 AM
To: fluentribbon/Fluent.Ribbon
Cc: Bortxx
Subject: Re: [Fluent.Ribbon] maximizing in Win 10 (#267)
So to clarify this for me:
You encounter the issue in version 3.6 and in version 4.0?
Just want to make sure it didn't get worse in 4.0.
I was unable to reproduce this issue so far. Will continue to try.
—
Reply to this email directly or view it on GitHub.
|
Could you run my tool in your VM and send me the json file? I am also unable to reproduce your issue regarding the application menu. The only way i get it to show outside the window is by moving the window close enough to the screen-edge and then open the menu. But that's just standard popup behavior... Any details you can provide about the crash? A Stackstrace would help a lot. |
Could you run my tool in your VM and send me the json file?
I will run it as soon as I find that tool again.
Did you make any special modifications regarding your theme on windows 10? Some of the values my tool wrote out to the json file look really weird to me.
No theme changes. Only changed the desktop background image and in Display settings I set “Change the size of text, apps, and other items” to 200%. But I was aware of this change and I also tested with this setting placed back to default 150% and got the same results. When I ran the tool however it was set to 200%.
Which DPI settings are you using?
Didn’t chage DPI so it must be the default. Unless this is the same setting as the one mentioned above.
I am also unable to reproduce your issue regarding the application menu. The only way i get it to show outside the window is by moving the window close enough to the screen-edge and then open the menu. But that's just standard popup behavior...
No, on mine it happens all the time except when maximized for obvious reasons.
Any details you can provide about the crash? A Stackstrace would help a lot.
I haven’t been able to reproduce it again.
|
What i can tell so far:
I don't know what i can do to reproduce all the issues.
Could you try to set "Show color on Start, taskbar, action center and title bar" to on and check if the black glass frame is gone? |
Regarding application menu wrong placement. Yes all other apps open the menu properly. Tested on Threshold too with same results. Word pad and other apps work fine. Did you test with Win8 theme and also did you select "Use application menu"? It only happens if you select that setting. Also sometimes the menu doesn't stick. Press File button and menu appears. Release File button and menu goes away. It behaves like this less often. |
Ok, now i get the problem on windows 10 regarding borders. I was just confused because they were purely black. I will try to adjust the glass frame thickness and remove those borders. You opened the issue with problems on maximized windows, i guess that's not the case on threshold? So the only remaining problem seems to be the application menu appearing at the wrong position. |
|
I figured out how to reproduce the problem where the application menu will not stick. This is the other problem I was talking about where when you release the click on the File tab the application menu disappears. So it is only showing if you hold down the mouse button. To reproduce, move the window outside the right side of the monitor any amount. It could even be very little. As soon as you do that, even if you put the window back so it is fully visible, from that point on the app menu will not stick. |
Regarding your application menu issue: Please execute the attached application and tell me what it looks like, screenshot preferred, on your machine. |
That's exactly what i expected... |
@Bortxx I have no issues on my™ Win 7 machine, all works fine. So a short question, is your system a Tablet or Touch PC? So you should check, if your Popup/Menu settings are left or right handed. Some informations that I found, maybe it helps you.... https://social.msdn.microsoft.com/Forums/vstudio/en-US/19ef3d33-01e5-45c5-a845-d64f9231001c/popup-positioningalignments?forum=wpf /cc @batzen |
My Win 7 machine which made the screenshots above is a desktop computer without touch. I also tested on Win 10 in a VM hosted on my desktop PC, and on my Win 10 Surface Pro tablet. They all exhibit the same problem (menu sticking out the left). Went into my Tablet PC settings and it was already set for Right-handed. Besides all other ribbon controls don't behave like this. If it was a left-handed problem should all other ribbons open to the left too? |
The problem boils down to your machine having set SystemParameters.MenuDropAlignment to true. |
The fix is good news but my curiosity is asking, who set this setting, and why has it been set on all my machines (the six I have at home and the two at work including all the VMs with mixed operating systems)? What special voodoo do I posses that puts a spell on all my machines? |
…round SystemParameters.MenuDropAlignment #267
@Bortxx Maybe this is interesting for you regarding the latest insider build for windows 10. From their changelog:
|
Yes, I read that yesterday and thought about our problem. This reinforces why we should not test on Red Stone. So it looks like they fixed the color problem but the border thickness issue is still there, even in Threshold so that should be fixed. |
I am still working on the border problem. Removing those causes re-sizing of the window very difficult. |
- Windows 8 (non DWM) window now looks more like Office 2013 to better align with Windows 10 styling - Window borders are nearly removed completely (as mentioned in #267)
@Bortxx could you test the changes i just made? |
Will have a look at the remaining menu issue. The top border isn't broken. All other borders are broken. The border of the window are supposed to have the theme color in the office 2013 theme. |
As there is no way to remove the border drawn by windows itself, without introducing a myriad of new issues, i will remove the theme color border... |
Broken might have been the wrong word. How about "missing". You can't deny the top border is missing in Win 7. It was there in the last version. Now its completely gone in the Office 2013 theme. Also missing in Win 10 but it is easier to miss there because it is only 1px thick. That's why I magnified the screenshot so you can clearly see it gone. |
Broken is the only correct word here ;-) |
@Bortxx Could you have a look? |
Should work correctly now. |
Fixed |
Tested and looks good. |
So this issue can, finally, be closed? ;-) |
This was actually several issues. All issues I have brought up here can be closed. Thanks for being patient. |
You're welcome. ;-) |
When maximizing the application window on most of the themes in Win 10, there is a back border on left, right, and bottom of window. Seems like a layout bug.
The text was updated successfully, but these errors were encountered: