www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Mystery. Bug? - 4 attachments

reply Patrick Down <pat codemoon.com> writes:
I have a little mystery.  You may wonder what this has to
do with the compiler but bear with me here. 

I have a D Windows GUI program that that I have written.  
It works ok except that it has a small rendering problem 
when run under Windows XP.  It has a small 1 pixel line 
directly under the menu that is not rendered so that 
whatever is behind the window shows through.  (See attached 
PNG file)  Now this line does not show up in Window 2K nor
does it show up in Windows XP if you run XP with the "classic"
style UI.  It only shows up if you run the program in XP
with the standard XP style UI.

Now I struggled with this problem for a while playing with 
various setting and stuff but I could not fix it.  Finnally 
in my frustration I went back to the winsamp.d example 
distributed with the compiler and added a simple menu to it.  
(Source code attached.)  This simple example had the same
problem.  Just to be sure that it wasn't just my machine
I sent the program around to a few friends who verified the
problem on thier machines too.

So I translated the D program to C++ and compled it with VC++.
(See attached source)  This program did NOT have the problem.

Now here is that final gotcha and the mystery.  I complied
the C++ program without alteratiion with DMC(Digital Mars C++).  
This program exibited the same problem.

To summerize:

winsamp.d with dmd has the problem
winsamp.cpp with dmc has the problem
winsamp.cpp with VC++ does not have the problem

So my question to Walter and anyone else is: What's
going on here?  



begin 644 line.png


