Skip to content
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

Script Editor minimises into bottom left corner #32

Open
camlloyd opened this issue Apr 18, 2019 · 2 comments
Open

Script Editor minimises into bottom left corner #32

camlloyd opened this issue Apr 18, 2019 · 2 comments

Comments

@camlloyd
Copy link

camlloyd commented Apr 18, 2019

The Script Editor minimises into the bottom left corner of the screen. To reproduce:

  1. Open the Script Editor
  2. Maximise the Script Editor
  3. Close the Script Editor
  4. Open the Script Editor again

Running macOS Mojave 10.14.4 and script-editor-0.5.1

I think this is related to the workaround in commit 9a52e0b?

@ctrueden
Copy link
Member

@camlloyd Thanks for the report. I noticed a similar behavior, which is why I made that commit you linked in the first place. Sorry to hear my workaround didn't fix the problem on your system.

I cannot troubleshoot this problem directly because I cannot reproduce on my system (also macOS Mojave 10.14.4 with script-editor 0.5.1). Would you be able to look for a workaround? Just add some print statements to that same part of the code to see what's going on with the X,Y position. And add some guards around the edge case that is hitting you on your system. You can hack on the script-editor code by following the directions on the Source code page.

@camlloyd
Copy link
Author

camlloyd commented Apr 18, 2019

@ctrueden Just a quick update: Indeed it seems your issue is similar, but not the same as mine - If I remove your bugfix, this weird behaviour you describe occurs without fail. My issue appears to be more sporadic, sometimes requiring 3 cycles of the above steps in my example to reproduce.

I usually run a multiple monitor setup with a window manager such as Magnet or AppGrid, and suspected one of these might be the culprit - but the example I gave above was with no external display attached and no window manager app running.

Just a thought, what resolution are you running at? Is your bugfix hardcoded for your display?
I have a 15" Retina MBP - 2880 x 1800 at 220PPI (Looks like 1440 x 900).
Do you have Automatically hide and show the Dock enabled?

Will try debugging later...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants