Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old June 26, 2010, 21:48   #1
Derakon's Avatar
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
Remembering subwindow positions

I'm getting weird behavior from my subwindows when I launch Angband (3.1.2v2, OSX 10.6.3). As near as I can pin it down:

* I launch Angband, and set up my subwindows the way I want them. I have two displays (primary: 1680x1050, secondary: 1920x1200), so I dedicate the first display to the main window, and put the monster recall, inventory/equip, monster list, and item list on the second display (which is located to the left of the first display).
* I relaunch Angband, and everything's fine except that the main display has been moved up so that its title bar is located underneath the menubar. I have to use Spaces to get a view that doesn't have the menubar so I can drag the main window down a bit.
* I relaunch Angband, and all of the subwindows have been moved onto the primary display.

I've determined that if, on the second launch, I take a moment to drag each of the subwindows around a bit, then the third launch's problem doesn't manifest. I assume there's something wrong with loading/saving window positions that causes windows which are untouched to somehow get their X positions wrong. Of course, that doesn't explain why the primary window is always loaded a few pixels too high up the screen.
Derakon is offline   Reply With Quote
Old June 26, 2010, 23:12   #2
Pete Mack
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
Pete Mack will become famous soon enough
Hmmm, this sounds like a problem I fixed a quite a while ago.

A quick look at the source shows that the window rectangle "wr" member variable is no longer referenced anywhere. I don't have OSX anymore so I can't debug it, but it shouldn't be hard to track down the breaking change
Pete Mack is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug Report - Subwindow refresh after options load dhegler Vanilla 3 March 2, 2010 18:56
Subwindow display settings. LCC Vanilla 10 August 21, 2009 01:25
3.1.0 subwindow bug miyazaki Vanilla 1 January 16, 2009 22:36
3.1 subwindow display settings RogerN Vanilla 6 January 15, 2009 08:02

All times are GMT +1. The time now is 00:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.