🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #246587

Re: Dialog crashing on Windows 7 64-bit

#246587
From: Bernd Rose
Date: Sat, 06 Aug 2011 08:45
59 lines
4197 bytes
On Fri, 5-th Aug 2011 14:07:30 -0500, Sqwertz wrote:

[Dialog redraw problems on Win7 x64]
>>> Message-ID: <17wm8s2m0nk00$.dlg@b.rose.tmpbox.news.arcor.de>
>>> http://groups.google.com/group/news.software.readers/msg/5709d0096a3883ba
[...] 
> The headers in the newsgroup list pane are also affected for me, but
> I'd bet it varies depending on what fonts and sizes you're using.

It depends on a huge variety of causes. Windows theme, hardware
optimization graphics setting, Windows resolution and Dialog pane
layout are for instance important, as well.

The underlying causes of all this "strange" behavior are IMHO, as
I wrote in above message, rounding problems between Dialog 32 bit
functions and 64 bit implementations of the underlying Windows OS
functions.

The startup script (as well as the patch suggested in the message
linked-to above) *do* work (on some setups) by changing the drawing 
/sequence/ or by altering the /kind/ of the drawing functions, which
are called by Dialog. The changed order (or kind) of the mathematics 
required *may* result in correct display of the Dialog GUI.

> I still have the problem sometimes if I start moving or resizing
> windows, but if I close down Dialog and start it up again all is fine
> again. That only happens maybe once every week or two.

Moving and/or resizing re-initiates the drawing of the GUI and
therefore may again call the functions (like on Dialog startup)
in the wrong sequence. Putting the two ZoomWindow function calls
in an additional /custom/ script and assigning this script a 
shortcut (event scripts can /not/ be assigned to a shortcut) 
*may* help you to forgo the need for Dialog restarts. 

Btw., the two functions calls just toggle the zoom state twice. 
They do /not/ work, because they do sth. by themselves. They are 
just means to reinitiate a GUI refresh in a predefined way, 
resulting in the previous zoom state (guaranteed) without the 
GUI problems (hopefully, but /not/ guaranteed).
 
> FWIW, when I click on the link above I get a solution to a different
> problem not related to screen redraw scripting.

The above link *is* a solution for screen redraw problems, but
only on *some systems* (mine, for instance) and some Dialog GUI
settings. By preventing the wrapping of the toolbar, the redraw
functions get changed call parameters (/and/ a changed call order).
And this /may/ or /may not/ result in a correct display.

Btw.: The patch should *only* be applied to .41; but that's the
only version that should be used, anyways. (And it shouldn't be
applied "just for good measure", if either the problem doesn't
exist on a setup or if the problem can't be solved by the patch.
I.e.: Reactivate the backup of the unpatched *.exe, if changing
the behavior of the toolbar does not resolve the problem.)

Bernd
Technical Details
Message-ID: <dpdxgg999i14$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!g2news1.google.com!news2.google.com!news4.google.com!feeder.news-service.com!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <4t65wuy0a97h.2mki4fvev52v.dlg@40tude.net> <adwgjmuzva9p$.8k0h22sobfu8$.dlg@40tude.net> <18qbarvtl0l6v.dlg@b.rose.tmpbox.news.arcor.de> <Wa2dnf_RiZtQp6HTnZ2dnUVZ_jGdnZ2d@giganews.com> <t6ogbpwy2q3l.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <dpdxgg999i14$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: Dialog crashing on Windows 7 64-bit
Date: Sat, 6 Aug 2011 10:45:33 +0200
From: Bernd Rose <b.rose.tmpbox@expires-2011-08-31.arcornews.de>
References: <4t65wuy0a97h.2mki4fvev52v.dlg@40tude.net> <adwgjmuzva9p$.8k0h22sobfu8$.dlg@40tude.net> <18qbarvtl0l6v.dlg@b.rose.tmpbox.news.arcor.de> <Wa2dnf_RiZtQp6HTnZ2dnUVZ_jGdnZ2d@giganews.com> <t6ogbpwy2q3l.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!g2news1.google.com!news2.google.com!news4.google.com!feeder.news-service.com!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (1baa8efc.135.313)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 58
Organization: Arcor
NNTP-Posting-Date: 06 Aug 2011 09:45:56 CEST
NNTP-Posting-Host: 64b84a56.newsspool2.arcor-online.net
X-Trace: DXC=jW^Q=c6Rbn4;]cDoEWD6A4A9EHlD;3Yc24Fo<]lROoR18kF<OcfhCO;fYkjl=?=8n7BYf[Tl<>Rj:8:[\n<F^He655[Ei8AoF8:
X-Complaints-To: usenet-abuse@arcor.de