Bug 45408 - use new gdk_screen_get_monitor_workarea method ...
Summary: use new gdk_screen_get_monitor_workarea method ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: Other All
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard:
Keywords: difficultyInteresting, easyHack, skillCpp, topicCleanup
Depends on:
Blocks:
 
Reported: 2012-01-30 08:52 UTC by Michael Meeks
Modified: 2016-02-18 16:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?
Comment 4 QA Administrators 2015-02-19 04:36:42 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

Message generated on: 2015-02-18
Comment 5 QA Administrators 2015-04-01 14:51:54 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

-- The LibreOffice QA Team This NEEDINFO Message was generated on: 2015-04-01

Warm Regards,
QA Team
Comment 6 Caolán McNamara 2015-04-02 09:32:54 UTC
actually I did this in passing in the gtk3 plug already
Comment 7 Robinson Tryon (qubit) 2015-12-16 00:24:28 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp TopicCleanup)
[NinjaEdit]
Comment 8 Robinson Tryon (qubit) 2016-02-18 16:37:13 UTC
Remove LibreOffice Dev List from CC on EasyHacks
(curtailing excessive email to list)
[NinjaEdit]