Issue 124883 - Navigator window not positioned against parent window
Summary: Navigator window not positioned against parent window
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 3.4.0
Hardware: All OS/2
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Blocks: 126518
  Show dependency tree
Reported: 2014-05-13 06:25 UTC by Yuri Dario
Modified: 2015-09-14 11:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Yuri Dario 2014-05-13 06:25:42 UTC
The position of the navigator window should be related to main document window. But in the OS/2 code, the window position changes when a different document window is moved to foreground.
I think the code is getting the position of wrong window (e.g. frame instead of client area).
This is for sure inside VCL code, and exist since ever (2.x and later).
Comment 1 Andreas Buchinger 2014-08-15 16:41:37 UTC
IMHO the navigator window should be related to the desktop (HWND_DESKTOP ?) instead the document window. This should lead to same behavior as on Win. Switching between different documents would not reposition the navigator window then.
Comment 2 Yuri Dario 2014-08-19 09:16:15 UTC
I tested in windows, navigator is positioned relative to document window.
Comment 3 Andreas Buchinger 2014-08-19 09:30:49 UTC
On Win7 4.0.1 and different older OO (sorry no 4.1.1 currently here) the position of Navigator window is stored with every (open) document but it does _not_ move with it. 

Means f.e. 2 documents (on 2 monitors) - Set focus on Doc1 activates Navigator1 (Monitor1) where it was when Doc1 lost focus. Set focus on Doc2 activates Navigator2 window (Monitor2) on position where Nav2 was when lost focus on Doc2.

And moving DocX does not move NavX at the same time - they do not stick together.

Which AOO version for Win did you test?