buggnubg - Bugs: bug #37685, When I start-up GNU Backgammon, it...

 
 

bug #37685: When I start-up GNU Backgammon, it loads on an alternate monitor

Submitter:  HAE <broker42>
Submitted:  Tue 06 Nov 2012 11:59:53 PM UTC
   
 
Originator Name:  HAE Item Group:  * Other bug
Category:  * Graphical User Interface Release:  * 0.90-devel
Privacy:  Public Operating System:  * All
Severity:  3 - Normal Open/Closed:  Closed
Assigned to:  None Priority:  5 - Normal
Status:  Confirmed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 13 Aug 2016 05:41:18 PM UTC, comment #4: 

In Windows, the Desktop is defined as the bounding box for all monitors, with (0, 0) at the left of the leftmost monitor and the
top of the highest positioned monitor.

With a single monitor or multiple monitors aligned on their top border and the primary monitor being the leftmost, GnuBg will show the board in the expected place.

If there's a secondary monitor to the left of the primary then it will get the board instead. If that monitor has its top below the top of any other monitor then the board, placed at (0, 0), will be partially off screen.

A reasonably robust solution would be for GnuBg to detect the monitor setup and remember each window's location relative to the monitor that it is on.

Anonymous
Mon 01 Aug 2016 07:23:56 PM UTC, comment #3: 

The initial window position (and size) are part of gnubg settings and are automatically saved in %userprofile%\.gnubg\gnubgautorc when you modify any setting.

Probably you dragged gnubg on the second monitor at some point, used it there and changed some setting while there.

If you intend to use gnubg on your main monitor only, the simpler thing to do is to drag it there and change any setting then set it back, to trigger a settings saving.

If want to be able to use it on the second screen occasionally and still avoid the problem you reported, you can have some permanent settings in the %userprofile%\.gnubg\gnubgrc file, that will override what may be saved later in gnubgautorc.

If you put the following lines in this file, the main gnubg window will always open at the left bottom of the main screen:
set geometry main xpos 0
set geometry main ypos 0
Or you can arrange the window as you wish, trigger a settings save in gnubgautorc and then copy the corresponding lines in gnubgrc.The useful lines in this case are the "set geometry main ..." that you will find early in the file, around line 10.
 



Philippe Michel <plm>
Group administrator
Mon 01 Aug 2016 07:16:07 AM UTC, comment #2: 

On windows 8 you can use the Windows+Shift+Left/Right arrow short cuts to quickly move a window from one monitor to the other.

Obviously not a full solution, but should stop you having to turn on the other monitor - assuming this works on windows 7...

Jon

Jon Kinsey <Superfly_Jon>
Group administrator
Sun 31 Jul 2016 08:47:42 PM UTC, comment #1: 

I cannot reproduce this with the current version :
- in Ubuntu where the launcher bar is replicated on all screens gnubg opens on the screen where it was launched.
- in XP where the default icons are on the main screen, gnubg opens there, even if they are copied/moved on the second screen. This is not what I would expect, but not as annoying as the reported bug.

I don't have a dual screen Win7 to check the exact reported setup. The gtk2 libraries used in the current version are certainly not those used back in 2012. Maybe this makes a difference.

Philippe Michel <plm>
Group administrator
Tue 06 Nov 2012 11:59:53 PM UTC, original submission:  

Just installed GNU Backgammon on Powerspec B820 desktop computer. This computer has a AMD Radeon HD 6450 graphics card w/VGA,HDMI, and DVI connectors. I have two monitors set-up. The main monitor connected to the hdmi port, and a second monitor connected to the VGA port.

When I start GNU Backgammon, it persistantly loads on the 2nd monitor (VGA connected), rather than the main monitor (a minor inconvenience since I don't alway turn the 2nd monitor on). Right now, I just turn-on the 2nd monitor and drag the board to the main monitor,but I wondered if there was a setting in the program I could change to make the startup permanent on the main monitor.

HAE <broker42>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Superfly_Jon (Posted a comment)
  • -email is unavailable- added by plm (Posted a comment)
  • -email is unavailable- added by broker42 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-01 plm CategoryLoading and saving of SGF files Graphical User Interface
        Operating SystemWindows 7 All
        Open/ClosedOpen Closed
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code