yousseb / meld

Meld for macOS
https://yousseb.github.io/meld/
GNU General Public License v2.0
2.28k stars 120 forks source link

Remember last opened screen #29

Open liamsharp opened 7 years ago

liamsharp commented 7 years ago

I'm using Meld 3.16.0 on OSX 10.12.2 with two screens. Each time I start meld it opens on my laptop screen, rather than my main monitor. I'm using meld as my chosen diff tool for git, so launch it many times everyday and drag it over to my main monitor. It would be awesome if it could remember the last monitor it was on, and ideally the position and size I had it in as well.

cefn commented 2 years ago

Coupled to this (for my workflow) is the Maximised state. It definitely has some kind of configured window-launch state as it pops up unmaximised at the same pixel and with the same width and height every time.

To try and configure this I found the following in my PList (~/Library/Preferences/org.gnome.meld.plist edited with https://marketplace.visualstudio.com/items?itemName=dnicolson.binary-plist ) and maybe there are other keys which indicate the display to launch on?

    <key>/org/gnome/meld/window-state/height</key>
    <integer>1035</integer>
    <key>/org/gnome/meld/window-state/is-fullscreen</key>
    <false/>
    <key>/org/gnome/meld/window-state/is-maximized</key>
    <true/>
    <key>/org/gnome/meld/window-state/width</key>
    <integer>1005</integer>
cefn commented 2 years ago

Found a Mac-specific technique which works for me to set the screen, but is still not maximised for some reason. See the screenshot for the embedded dock control (triggered by right-click on the Dock icon) which can target specific screens...

image

sderose commented 2 years ago

@cefn thanks, but when I pull up that menu I don't get the part from the separator down, at all. I even downloaded and (re-) installed latest. Running 12.3 Monterey. Any idea what's different?