Issue 83113 - problematic behaviour in Window::ImplScroll
Summary: problematic behaviour in Window::ImplScroll
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: Armin Le Grand
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 00:09 UTC by max.odendahl
Modified: 2008-04-29 03:34 UTC (History)
1 user (show)

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


Attachments
paint issues (15.47 KB, image/png)
2007-10-30 01:08 UTC, max.odendahl
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description max.odendahl 2007-10-30 00:09:00 UTC
When there is a VCL child window in another VCL window, and you scroll away so
the child window is not visible anymore and then back again, the child window is
not visible anymore or at the wrong position.

The cause for this behaviour is
http://lxr.go-oo.org/source/gsl/vcl/source/window/window.cxx#3029
Comment 1 max.odendahl 2007-10-30 01:07:56 UTC
@pl:

I think I found one use case for this. When scrolling in Writer, you can see the
current page number as a little tool tip. This stays at the same position, even
if the document moves down further.

I deleted the if- clause and my window works correctly now, but I do get little
refresh issues from this page indicator, see screenshot
Comment 2 max.odendahl 2007-10-30 01:08:43 UTC
Created attachment 49257 [details]
paint issues
Comment 3 max.odendahl 2007-10-30 09:50:52 UTC
@pl:

There seems to be another issue. If you have a lot of pages, scrolling up and
down seems to be not consistent all the time. Child windows is sometimes hidden,
which means the same value was not added/subtracted when moving up and down. 
Comment 4 philipp.lohmann 2007-10-31 10:39:11 UTC
confirm, target
Comment 5 philipp.lohmann 2007-11-05 15:57:21 UTC
fixed scrolling in CWS vcl84

have to look after the paint problem
Comment 6 max.odendahl 2007-11-28 09:03:07 UTC
>>If you have a lot of pages, scrolling up and
>>down seems to be not consistent all the time. 

This was an issue of writer in VisPortChg, not vcl, and is fixed now

>>refresh issues from this page indicator
gone now as well, I cannot reproduce anymore

mod->pl: from my side, this can be set to fixed

Comment 7 philipp.lohmann 2007-11-29 13:31:39 UTC
fixed in CWS vcl84
Comment 8 philipp.lohmann 2007-12-03 14:29:09 UTC
please verify in CWS vcl84
Comment 9 Armin Le Grand 2007-12-04 11:02:28 UTC
AW: Took a look at the code changes with PL. It's just that the isInside-Test
before scrolling is removed. This will do it. Reviewed.
Comment 10 Armin Le Grand 2008-04-29 03:34:48 UTC
AW: Closing