To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112421
                 Issue #|112421
                 Summary|vcl: Tweak DefaultDisplay for xinerama/xrandr case ?
               Component|gsl
                 Version|DEV300m82
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|cmc





------- Additional comments from [email protected] Tue Jun 15 14:27:14 +0000 
2010 -------
X11SalSystem::GetDefaultDisplayNumber is the backend which returns the
"DefaultDisplay" for e.g. the monitor for the presenter screen to show on in
multihead mode. 

If we're in "classic" multi-screen X configuration it'll return the
DefaultScreen number, but it also returns that number for the Xinerama-style
mode of a single "Screen" but multiple frame-buffers/monitors. i.e. in that
configuration it's always Monitor 0 for us.

gtk has a (fairly new) gdk_screen_get_primary_monitor api where "The primary
monitor is considered the monitor where the 'main desktop' lives.". This is the
monitor that typically has the gnome-panel on it, and the default monitor on
which apps open up, which is an apparent good fit for what our "DefaultDisplay"
is targeted to do.

In the attached patch if that's not available then try a
gdk_screen_get_primary_monitor-alike fallback of looking at the monitor names
and attempt to prefer laptop internal monitors as the "DefaultDisplay"/"Primary
Monitor" over external ones.

The general goal being that out-of-the-box the presenter screen defaults to
starting on a laptop's internal screen and the presentation itself on the
external screen. At the moment the presenter screen starts on the first
xinerama/xrandr entry in the list which might or might not be the laptop 
monitor. 

Having the presenter screen start on the external monitor, and the presentation
itself on the laptop is an annoying whiny complaint I hear regularly.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to