@
line 87).-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Native Shell's Menu bar is only a thin line because it is placed too high up. #1133
Comments
That's odd, I haven't seen that before. Would you mind pressing Cmd-Option-I and letting us know if there are any errors in the console? Maybe something with LESS didn't quite compile correctly. |
It looks like all of the HTML content is being positioned too high up (the menu bar is not native UI). Maybe check in the DOM inspector to see where it thinks the top of the document/body is. Also, is the bottom getting clipped too? E.g. if you scroll all the way down in the code editor, can you see the last line of the file or is there still some hidden off the bottom of the window? |
There were no errors in the console and the bottom doesn't cut off, rather there seems to be an extra line in each bit of code it seems. The issue seems to be in the element #main-toolbar .toolbar ( |
What I ended up doing to fix this is going to style/brackets.less and editing the margin-top .toolbar as such: |
I'd like to have this issue re-opened because it's still happening and each time I update brackets, I have to apply the op's fix to get it to work. What I'd like to add though it that this only occurs on my macbook with a lower resolution screen (1280 x 800). I have no problem on my iMac (2560 x 1440 - from memory). I've just updated to bracket sprint 13 and installed using the new DMG installer. Cheers. |
Ah. It's probably because you have the dock at the bottom, and it's making the window open at a smaller size than we want. We increased the size in the latest installer and thought it was ok, but on a 1280x800 screen with the dock open it might just be a little too big. Reopening. |
Marking medium priority. |
|
The problem is because the window is too small during the initial layout. We saw this in brackets-app as well--if we set the initial default window size to be large, and then ran it on a smaller screen (at least on the Mac), the window would open at a smaller size than what we had set for the default, and for some reason that would cause the top of the app to get cut off. (I'm not sure exactly why--we didn't dig into it; we just set the initial default to be smaller so it wouldn't get resized by the OS.) The problem doesn't occur during later resizes. |
|
I think Glenn's pull request adobe/brackets-shell#120 contains a side change that fixes this, so assigning to him |
Reproduced with a more extreme result by changing the screen resolution to 800x600 before starting Brackets: http://i.imgur.com/9iwIf.png |
The problem was actually in the shell. |
Glenn's fix has already landed, so this should be fixed in master now. Marking FBNC. |
Sadly, adobe/brackets-shell#120 is only a partial fix. When launching Brackets for the very first time (ever), the bug is still present. This can be simulated by uncommenting Only subsequent launches will use the remembered (corrected) window size. Luckily this is true even when using a high resolution, enlarging the window, closing Brackets, switching to a low resolution and then starting Brackets again. In addition, the window size is always too small (regardless of screen resolution) when uncommenting |
|
If we don't need that anymore, we could simplify the window size code a bit. |
Please tell me if I should work on this, I don't want us to overlap |
All yours! :) Let me know when the pull request is updated and I'll review. Thanks! |
|
|
Tuesday Jun 26, 2012 at 05:21 GMT
Originally opened as adobe/brackets#1147
It looks like this: http://i.imgur.com/NdVNt.png
You can tell it is the menu because when you mouse over it colors and drops down, but you can't see what tab is being selected. As you can see by the picture this is a on a Mac. Also, I followed the "setup guide" exactly and still got this.
The text was updated successfully, but these errors were encountered: