You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues caused by high dpi in windows 7 , and possibly other versions
I started writing this issue request early today, however as the day progressed, i looked into it further and further, and believe i found the fix. I'm sorry for this ridiculously long post, however, I'll put in a pull request with the code hopefully by end of day (i have to run for now but wanted to post this first)
I believe I fixed the High DPI issues in windows 7, and while i haven't tested in windows 8 8.1 or 10, it should support per monitor scaling as well It also fixes the menu function that is described.
I've tried to lay out step by step how i came to the conclusions i have and also included the code examples and screenshots of how I made it all work correctly on my system with a 4k screen, and custom theme, using win blinds and other star dock software.
I apologize if there's grammatical errors and etc, I didn't have time to re edit this.
there are still very few small issues but i think from this you can get it worked out.
I like brackets and the things have been bugging me for a while, so i figured I'd work on it. Hopefully this is the right venue for posting this.
If you have any questions please reply. Thanks!
Issues addressed in this post:
Issues with menu and title bar and inability to place or render menu and title in same field.
High DPI Compatabilty and virtual scaling
application manifest issues
Issues with system metrics functionality
issues with dynamic dpi changes and dpi awareness levels
Issue with menu bar in Windows
I'm having an issue with the menu bar being non selectable. This has been encountered in past, and,
I've found similar issues, and so my concern is that while it may be being caused by extensions, it may in fact be a core brackets issue.
When I try to click on the menu bar (file edit etc...) It acts as though it is the title bar and acts to minimize or maximize when double clicked. Obviously that was annoying so I tried a few things and finally realized that when I mouse over top left corner of title bar, I get the menu bar.
General Information About Issue:
Screen Cast Of Issue:
A. The Menu Can not be clicked on the Menu Bar.
The menubar is acting as the title bar.
The menubar items do highlight on mouseover as described in point 2.
B. If I mouseover the top left hand corner of the window (on title bar) the "file" menu button appears but in the title bar.
Menu can be clicked when it appears in title, and works
a. _ ONLY THE FILE MENU APPEARS AND ONLY FILE CAN BE CLICKED
After "FILE" appears, you can mouse to the right, and the rest of the menu items appear.
The items in the menubar do not disappear as the "Title bar menu" appears.
You can not click on the menu bar items after getting the title bar menu, it still acts as title bar.
You can also access the menu by pressing the alt key and using the arrows
a. _ When you use the arrows all menu items appear in title bar.
C. Other random observations:
a. "File" only appears on mouseover when windows is active.
b. It does not matter if I uninstall all my add-ons.
c. It does not matter if I have the window maximized or minimized.
d. I checked preferences file, found no issues.
e. Issue disappears if i uninstall the update and reinstall to old version.
d. Issue re-appears when new version is installed again.
Info about what I did try as far as debugging this and why
5. Personal Notes about Issue 11780 (request to merge menubar onto titlebar)
a. If this feature is added, it needs to have a preference flag to turn it off, I for one don't want it.
b. suggest using the name of "UI.Menu.Title.Merged.Bar": false,
Errors Found In JS
I found notes inside of brackets developer add on that had a flag on a js file relating to extract extension
Thanks@tbaker4802 for analyzing this in detail and reporting.
HiDpi support in Windows is pretty basic as we are still on Windows 7 API's for HiDpi support, and that does not support per monitor DPI scaling. 3840 x 2160 is a resolution in windows that we have not tested for Hidpi yet. But as these resolutions become much more common, we will have to prioritize this issue. To enable true HiDpi support in Windows, we need to update brackets-shell to 8.1 SDK which would take considerable effort. If you are interested in contributing to this effort, Please check out the brackets-shell repo that holds the native shell related code for HiDPI.
Brackets draw its own custom dark window chrome. The coordinates it gets may be broken with unexpected scale factors- which might be leading to the menu bar draw issues. Needs further investigation.
Linux is an altogether different issue, The current version of CEF for the Linux side of brackets-shell does not support HiDpi. adobe/brackets-shell#499 is the PR submitted to include CEF 2171 which has HiDpi support among other things. But but to lack of support from the Linux community, this has been stuck there for a while.
Issue by tbaker4802
Sunday Oct 18, 2015 at 22:15 GMT
Originally opened as adobe/brackets#11838
Issues caused by high dpi in windows 7 , and possibly other versions
I started writing this issue request early today, however as the day progressed, i looked into it further and further, and believe i found the fix. I'm sorry for this ridiculously long post, however, I'll put in a pull request with the code hopefully by end of day (i have to run for now but wanted to post this first)
I believe I fixed the High DPI issues in windows 7, and while i haven't tested in windows 8 8.1 or 10, it should support per monitor scaling as well It also fixes the menu function that is described.
I've tried to lay out step by step how i came to the conclusions i have and also included the code examples and screenshots of how I made it all work correctly on my system with a 4k screen, and custom theme, using win blinds and other star dock software.
I apologize if there's grammatical errors and etc, I didn't have time to re edit this.
there are still very few small issues but i think from this you can get it worked out.
I like brackets and the things have been bugging me for a while, so i figured I'd work on it. Hopefully this is the right venue for posting this.
If you have any questions please reply. Thanks!
Issues addressed in this post:
Issue with menu bar in Windows
I'm having an issue with the menu bar being non selectable. This has been encountered in past, and,
I've found similar issues, and so my concern is that while it may be being caused by extensions, it may in fact be a core brackets issue.
When I try to click on the menu bar (file edit etc...) It acts as though it is the title bar and acts to minimize or maximize when double clicked. Obviously that was annoying so I tried a few things and finally realized that when I mouse over top left corner of title bar, I get the menu bar.
General Information About Issue:
Screen Cast Of Issue:
A. The Menu Can not be clicked on the Menu Bar.
B. If I mouseover the top left hand corner of the window (on title bar) the "file" menu button appears but in the title bar.
a. _ ONLY THE FILE MENU APPEARS AND ONLY FILE CAN BE CLICKED
a. _ When you use the arrows all menu items appear in title bar.
C. Other random observations:
a. "File" only appears on mouseover when windows is active.b. It does not matter if I uninstall all my add-ons.
c. It does not matter if I have the window maximized or minimized.
d. I checked preferences file, found no issues.
e. Issue disappears if i uninstall the update and reinstall to old version.
d. Issue re-appears when new version is installed again.
Info about what I did try as far as debugging this and why
Environmental Variables
Other Maybe Relevant Info On My PC
Where are the brackets files on my computer?
1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\APPLIC1\Temp\bracketsPackage_115918-2768-vxqjnf\adobe.brackets.extractExtensions Installed In Brackets
Research other issues on Brackets Git Hub
What Fixes were tried and were any found?
5. Personal Notes about Issue 11780 (request to merge menubar onto titlebar)
Errors Found In JS
I found notes inside of brackets developer add on that had a flag on a js file relating to extract extension
The text was updated successfully, but these errors were encountered: