Bug 45408 - use new gdk_screen_get_monitor_workarea method ...
Summary: use new gdk_screen_get_monitor_workarea method ...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: Master old -3.6
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: EasyHack DifficultyInteresting SkillC...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 08:52 UTC by Michael Meeks
Modified: 2014-07-27 00:41 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Meeks 2012-01-30 08:52:23 UTC
The gtk+ guys kindly added this method. We really need it for the gtk3 port.

Checkout vcl/unx/gtk/app/gtksys.cxx (GetDisplayScreenWorkAreaPosSizePixel)

which has a dummy implementation.

This should instead dlopen ourselves, and look for the above symbol and use it if it is there. Checkout the _get_primary_monitor implementation shortly above that for a (more complicated) template to work from.

Thanks ! :-)
Comment 1 Björn Michaelsen 2013-10-04 18:46:41 UTC
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility.

see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
Comment 2 Robinson Tryon (qubit) 2013-10-19 00:56:53 UTC
Removing comma from whiteboard (please use a space to delimit values in this field)
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started
Comment 3 Martin Owens 2014-07-27 00:41:44 UTC
The code appears to have moved and now exists here:

vcl/unx/gtk/window/gtksalframe.cxx:2105

The code appears to take account of gtk3 and it may already be fixed. 

For gtk2 we have a dummy 1024x768 rect being returned with a warning. Is the gtk2 implementation the problem or has it been fixed?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.