![]() |
#1 |
Apprentice
Join Date: Sep 2007
Location: Rocky Mountains, USA
Posts: 84
![]() |
Main Angband window moves under Mac menu bar
I didn't see this on trac.rephial.org, but I could have missed it. If this has been posted as a bug and someone can direct me there I'll add any pertinent additional details I can. (As an aside I obviously don't know how to search for just 'mac' in trac - my results also included 'macros', of which there are quite a few. I tried 'mac', mac and "mac" but always got the same results.)
On MacOS X, after the third or so restart of angband.app the main angband windows moves under the Mac menu bar along the top of the screen. I've attached a screenshot, below, showing this. Once in this state the main window cannot be moved down - you have to use Spaces in OS X to expose the application view for that desktop and then drag it down. Oddly enough the other windows I usually have open (Equipment, Inventory and Messaged) do not move up - only the main Angband window. Finally, it doesn't seem to matter where the window is placed on the screen - subsequent relaunches position the window as shown in the screen shot. Rather annoying, but not so much I didn't squawk earlier - though I do not remember seeing it in 3.0, but have seen it in 3.1 and 3.2.
![]() Last edited by joelsanda; July 8, 2011 at 04:12. |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
Yeah, this happens to me too. One of these days I should see if I can figure out the window posititioning code and how positions are saved; that seems to be going wrong somewhere.
|
![]() |
![]() |
![]() |
#3 | |
Angband Devteam member
Join Date: Apr 2007
Posts: 334
![]() |
Quote:
Could you attach a copy of your $HOME/Library/Preferences/net.thangorodrim.Angband.plist file, either here or to the trac ticket? Also, if you move that file aside, does the behavior persist? |
|
![]() |
![]() |
![]() |
#4 | |
Apprentice
Join Date: Sep 2007
Location: Rocky Mountains, USA
Posts: 84
![]() |
Quote:
I've removed the .plist file and the behavior returns immediately. FWIW upon initial launch after install neither Angband nor FAanband seem to move the main window upon initial launch, but after it's happened once it always happens on subsequent launches - and that's always within one to three launches of the application. That doesn't make sense to me, but I've seen that happen enough times figured it may be worth mentioning. I understand FAangband is a variant and not under control of Angband developers - just including that if it may help track the issue down. Thanks for opening the trac ticket! Regards, Joel |
|
![]() |
![]() |
![]() |
#5 | |
Angband Devteam member
Join Date: Apr 2007
Posts: 334
![]() |
Quote:
I don't know how this happens in the first place. There is even some code in term_data_check_size() to force the top of the window to be below the menubar, but clearly there's a path that bypasses that check. Is this behavior at all dependent on the Space in which you run Angband? I didn't see any differences there, either, but Spaces could be related to the problem. |
|
![]() |
![]() |
![]() |
#6 | |
Angband Devteam member
|
Quote:
Not as good as searching ticket text, I know. But perhaps useful.
__________________
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles |
|
![]() |
![]() |
![]() |
#7 | |
Apprentice
Join Date: Sep 2007
Location: Rocky Mountains, USA
Posts: 84
![]() |
Quote:
You said you're seeing a single window in the upper right corner with my .plist file - on my machine it's in the upper left corner. I think I just noticed something about this behavior. I run with the Dock automatically hidden - but here's the use case I can repeat with the Dock not automatically hid (Apple Menu | Dock | Dock Preferences ... | Automatically hide and show the Dock):
When I repeat Steps 4 and 5 I can see the main Angband console window get 'bumped' down so it's just below the menu bar, as if it's first drawn below the menu bar, then it's bumped down and filled with the Angband details. It's a little too fast for me to grab a screen shot. That's with the Dock shown. But this happens every time I quit and relaunch. When the Dock is hidden, my normal configuration, the window is drawn under the menu bar and there it stays. When the Dock is automatically hidden, which is my normal configuration, the window is placed under the menu bar and there it stays. My Macs are pretty minimal - the only thing that runs at start up is the Twitter and Dropbox client - otherwise I install Angband, FAangband, Dropbox and a TextEditor. I ruled out Twitter and Dropbox a few months ago as the behavior I'm seeing with the Angband happens regardless of those application's start state. Starting to think it could be the automatic Dock hiding setting I use - the same use case has the same results in FAangband. |
|
![]() |
![]() |
![]() |
#8 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
I can confirm that the Dock settings have an impact on this. With the dock always shown, after the Angband window appears, it moves down and to the right until it is no longer under the menubar. This doesn't put it exactly where it was when I previously quit Angband, because it also moved to the right, but it's more recoverable. With the dock hidden the window doesn't move.
That's just bizarre... |
![]() |
![]() |
![]() |
#9 | |
Apprentice
Join Date: Sep 2007
Location: Rocky Mountains, USA
Posts: 84
![]() |
Quote:
When I move Terminal 3 down/turn off the resolution in Terminal 0 appears to be scrunched up to fit the area previously covered by Terminal 3. Odd behavior indeed! I ruled out ASCII vs. graphics in these two cases, as the behavior is the same regardless of graphics options. |
|
![]() |
![]() |
![]() |
#10 | |
Apprentice
Join Date: Sep 2007
Location: Rocky Mountains, USA
Posts: 84
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
mac |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug: clicking on main window causes crash | Raggy | Vanilla | 2 | June 24, 2011 21:39 |
The Ocho Bar | Spacebux | Development | 4 | April 18, 2011 13:40 |
Double moves | Fendell Orcbane | Vanilla | 15 | May 15, 2010 23:39 |
BAR - before adventure report | Psi | AAR | 7 | December 7, 2009 22:10 |
Bar | Kethis | AAR | 4 | July 20, 2008 19:11 |