https://bugs.documentfoundation.org/show_bug.cgi?id=103571
--- Comment #33 from Telesto <[email protected]> ---
(In reply to Michael Meeks from comment #13)
> Interesting trace - quite possibly we get 'screenParametersChanged' called
> when windows are minimized / maximised etc.
[...]
> Having said that 'DisplayChanged' - is really an event that should only get
> emitted when the physical display and/or monitor size changes - like
> plugging in a remote display etc.
"When changing the dock position Cocoa is firing a
NSApplicationDidChangeScreenParametersNotification:
The problem is that as for Apple Docs, it should be raised only when
Posted when the configuration of the displays attached to the computer is
changed. The configuration change can be made either programmatically or when
the user changes settings in the Displays control panel. The notification
object is sharedApplication. This notification does not contain a userInfo
dictionary.
So if you want to update your application windows when attach a new display
(e.g. changing/moving the frame of some HUD window/etc), you will have a fake
notification coming the dock."
Source:
https://stackoverflow.com/questions/7901826/cocoa-dock-fires-nsapplicationdidchangescreenparametersnotification
Also related: https://codereview.chromium.org/635363002
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs