gitx icon indicating copy to clipboard operation
gitx copied to clipboard

window size and pane position reverts

Open garyfoster opened this issue 11 years ago • 18 comments
trafficstars

After upgrading from 0.15.1949 to 0.15.1964, the size and position of the main application window will revert to a much smaller size on subsequent opens of the app. And if I adjust the pane position between the top section and the bottom section, that position reverts as well. I have to adjust these positions every time I open the app in order to use it. I'm on OS X Yosemite.

garyfoster avatar Nov 11 '14 12:11 garyfoster

+1

dbackeus avatar Nov 11 '14 20:11 dbackeus

I tried to investigate this a bit. I didn't have much success but here is what I found:

  • The frames are saved correctly in the user defaults
  • The first window opened after launching the app will have the correct frame, all the subsequent ones will have the smaller incorrect one
  • Windows that were open when closing the app will be restored correctly

No clue yet on where the incorrect frame is coming from, it seems to be already wrong in awakeFromNib.

ghost avatar Nov 12 '14 01:11 ghost

+1, I have this issue too, and can't see in the commit log where it broke.

kemenaran avatar Nov 12 '14 17:11 kemenaran

This was introduced by e546301. Investigating.

ghost avatar Nov 12 '14 19:11 ghost

If anyone trusts me and wants to test my fixes I uploaded a build here http://cl.ly/YVDz/download/GitX-dev-1964b.dmg

ghost avatar Nov 13 '14 00:11 ghost

I just tested this build: it looks good to me, and fixes the window size issue.

kemenaran avatar Nov 13 '14 09:11 kemenaran

+1

kegan avatar Nov 14 '14 05:11 kegan

I can confirm that @ghost's fix works. Maybe create a PR for it?

jacobsvante avatar Dec 16 '14 16:12 jacobsvante

It's already a PR.

ghost avatar Dec 16 '14 16:12 ghost

Okay sorry, couldn't find it though (and I still can't)

jacobsvante avatar Dec 16 '14 16:12 jacobsvante

I should have mentioned it. The fix for this issue and a couple other regressions is #405.

ghost avatar Dec 16 '14 16:12 ghost

I'm sorry to nag but it's incredibly annoying having to resize the window and dividers inside it every single time I use GitX.

Is there any ETA for a new release?

ulope avatar Jan 19 '15 15:01 ulope

Any news here? This is really frustrating and leaves a bitter after-taste from using the app.

jacobsvante avatar Feb 13 '15 10:02 jacobsvante

This started happening to me after the upgrade to 10.10, 10.9 worked just fine.

dmishe avatar Mar 02 '15 22:03 dmishe

So quiet in here :(

jacobsvante avatar Apr 11 '15 12:04 jacobsvante

+1!

emptyflask avatar May 13 '15 01:05 emptyflask

I've been using ghost's 1964b for a while, now on OS X 10.10.4, and it's been working fine. So, I hope that his PR on #405 will be merged in, so I can go back to the main release.

jdbeutel avatar Jul 22 '15 22:07 jdbeutel

Sometimes it can be prudent not to assume that maintainers are always notified of new activity. The flood of emails can be overwhelming, so sometimes it's worth directly mentioning them (very politely and sparingly). For example:

Hey @rowanj, this thread's been waiting for attention for a few months now and the associated PR looks like it could help some people out. Could you spare a few minute to look things over when you have a chance?

beporter avatar Aug 26 '15 13:08 beporter