Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

User Image
Kilmatead
44 discussion posts
Probably not intentional (unless Jon has been experimenting with the mescaline again), but if you have a "Move Window to Centre of Monitor" button on a common MsgBox modal window, and then you repeatedly click it, the window gets inexplicably larger and larger (as it centres), ad infinitum.

Run this as a .VBS file and you'll see what I mean...

Code

MsgBox "What the heck were you thinking, Jon?", 50


Win 7 x64, v4.1.0 Beta 9 (though it started at least in Beta the 8th...)
Jun 30, 2012  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I've just tested this out, and I'm not seeing this behaviour. The message box always stays the same size for me. Would you be able to attach a video of what's happening?
Jul 3, 2012  • #2
User Image
Kilmatead
44 discussion posts
No video, but a picture is still worth a thousand words, even in a century such as this.

Basically it's a progressive thing - each time the DF Centre button is clicked the modal is centred, but also slightly magnified. For example, the first image is normal - the second is after 4 clicks and the third is after 10 clicks.

http://i1109.photobucket.com/albums/h440/Kilmatead/WinSize.png


At first I thought it might be a DPI issue (I use %125) but adjusting back to normal it continues to occur. It doesn't happen with all windows - only some - but always with modals such as the MsgBox above, regardless of which programme generates it (the VBS was simply the easiest method to reproduce it).

Considering it only happens when using DF's Centre button, and never occurred before Beta 8 (at least I didn't notice it before then), the cat would appear to be in DF's bag, no? (I don't use any magnification software nor anything else which might manipulate screen object scaling.)
Jul 3, 2012 (modified Jul 4, 2012)  • #3
User Image
Kilmatead
44 discussion posts
Addendum: Just checked, and while it does happen under DF 4.0.1, it does not happen under an old copy of DF 3.4.0 I had laying around.
Jul 3, 2012  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Strange! I couldn't reproduce this at normal scaling, or 125% DPI. Tested on two different machines.

Could you enable debug logging (Logging: Detailed) on the Troubleshooting tab, reproduce the issue, and then attach a copy of the %APPDATA%\DisplayFusion\DisplayFusion.log file?

Thanks!
Jul 4, 2012  • #5
User Image
Kilmatead
44 discussion posts
Quote:
Could you enable debug logging [...] reproduce the issue [...] attach a copy of the DisplayFusion.log file?


Done. Ran the VBS and consecutively clicked Centre 10 times. Makes for exciting reading (if one has a penchant for staying up too late and drinking too much coffee - and an acquired appreciation for the more droleful side of sardonic wit).
• Attachment [protected]: DisplayFusion.log [160,841 bytes]
Jul 4, 2012  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, thanks for the log! I've been able to reproduce the issue here, but only when enabling the "Use Alternate Method to Move Windows" option in the DisplayFusion Advanced Settings. Can you check to see if you have that option enabled, and if so, is there a specific reason you need that option enabled?

Thanks!
Jul 5, 2012  • #7
User Image
Kilmatead
44 discussion posts
Ah - how humiliating, that rather obscure option was indeed activated - turning it off solves the (literal!) window bloating.

There's no reason I can think of off the bat why I would be using that option, except awhile ago I was experimenting with SendMessageW calls via User32.dll (using the AutoIt Language) when reading the text from the edit portion of a combo-box, and for some unknown reason DF was causing nonsense characters to appear at the end of the allocated array (this did not happen on other machines or with DF disabled), so I must have thought to myself "Hey, I know, let's try this option that's guaranteed to make things even more unstable!" (yeah, the things we do for fun).

Anyway, long story short, I never did discover why DF was interfering with the SendMessageW call, but I found an alternate workaround, and figured it would be way too esoteric a problem to raise on the forums, so the universe was at peace again. Except that I obviously forgot to de-select that rather grumpy rendering option, and it came back to haunt me.

So - no harm, no foul! Thanks for clearing that up - I'm reminded why my mum taught me to look both ways before crossing the street by myself. :) (Something about not leaving one's shoelaces experimentally un-tied comes to mind...)
Jul 5, 2012 (modified Jul 5, 2012)  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Hehe, no worries, glad we could get it sorted out :)
Jul 5, 2012  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)