I would like to see this feature added to Brackets.
Expected behavior: The second(and subsequent) time Brackets opens, the window is the same size as it was when it was closed.
Actual behavior: Every time Brackets opens, you have to size the window to a workable size.
I'm running Ubuntu Studio 16.04 with Brackets Release 1.8 experimental build 1.8.0-17108
I can reproduce on a macOS system.
Thanks for the report @joyously & repro @johnroper100. Couldn't replicate this on Win10 just now, so might be Mac/Linux only 🤔
I quite sure on Linux this doesn't work at the moment.
I wasn't able to reproduce on macOS El Capitan and I'm a bit surprised @johnroper100 you were able to.
Are you using a newer version?
Couldn't replicate the size issue on MacOS either, but Brackets always opens to my main screen (laptop) instead of the screen it was on last time (desktop display). The size is correct though (corner to corner).
I can't replicate on Windows 10.
I can't reproduce this on macOS Sierra 10.12.4.
I have the same issue on a Windows 10 machine.
edit: was able to get Brackets to remember the window size upon exit by pressing Ctrl-Alt while clicking (X) to close the app window. Took a couple times then Brackets opened the way I last exited.
I can't reproduce this issue on macOS High Sierra, version 10.13.1.
Thanks for confirming @literallysofia! Anyone have a Linux distro at hand to see if this is fixed on Linux too?
Hi ! I'm a student and I want to try to solve this issue for Linux.
However, i can't install with _npm install_ :
_npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] No license field.
npm ERR! Linux 4.13.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "husky" "--save-dev"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: node ./bin/install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node ./bin/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the husky package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs husky
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls husky
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vins/Documents/resolution_bug/bracket_/brackets/npm-debug.log_
I have try to do : _npm install husky --save-dev_
I search on _Google_ and at _npm bugs husky_ but i have no answer.
If someone have the solution, i'll take it (of course i'm still searching !) ! 🤕
I solved the problem.
In the beginnig I had just : apt-get install nodejs
But it's not enough you have to do : apt install nodejs-legacy
I hope it help someone ! 👍🏿
I read this in the bracket-shell file : client_handler.cpp -
" // CefWIndowInfo.height/.width aren't impelemented on Linux for some reason
// we'll want to revisit this when we integrate the next version of CEF
"
I think it's the reason why we can't resolved this issue
I just installed the new version which says on the About: Release 1.14 build 1.14.0-17740 (release 329d08ffc)
The first time I opened it, the window was fullscreen, unlike before when it was small. I changed it to my preference and the second time I opened it, it was my preferred size.
So I considered this fixed.
Most helpful comment
Hi ! I'm a student and I want to try to solve this issue for Linux.
However, i can't install with _npm install_ :
_npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] No license field.
npm ERR! Linux 4.13.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "husky" "--save-dev"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install:
node ./bin/install.jsnpm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node ./bin/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the husky package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs husky
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls husky
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vins/Documents/resolution_bug/bracket_/brackets/npm-debug.log_
I have try to do : _npm install husky --save-dev_
I search on _Google_ and at _npm bugs husky_ but i have no answer.
If someone have the solution, i'll take it (of course i'm still searching !) ! 🤕