GUI Issue redrawing Scroll Bars in XP

O

OShah

/**
Hello.

I'm having a very minor redraw issue with the scrollbar in Windows XP.
This problem occurs on my WinXp Sp1 (Though my XpSp2 Virtual PC guest
also has this problem).


Start up a Windows Explorer instance.
Make sure it has both the horizontal and vertical Scroll bars visible
(resize window/go to a big folder if necessary).

Once you have all the scroll bars visible, drag the Explorer window to
the taskbar. Make the Task bar cover the horizontal scroll bar (so the
horizontal bar is below the top of the task bar).

Now, Very Very Very Slowly, Drag the explorer window up, so you are
gradually uncovering the scrollbar. Take notice of the lower right
corner of the scroll bar as you uncover it.

Do you notice it is no longer grey? For extra effects, try wiggling the
window sideways whilst you move it.

The problem seems to be scrollbar redrawing problems, particularly with
scrollbars that were dynamically created. When you move the scroll bar,
I am expecting it to redraw itself in the lower right corner. It doesn't
in my case. Is this vidcard related? (see my specs below)

This problem affects:
Mmc, Dependency Walker, WinDbg, Norton, The Common Dialog Boxes, Notepad
(to an extent), RazorLame, Process Explorer, countless 3rd party
software (almost any that creates vertical and horizontal scrollbars).
The scrollbar that belongs to the Dialog box at the end of this post. It
affects both styled and un-styled applications. The only common
denominator is Windows XP.

The problem doesn't seem to affect:
Internet Explorer, Microsoft Word, Acrobat, 3rd party utilities that use
their own scrollbars, plain Multiline Edit controls that already have
scrollbars. The scroll bar of the edit box in the dialog box below.

**/

/* Here is the aforementioned Dialog Box: */

IDD_DIALOG1 DIALOGEX 0, 0, 122, 78
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_VSCROLL |
WS_HSCROLL | WS_SYSMENU | WS_THICKFRAME
/* This scrollbar does not redraw properly. */
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,2,50,50,14
EDITTEXT IDC_EDIT1,2,1,107,36,ES_MULTILINE | ES_AUTOHSCROLL |
WS_VSCROLL | WS_HSCROLL
/* This scrollbar does redraw properly. */
END

