Skip to content

Weird Windows startup menu display problem in 1.7.0 (PR#2817)

4 messages · bert_gunter@merck.com, Uwe Ligges, Duncan Murdoch

#
Folks:

Winnt; R1.7.0 (freshly installed) running under Rgui.exe.,MDI=yes.

The following is repeatable:
On startup, in my Rprofile.site file, I use winMenuAdd() etc. to install
some user menus. However, they do not appear when R GUI window opens. If I
minimize and restore the window, the added menus now are present.

The exact same procedure under 1.6.2 with exactly the same Rprofile.site and
Rconsole files works fine.

Have fun.

Cheers,

Bert Gunter
Biometrics Research RY 84-16
Merck & Company
P.O. Box 2000
Rahway, NJ 07065-0900
Phone: (732) 594-7765
mailto: bert_gunter@merck.com

"The business of the statistician is to catalyze the scientific learning
process."      -- George E.P. Box
#
bert_gunter@merck.com wrote:
Confirmed. Some GUI redrawing events have been cleaned up (I'm quite 
sure I have read about it) -- probably one too much.
Duncan and/or Brian surely know where to fix that (comparing with the 
R-1.6.2 sources will give a hint, if you are going to debug yourself).

Uwe Ligges
#
On Tue, 22 Apr 2003 17:23:27 +0200 (MET DST), you wrote in message
<200304221523.h3MFNRpD013846@pubhealth.ku.dk>:
Thanks for the report.  I can reproduce this.  Interestingly, it only
happens in MDI mode; with --sdi on the command line things behave
properly.

Duncan Murdoch
#
On Tue, 22 Apr 2003 18:56:12 +0200, you wrote in message
<3EA5742C.9030900@statistik.uni-dortmund.de>:
Yes, that's it.  There's a bug in 1.6.2 that causes your console
window to go back to normal size (from zoomed or minimized) after all
sorts of operations that should have no such effect, including
winMenuAdd().  I fixed that for 1.7.0, but unfortunately the fix had
the side effect of stopping the MDI frame from redrawing itself when
it needs to.

I've looked at the Graphapp code, and it looks like it would be
time-consuming to figure out how to fix the redraw problem properly.
For now I'll revert to the 1.6.2 behaviour in places where it looks
like a redraw is needed.

Duncan Murdoch