M``=T24U%!]0%`A(B+=I=WBD````)<$A9<P``#L
M00``L8\+_&$%``!#W



M^O[^_E5B=T]K3RQQW_U/''R<CJ]>N.:IMJ=6[US=+&U6%-9ZW_?OG15 CN+Y


MQ\*T7?>-=;U]O>UM[3V/J ]J]S\V)3ZS-W:Q^E5;!*YA ;U]:^[>&)C]5+DO
M$0"0!8&ER,.WO_O]4(1)C#W?S)9(:DR$=$E#EBD ;F5/>`(>'K/J<ZO6U??X
M0_Z-X8W!IN!33^_P'V1>QGHW?-6SS6'5*0:BV,Q8N-RE*!:A4(C+V/K'UAOC


MF^F/`A*3OM^F-ET[%S+_R_WEOBZ[B)+$U,N)E+L #D.F
MC8VQI\="V[:RYU9:BMG&NY?L:76/F,7%R?^8G\6M,=IR/6LC:RR=$<;9:Y"N
M:R!C`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M2H=7'9C?'733#AM+_XRY'RUQS]&GQ R/ON+T;UEAK]F>P*7^LN0D.V.F/)`E
M/!)Z>!R$L865^SBNL$B\WE*SE:/\EM54"O</JE5757"K=$ ?SSF9J(J&RD&W
MCL0V4X4&4^()7*BFV) N2%TJT7XS78?U;XF5Z2M+!O9XQ93+<JA73F2D8C<8
MJ1 5%K1^=O3L[.<WEM )*S_I"K:G?U46$E6*2G?RMHW277YO6>DJ8S25;AA5



M`#A
M`#A
M`#A
M`#A
M`#A
M`#A
M`#A
M`#A


C`'",,`8`<(PP! !P[/\!^B$I"II\\GT`````245.1*Y"8((`
`
end


begin 644 winsamp.cpp




M4')O8RA(5TY$(&A7;F0L(%5)3E0 =4US9RP 5U!!4D%-('=087)A;2P 3%!!



M3U)$*'=087)A;2D /3T 0DY?0TQ)0TM%1"D-" D)"0E-97-S86=E0F]X02AH

M('P 34)?24-/3DE.1D]234%424].*3L-" D)"6)R96%K.PT*"0D ("` 8V%S
M92!)1$-?0E1.1$].5$-,24-+. T*"0D):68 *$A)5T]21"AW4&%R86TI(#T]

M(EEO=2=V92!B965N('=A<FYE9"XN+B(L(")0<F5P87)E('1O($=0(&9A=6QT












M5$%?0T5.5$52('P 5$%?0D%314Q)3D4I.PT*"0E497AT3W5T02AD8RP <BYR

M" D)4V5L96-T3V)J96-T*&1C+"!O;&0I.PT*"0E%;F1086EN="AH5VYD+"`F
M<',I.PT*"0EB<F5A:SL-" D ("` ?0T*"2` ("!C87-E(%=-7T1%4U123UDZ

M875L=#H-





M26YS=&%N8V4 /2!H26YS=#L-" EW8RYH26-O;B`]($QO861)8V]N02 P+"!)

M+"!)1$-?0U)/4U,I.PT*"7=C+FAB<D)A8VMG<F]U;F0 /2`H2$)255-(*2`H

M8RYC8D-L<T5X=')A(#T


M96YU:6YF;RQS:7IE;V8H;65N=6EN9F\I*3L-" EM96YU:6YF;RYC8E-I>F4 
M/2!S:7IE;V8H;65N=6EN9F\I.PT*"6UE;G5I;F9O+F9-87-K(#T 34E)35]4

M/2!-1E1?4U1224Y'.PT*"6UE;G5I;F9O+F1W5'EP941A=&$ /2`B)D9I;&4B




M5U-?34%824U)6D5"3U  ?"!74U]-24Y)34E:14)/6"!\(%=37U-94TU%3E4 


M*3L-"B\O"6%S<V5R="AH5VYD*3L-" T*"6)T;D-L:6-K(#T 0W)E871E5VEN







M365S<V%G92 F;7-G*3L-" D)1&ES<&%T8VA-97-S86=E*"9M<V<I.PT*"7T-

M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*B\-" T*+RH 3F]T
M92!T:&4 <VEM:6QA<FET>2!O9B!T:&ES(&-O9&4 =&\ =&AE(&-O;G-O;&4 

M9`T*("H 66]U)VQL(&%L<V\ ;F5E9"!A("YD968 9FEL92!W:71H(&%T(&QE


M3D-%(&A);G-T86YC92P-" E(24Y35$%.0T4 :%!R979);G-T86YC92P-" E,

M;'0 /2!D;VET*"D["2\O(&EN<V5R="!U<V5R(&-O9&4 :&5R90T*("` (')E

`
end


begin 644 winsamp.d



M3D-,24-+(#T ,3`Q.PT*8V]N<W0 :6YT($E$0U]"5$Y$3TY40TQ)0TL /2`Q

M/2!-14Y5251%34E.1D\N<VEZ93L-"B` 54E.5"!F36%S:SL-"B` 54E.5"!F

M4W5B365N=3L-"B` 2$))5$U!4"!H8FUP0VAE8VME9#L-"B` 2$))5$U!4"!H
M8FUP56YC:&5C:V5D.PT*("!$5T]21"!D=TET96U$871A.PT*("!,4%135%( 

M("` ("` ("\O('5S960 :68 34E)35]"251-05`-"GT-" T*97AT97)N*%=I
M;F1O=W,I($A-14Y5($-R96%T94UE;G4H*3L-"F5X=&5R;BA7:6YD;W=S*2!U
M:6YT($EN<V5R=$UE;G5)=&5M02A(345.52P 54E.5"P =6EN="P 345.54E4







M("` ("` (#T
M3D< ("` ("` (#T






M3D0 :%=N9"P =6EN="!U37-G+"!74$%204T =U!A<F%M+"!,4$%204T ;%!A

M34%.1#H-" D ("` >PT*"0ES=VET8V  *$Q/5T]21"AW4&%R86TI*0T*"0E[


M96QL;RP =V]R;&0A(BP (D=R965T:6YG(BP-" D)"0D)34)?3TL ?"!-0E])


M0TM%1"D-" D)"7L-" D)"2` ("!-97-S86=E0F]X02AH5VYD+"`B66]U)W9E
M(&)E96X =V%R;F5D+BXN(BP (E!R97!A<F4 =&\ 1U` 9F%U;'0B+`T*"0D)

M87-T*&EN="HI(&YU;&PI(#T





M+"!&5U]%6%1204)/3$0L($9!3%-%+"!&04Q312P-" D)"49!3%-%+"!!3E-)
M7T-(05)3150L($]55%]$149!54Q47U!214-)4RP 0TQ)4%]$149!54Q47U!2



M;BAD8RP 5$%?0T5.5$52('P 5$%?0D%314Q)3D4I.PT*"0E497AT3W5T02AD





M;V-!*&A7;F0L('5-<V<L('=087)A;2P ;%!A<F%M*3L-"GT-" T*:6YT(&1O


M5VYD0VQA<W,B.PT*"7=C+G-T>6QE(#T
M('P 0U-?5E)%1%)!5SL-" EW8RYL<&9N5VYD4')O8R`]("97:6YD;W=0<F]C
M.PT*"7=C+FA);G-T86YC92`](&A);G-T.PT*"7=C+FA)8V]N(#T 3&]A9$EC




M=6QL.PT*"7=C+F-B0VQS17AT<F$ /2!W8RYC8E=N9$5X=')A(#T ,#L-" EA



M4U1!5$4 ?"!-24E-7TE$.PT*"6UE;G5I;F9O+F94>7!E(#T 34947U-44DE.
M1SL-" EM96YU:6YF;RYD=U1Y<&5$871A(#T (B9&:6QE(CL-" T*"6UE;G5I

M)FUE;G5I;F9O*3L (`T*"0T*"4A73D0 :%=N9"P 8G1N0VQI8VLL(&)T;D1O


M6D5"3U  ?"!74U]-24Y)34E:14)/6"!\(%=37U-94TU%3E4 ?"!74U]625-)

M,"P 2%=.1%]$15-+5$]0+`T*"0EC87-T*$A-14Y5*2!H365N=2P :$EN<W0L


M5DE324),12P-" D),"P ,"P ,3`P+"`R-2P :%=N9"P 8V%S="A(345.52D 



M(&-A<W0H2$U%3E4I($E$0U]"5$Y$3TY40TQ)0TLL(&A);G-T+"!N=6QL*3L-


M<V<I.PT*"0E$:7-P871C:$UE<W-A9V5!*"9M<V<I.PT*"7T-" D-" ER971U
M<FX ,3L-"GT-" T*+RHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ

M;6EL87)I='D ;V8 =&AI<R!C;V1E('1O('1H92!C;VYS;VQE($0 <W1A<G1U
M<`T*("H 8V]D92!I;B!<9&UD7'-R8UQP:&]B;W-<9&UA:6XR+F0-"B`J(%EO
M=2=L;"!A;'-O(&YE960 82`N9&5F(&9I;&4 =VET:"!A="!L96%S="!T:&4 
M9F]L;&]W:6YG(&EN(&ET. T*("H)15A%5%E012!.5`T*("H)4U5"4UE35$5-


M;6EN:70H*3L-"F5X=&5R;B`H0RD =F]I9"!?;6]D=6QE0W1O<B I.PT*97AT

M:6YD;W=S*0T*:6YT(%=I;DUA:6XH2$E.4U1!3D-%(&A);G-T86YC92P-" E(


M;FET*"D["0D)+R\ :6YI=&EA;&EZ92!G87)B86=E(&-O;&QE8W1O< T*("` 
M(%]M:6YI=" I.PD)"2\O(&EN:71I86QI>F4 ;6]D=6QE(&-O;G-T<G5C=&]R

M(&-A;&P ;6]D=6QE(&-O;G-T<G5C=&]R<PT*"5]M;V1U;&55;FET5&5S=',H


M("!C871C:"`H3V)J96-T(&\I"0DO+R!C871C:"!A;GD =6YC875G:'0 97AC
M97!T:6]N<PT*("` ('L-" E-97-S86=E0F]X02AN=6QL+"`H8VAA<B`J*6\N
M=&]3=')I;F<H*2P (D5R<F]R(BP-" D)("` ($U"7T]+('P 34)?24-/3D58


M=&4 9V%R8F%G92!C;VQL96-T;W(-"B` ("!R971U<FX <F5S=6QT.PT*?0T*
`
end


begin 644 winsamp.def
A15A%5%E012!.5`T*4U5"4UE35$5-(%=)3D1/5U,-" T*
`
end
May 02 2004
next sibling parent reply School <itsnotvalid-news yahoo.com.hk> writes:
Now I find that if you add a winsamp.exe.manifest filled with the
classical xml data, the problem is still there.
And, this bug also exists in Walter's Empire Classic binary, exactly the
same problem.
May 03 2004
parent reply Patrick Down <Patrick_member pathlink.com> writes:
In article <c75m5t$2bel$2 digitaldaemon.com>, School says...
Now I find that if you add a winsamp.exe.manifest filled with the
classical xml data, the problem is still there.
And, this bug also exists in Walter's Empire Classic binary, exactly the
same problem.
Thanks! Good to see other independent verification.
May 03 2004
parent School <itsnotvalid-news yahoo.com.hk> writes:
Patrick Down wrote:
 In article <c75m5t$2bel$2 digitaldaemon.com>, School says...
 
Now I find that if you add a winsamp.exe.manifest filled with the
classical xml data, the problem is still there.
And, this bug also exists in Walter's Empire Classic binary, exactly the
same problem.
Thanks! Good to see other independent verification.
Now I am wondering why nobody says something about this bug...
May 04 2004
prev sibling parent reply "Walter" <newshound digitalmars.com> writes:
"Patrick Down" <pat codemoon.com> wrote in message
news:Xns94DD908E9A847patcodemooncom 63.105.9.61...
 I have a D Windows GUI program that that I have written.
 It works ok except that it has a small rendering problem
 when run under Windows XP.  It has a small 1 pixel line
 directly under the menu that is not rendered so that
 whatever is behind the window shows through.  (See attached
 PNG file)  Now this line does not show up in Window 2K nor
 does it show up in Windows XP if you run XP with the "classic"
 style UI.  It only shows up if you run the program in XP
 with the standard XP style UI.
I put the solution here: www.digitalmars.com/faq.html#subsystem
May 24 2004
parent reply Patrick Down <pat codemoon.com> writes:
"Walter" <newshound digitalmars.com> wrote in news:c8u2o6$179u$1
 digitaldaemon.com:

 www.digitalmars.com/faq.html#subsystem
Thanks! That one was really bugging me. I tried all sorts of things. Except that. <g>
May 24 2004
parent "Walter" <newshound digitalmars.com> writes:
"Patrick Down" <pat codemoon.com> wrote in message
news:Xns94F3D5367C432patcodemooncom 63.105.9.61...
 "Walter" <newshound digitalmars.com> wrote in news:c8u2o6$179u$1
  digitaldaemon.com:

 www.digitalmars.com/faq.html#subsystem
Thanks! That one was really bugging me. I tried all sorts of things. Except that. <g>
Actually, Jan Knepper is the one that solved it. It wasn't in the documentation.
May 24 2004