/**
--
System Specs:
Gateway Performance 1300
Windows XP Pro SP1 (on C:)
P4 1.30GHz
640Mb RDRAM
Iiyama LS902UT 19" monitor 1280x1024
Hercules Radeon 9200
Seagate ST3120026A 120GB UATA100 HardDisk (C:=40Gb G:=80Gb)
Maxtor 2f0f0J0 UATA133@100 40GB Hard Disk (D:=40Gb)
Soundblaster Audigy

Also: Virtual PC 2004
------------------------------------------------------------------------
Sig: oshah
Control Panel -> System -> Advanced -> Error Reporting -> Choose
Programs
-> Do not report errors for these programs:

Acrobat.exe
waol.exe
 
F

Feng Mao

Hi Oshah,

Thank you a lot for your valuable feedback and the detailed reproduce
steps. Personally, I really appreciated your effort to improve Microsoft
products.

I have tried to follow your reproduce steps. However, unfortunately, I
cannot reproduce the scenario exactly. As I thought, it might be related to
the below factors:

1. Display card: I am using ATI RADEON 9100 with 64 display memory and
display mode is 1024X768 (60Hz)
2. DirectX: I am using Windows XP with Service Pack 2, so the DirectX
version is 9.0c
3. System Properties -> Advanced -> Performance Settings: I choose Adjust
for best appearance.

In order to clearly understand the issue you expereience, could you please
provide us a screen capture and mark out the place you feel strange.

Thank you once again!

Have a nice day!

Thanks & Regards,

Feng Mao [MSFT], MCSE
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Subject: GUI Issue redrawing Scroll Bars in XP
| From: OShah <[email protected]>
| Organization: Private
| Message-ID: <[email protected]>
| User-Agent: Xnews/5.03.24
| Newsgroups:
microsoft.public.windowsxp.general,microsoft.public.windowsxp.video
| Date: Wed, 01 Sep 2004 05:48:09 -0700
| NNTP-Posting-Host: 82.195.104.160
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsxp.video:44289
microsoft.public.windowsxp.general:1072052
| X-Tomcat-NG: microsoft.public.windowsxp.general
|
| /**
| Hello.
|
| I'm having a very minor redraw issue with the scrollbar in Windows XP.
| This problem occurs on my WinXp Sp1 (Though my XpSp2 Virtual PC guest
| also has this problem).
|
|
| Start up a Windows Explorer instance.
| Make sure it has both the horizontal and vertical Scroll bars visible
| (resize window/go to a big folder if necessary).
|
| Once you have all the scroll bars visible, drag the Explorer window to
| the taskbar. Make the Task bar cover the horizontal scroll bar (so the
| horizontal bar is below the top of the task bar).
|
| Now, Very Very Very Slowly, Drag the explorer window up, so you are
| gradually uncovering the scrollbar. Take notice of the lower right
| corner of the scroll bar as you uncover it.
|
| Do you notice it is no longer grey? For extra effects, try wiggling the
| window sideways whilst you move it.
|
| The problem seems to be scrollbar redrawing problems, particularly with
| scrollbars that were dynamically created. When you move the scroll bar,
| I am expecting it to redraw itself in the lower right corner. It doesn't
| in my case. Is this vidcard related? (see my specs below)
|
| This problem affects:
| Mmc, Dependency Walker, WinDbg, Norton, The Common Dialog Boxes, Notepad
| (to an extent), RazorLame, Process Explorer, countless 3rd party
| software (almost any that creates vertical and horizontal scrollbars).
| The scrollbar that belongs to the Dialog box at the end of this post. It
| affects both styled and un-styled applications. The only common
| denominator is Windows XP.
|
| The problem doesn't seem to affect:
| Internet Explorer, Microsoft Word, Acrobat, 3rd party utilities that use
| their own scrollbars, plain Multiline Edit controls that already have
| scrollbars. The scroll bar of the edit box in the dialog box below.
|
| **/
|
| /* Here is the aforementioned Dialog Box: */
|
| IDD_DIALOG1 DIALOGEX 0, 0, 122, 78
| STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_VSCROLL |
| WS_HSCROLL | WS_SYSMENU | WS_THICKFRAME
| /* This scrollbar does not redraw properly. */
| CAPTION "Dialog"
| FONT 8, "MS Shell Dlg", 400, 0, 0x1
| BEGIN
| DEFPUSHBUTTON "OK",IDOK,2,50,50,14
| EDITTEXT IDC_EDIT1,2,1,107,36,ES_MULTILINE | ES_AUTOHSCROLL |
| WS_VSCROLL | WS_HSCROLL
| /* This scrollbar does redraw properly. */
| END
|
| /**
| --
| System Specs:
| Gateway Performance 1300
| Windows XP Pro SP1 (on C:)
| P4 1.30GHz
| 640Mb RDRAM
| Iiyama LS902UT 19" monitor 1280x1024
| Hercules Radeon 9200
| Seagate ST3120026A 120GB UATA100 HardDisk (C:=40Gb G:=80Gb)
| Maxtor 2f0f0J0 UATA133@100 40GB Hard Disk (D:=40Gb)
| Soundblaster Audigy
|
| Also: Virtual PC 2004
| ------------------------------------------------------------------------
| Sig: oshah
| Control Panel -> System -> Advanced -> Error Reporting -> Choose
| Programs
| -> Do not report errors for these programs:
|
| Acrobat.exe
| waol.exe
|
| ------------------------------------------------------------------------
| **/
|
 
O

OShah

Hmm. You may have a point related to Performance Settings: Mine is set to
custom. I've disabled "show shadows under mouse" "show shadows under mouse
pointer" "smooth edges of screen fonts". I've put up screenshots showing
the issue. Get it at:

members.aol.com/mshh5
(Hope that works.)

The scroll bar needs to be dragged slowly, and it also helps if you only
have the desktop showing. If you move the window too fast, you won't see
the phenomenon.

Display card is a Hercules Radoen 9200 128Mb. I am using the 4.7 catalysts
from ATI.

DirectX: according to dxdiag it is directX 9.0b 4.09.0000.0902.

Performance settings: Using Custom. disabled "show shadows under mouse"
"show shadows under mouse pointer" "smooth edges of screen fonts" are
disabled.

