-
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
[Linux] Brackets window position not remembered between launches #12562
Comments
Comment by radorodopski Hi, From what I could find, this is usually a job of the window manager in Linux, but some support from the application is also needed. This is all theoretical as the window managers say "this isn't our job" (and so does everybody else). I looked at the source of a few well-written linux apps and they all seem to have some code to:
I wrote a few lines of code just to experiment and it seems to work fine. I'm using a file to store the size/position in string format, and I read the file contents on application startup. Let me know if you're interested in this and I will create a pull request. |
Comment by MarcelGerber
|
Comment by 0zguner This bug still exists. |
Comment by radorodopski
I don't have much time these days as I'm working on a project of my own but I think I may be able to find my local branch and create a PR, given that someone from the Brackets team still pays attention to the github issues page. |
Comment by nethip
On the Linux front, we are not there yet with integrating CEF 2171 succesfully. Off late we have been hitting a lot of "Crash On Quit scenarios". All of this work in going in this branch. https://github.com/adobe/brackets-shell/tree/jasonsanjose/cef_2171_linux It would be great if you can put up a PR for this. We would be more than happy to merge this to master on priority basis. |
Comment by 1beb +1 for posterity. Open maximized would be another useful option. |
Comment by zyberspace +1 (issue still exists) |
Comment by Corsseir 2 years guys, 2 years and you still can't solve this issue. |
Comment by xfg +1 |
Comment by hazeray this is still a thing (ubuntu 16.04) |
Comment by abrahammurciano 3 years and 2 months... that's 1200 days where no one has done anything about this 👎 |
Comment by abrahammurciano I found that this command "wmctrl -r Brackets -b add,maximized_horz,maximized_vert" will maximise the window. I'm sure it can be adjusted to do anything else you need it to... If there was a way to automatically run this command when the program opens, that would make brackets maximise on open... Which is what I particularly want. If there is any way to do this, can someone let me know? |
Comment by abrahammurciano I made a script that will open Brackets maximised. It's not the best solution, but if (like me) you want brackets to open maximised, just use my script. |
Comment by kenstuddy Still having this issue on Ubuntu 16.04 with Xfce4.12 DE. Edit: To solve this on Ubuntu 16.04 with Xfce4 DE (the above solution did not work for me because I use Xfce4), follow this guide here: https://askubuntu.com/a/27833/475697 and then replace the code in file maximize.ds with this code: https://pastebin.com/VRpx9ghM The benefit of the solution I found is that you don't need a script for launching Brackets, you simply start Brackets like normal and it will launch maximized. Since this issue does not happen on Windows and I am guessing does not happen on Mac although I have not tested it yet on Mac, I would call the fix I posted a good universal Linux workaround. |
Comment by joshmckibbin This issue still remains and is beyond frustrating. |
Comment by Corsseir Ive changed to VSC long time ago and my advice for you is to do the same. On Mon, Feb 19, 2018 at 3:23 PM Josh Mckibbin notifications@github.com
|
Issue by ingorichter
Wednesday Mar 12, 2014 at 17:50 GMT
Originally opened as adobe/brackets#7174
The window will always open at the same position. Moving the Brackets window to a different position, quit Brackets and reopen will show the window at the initial position.
I don't know how the initial position is determined, but it looks rather odd where the window gets placed (see screenshot with position after launching Brackets)
The text was updated successfully, but these errors were encountered: