https://bugs.documentfoundation.org/show_bug.cgi?id=92131

--- Comment #6 from tim <t...@tree-of-life.co.uk> ---
I can confirm the bug is still present with v5.2.1.2 on windows 7 home premium.
If the second screen's data connection is disconnected before a libreoffice
application is run, and then is connected while the LO application is still
running, if you drag the running program window to the second screen, all tool
tips are limited to the far right edge of the first screen.

It looks like the positioning of the tool tip has it's (x + width) position
truncated/checked against the screen width when the program loaded, instead of
against the current screen width.
an option would be that if the placement x position is larger than the recorded
screen width, then the current screen width should be updated, and the
positioning then re-checked. something like the following psudo-code
....
if ((tooltip.x+tooltip.width)>screen.width) {
  /* re-get screen width in case it has changed */
  screen.width=getcurrentscreenwidth();
  if ((tooltip.x+tooltip.width)>screen.width) {
    /* adjust x position of tooltip so it fits on screen */
    tooltip.x=screen.width-tooltip.width;
  }
}
...
in the tooltip position checking routine would likely resolve the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to