Update: In my XP (running SP2) Virtual PC guest, I seem to have fixed the
problem by disabling the option: "Use visual styles on windows and
buttons". Of course, I lose all themes, but the scroll bars now redraw
properly. None of the other options have an effect (even "show window
contents while dragging" doesn't work).

Does Virtual PC forward graphics calls to the host GPU? I thought it
handled all the drawing itself.

(e-mail address removed) (Feng Mao) wrote in
Hi Oshah,

Thank you a lot for your valuable feedback and the detailed reproduce
steps. Personally, I really appreciated your effort to improve
Microsoft products.

I have tried to follow your reproduce steps. However, unfortunately, I
cannot reproduce the scenario exactly. As I thought, it might be
related to the below factors:

1. Display card: I am using ATI RADEON 9100 with 64 display memory and
display mode is 1024X768 (60Hz)
2. DirectX: I am using Windows XP with Service Pack 2, so the DirectX
version is 9.0c
3. System Properties -> Advanced -> Performance Settings: I choose
Adjust for best appearance.

In order to clearly understand the issue you expereience, could you
please provide us a screen capture and mark out the place you feel
strange.

Thank you once again!

Have a nice day!

Thanks & Regards,

Feng Mao [MSFT], MCSE
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights. --------------------


--
-------------------------------------------------------------------------
oshah
Control Panel -> System -> Advanced -> Error Reporting -> Choose Programs
-> Do not report errors for these programs:

Acrobat.exe
waol.exe

-------------------------------------------------------------------------
 
F

Feng Mao

Hi OShah,

Thank you for the screen shots, which makes the issue clear to me.

I can reproduce the scenario in my VPC environment. The VPC guest OS is
Windows XP Service Pack 1 with DirectX 9.0b installed. However, it does not
occur in the host OS which is Windows XP Service Pack 2 with DirectX 9.0c
installed.

I suspected that this issue is related to VPC, I would like to confirm that
you encounter the issue in VPC guest OS as well.

Have a nice day!

Thanks & Regards,

Feng Mao [MSFT], MCSE
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Subject: RE: GUI Issue redrawing Scroll Bars in XP
| From: OShah <[email protected]>
| References: <[email protected]>
<[email protected]>
| Organization: Private
| Message-ID: <[email protected]>
| User-Agent: Xnews/5.03.24
| X-No-Archive: yes
| Newsgroups: microsoft.public.windowsxp.general
| Date: Fri, 03 Sep 2004 14:20:02 -0700
| NNTP-Posting-Host: 82.195.104.160
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
..phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsxp.general:1075263
| X-Tomcat-NG: microsoft.public.windowsxp.general
|
| Hmm. You may have a point related to Performance Settings: Mine is set to
| custom. I've disabled "show shadows under mouse" "show shadows under
mouse
| pointer" "smooth edges of screen fonts". I've put up screenshots showing
| the issue. Get it at:
|
| members.aol.com/mshh5
| (Hope that works.)
|
| The scroll bar needs to be dragged slowly, and it also helps if you only
| have the desktop showing. If you move the window too fast, you won't see
| the phenomenon.
|
| Display card is a Hercules Radoen 9200 128Mb. I am using the 4.7
catalysts
| from ATI.
|
| DirectX: according to dxdiag it is directX 9.0b 4.09.0000.0902.
|
| Performance settings: Using Custom. disabled "show shadows under mouse"
| "show shadows under mouse pointer" "smooth edges of screen fonts" are
| disabled.
|
| Update: In my XP (running SP2) Virtual PC guest, I seem to have fixed the
| problem by disabling the option: "Use visual styles on windows and
| buttons". Of course, I lose all themes, but the scroll bars now redraw
| properly. None of the other options have an effect (even "show window
| contents while dragging" doesn't work).
|
| Does Virtual PC forward graphics calls to the host GPU? I thought it
| handled all the drawing itself.
|
| (e-mail address removed) (Feng Mao) wrote in
| |
| > Hi Oshah,
| >
| > Thank you a lot for your valuable feedback and the detailed reproduce
| > steps. Personally, I really appreciated your effort to improve
| > Microsoft products.
| >
| > I have tried to follow your reproduce steps. However, unfortunately, I
| > cannot reproduce the scenario exactly. As I thought, it might be
| > related to the below factors:
| >
| > 1. Display card: I am using ATI RADEON 9100 with 64 display memory and
| > display mode is 1024X768 (60Hz)
| > 2. DirectX: I am using Windows XP with Service Pack 2, so the DirectX
| > version is 9.0c
| > 3. System Properties -> Advanced -> Performance Settings: I choose
| > Adjust for best appearance.
| >
| > In order to clearly understand the issue you expereience, could you
| > please provide us a screen capture and mark out the place you feel
| > strange.
| >
| > Thank you once again!
| >
| > Have a nice day!
| >
| > Thanks & Regards,
| >
| > Feng Mao [MSFT], MCSE
| > Microsoft Online Partner Support
| >
| > Get Secure! - www.microsoft.com/security
| >
| > =====================================================
| > When responding to posts, please "Reply to Group" via your newsreader
| > so that others may learn and benefit from your issue.
| > =====================================================
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights. --------------------
|
|
| --
| -------------------------------------------------------------------------
| oshah
| Control Panel -> System -> Advanced -> Error Reporting -> Choose Programs
| -> Do not report errors for these programs:
|
| Acrobat.exe
| waol.exe
|
| -------------------------------------------------------------------------
|
 
O

OShah

(e-mail address removed) (Feng Mao) wrote in
Thank you for the screen shots, which makes the issue clear to me.

I can reproduce the scenario in my VPC environment. The VPC guest OS
is Windows XP Service Pack 1 with DirectX 9.0b installed. However, it
does not occur in the host OS which is Windows XP Service Pack 2 with
DirectX 9.0c installed.

I suspected that this issue is related to VPC, I would like to confirm
that you encounter the issue in VPC guest OS as well.

Have a nice day!
<snip>

Glad to hear you've reproduced the problem. It means it will be easier
to fix the problem.

Now that you what the issue is, try doing it with other applications
(mmc, task manager, Even notepad, kind of). It may be clearer there. For
Explorer, you may have a third party extension that's fixing/redrawing it for
you. There won't be any extension that saves the other applications.

Indeed I am experiencing the issue in VPC. In my case, my host OS is Windows
XP Service Pack 1 with DirectX 9.0b. It's the guest OS that has Windows XP
Service Pack 2 with DirectX 9.0c. However, for me, the scrollbar issue occurs
both in VPC and in the physical machine.


UPDATE: You may have to rule out video card issues. I've discovered the
problem on an IBM Thinkpad 770 laptop. It's a minimum spec PII 233MMX only
just about capable of running XP. The video card there is a Trident.

The system was running a clean install of Windows XP. To confirm the
problem, I updated the system to service pack 2, and the scrollbar issue
occurs both before and after the update.

The machine is quite slow, which suggests the problem may be performance
related. Any clues?



--
------------------------------------------------------------------------
oshah
Control Panel -> System -> Advanced -> Error Reporting -> Choose
Programs -> Do not report errors for these programs:

Acrobat.exe
waol.exe

------------------------------------------------------------------------
 
F

Feng Mao

Hi Oshah,

I agree with you this should be a performance issue.

I tested it on two different computers: Dell Gx110 and Dell Gx270.

Dell Gx110 has the below configuration

Intel Pentium III 733MHz
256 MB RAM
Build in display card with 4 MB display memory
DirectX 9.0b installed

Dell Gx270 has the below configruation

Intel Pentium 4 2.8GHz with HyperThread
1024 MB RAM
ATI Radeon 9100 with 64 MB display memory
DirectX 9.0c installed

I can reproduce the problem in Dell Gx110, however the problem does not
happen to Dell Gx270. In my opinion, the GUI cannot put the display buffer
and refresh it on time.

Oshah, thank you once again for helping us to improve the quality of
Microsoft products.

Have a nice day!

Thanks & Regards,

Feng Mao [MSFT], MCSE
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Subject: RE: GUI Issue redrawing Scroll Bars in XP
| From: OShah <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| Organization: Private
| Message-ID: <[email protected]>
| User-Agent: Xnews/5.03.24
| Newsgroups: microsoft.public.windowsxp.general
| Date: Tue, 07 Sep 2004 04:39:57 -0700
| NNTP-Posting-Host: ACBE2333.ipt.aol.com 172.190.35.51
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsxp.general:1079779
| X-Tomcat-NG: microsoft.public.windowsxp.general
|
| (e-mail address removed) (Feng Mao) wrote in
| |
| >
| > Thank you for the screen shots, which makes the issue clear to me.
| >
| > I can reproduce the scenario in my VPC environment. The VPC guest OS
| > is Windows XP Service Pack 1 with DirectX 9.0b installed. However, it
| > does not occur in the host OS which is Windows XP Service Pack 2 with
| > DirectX 9.0c installed.
| >
| > I suspected that this issue is related to VPC, I would like to confirm
| > that you encounter the issue in VPC guest OS as well.
| >
| > Have a nice day!
| > <snip>
|
| Glad to hear you've reproduced the problem. It means it will be easier
| to fix the problem.
|
| Now that you what the issue is, try doing it with other applications
| (mmc, task manager, Even notepad, kind of). It may be clearer there. For
| Explorer, you may have a third party extension that's fixing/redrawing it
for
| you. There won't be any extension that saves the other applications.
|
| Indeed I am experiencing the issue in VPC. In my case, my host OS is
Windows
| XP Service Pack 1 with DirectX 9.0b. It's the guest OS that has Windows
XP
| Service Pack 2 with DirectX 9.0c. However, for me, the scrollbar issue
occurs
| both in VPC and in the physical machine.
|
|
| UPDATE: You may have to rule out video card issues. I've discovered the
| problem on an IBM Thinkpad 770 laptop. It's a minimum spec PII 233MMX only
| just about capable of running XP. The video card there is a Trident.
|
| The system was running a clean install of Windows XP. To confirm the
| problem, I updated the system to service pack 2, and the scrollbar issue
| occurs both before and after the update.
|
| The machine is quite slow, which suggests the problem may be performance
| related. Any clues?
|
|
|
| --
| ------------------------------------------------------------------------
| oshah
| Control Panel -> System -> Advanced -> Error Reporting -> Choose
| Programs -> Do not report errors for these programs:
|
| Acrobat.exe
| waol.exe
|
| ------------------------------------------------------------------------
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top