Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th April 2003, 21:30   #1
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
InstallOptions + Modern UI bug

I've found a very annoying bug in the InstallOptions plugin,
whenever I type in any edit field on a IO page, the edit field background does not redraw.
This has some strange effects:
- If I delete character or overwrite them, the old characters are still visible
- While typing, the characters on the left side are getting bolder with each additional character entered (see attached screenshot)

I can only observe this behaviour if using MUI in my scripts, with the plain interface it does not happen.

I'm using the CVS NSIS of today (03-04-15), running WinXP Pro.
It may be important to know that I have a TFT display and have "Cleartype" font antialiasing enabled.
Attached Images
File Type: gif bug.gif (1.9 KB, 119 views)
CodeSquid is offline   Reply With Quote
Old 16th April 2003, 12:35   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Please try today's CVS version.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 13:00   #3
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
Thanks very much, the new version fixes this bug.

Oh, and while I'm at it, there's another minor flaw:
It seems that all controls redraw if I move the mouse over them so they tend to flicker. However this is not IO related, it happens on all pages.
CodeSquid is offline   Reply With Quote
Old 16th April 2003, 13:05   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
I can't reproduce this even on my very slow Windows 98 machine. Are you sure it happens only with NSIS installers?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 13:36   #5
psyke
Member
 
Join Date: Mar 2003
Posts: 65
I have also witnessed this flickering.

Specifically, I have noticed the flickering in IO radioboxes and checkbox controls. It doesn't matter whether I mouseover the text portion, or the 'actual' control area, the control in question (text and control) flickers slightly.

It's not a big deal at all, which is why I haven't mentioned it.

I'm using a daily snapshot from April 14th, on XP pro (no Service packs, cleartype enabled). (By the way, disabling cleartype doesn't make the flickering go away.)

I do not notice any flickering when mousing over radiobox or checkbox controls in other applications...

Like I said, not a big deal, just wanted to confirmCodeSquid's observation.

Salaam/Peace.
psyke is offline   Reply With Quote
Old 16th April 2003, 14:48   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
When exactly does it flicker? Are you doing something or does it just flicker randomly?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 14:58   #7
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Sorry, I thought I had mentioned that.

The flickering occurs when mousing over the controls - dragging the mouse pointer up or down through the area of the control or it's accompanying text.
psyke is offline   Reply With Quote
Old 16th April 2003, 15:06   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You have actually said that, I have misread your post. Nevertheless, I still can't see it, on any computer. Does it happen with the examples too? Is there anything else you're doing besides moving the mouse over the control? Can you please attach a compiled example?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 15:19   #9
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Yes, it happens with D:\NSIS2\Examples\Modern UI\InstallOptions.nsi
on 'Page C'. So it does happen with the examples.

I'm not doing anything apart from just moving the mouse over the controls - labels seem to be unaffected, file request, etc. i only notice a flicker on checkboxes and radioboxes.

I'll post the compiled version of InstallOptions.nsi.

By the way, I though maybe it was the shadows under the mouse pointer that might be contributing to the flicker, but disabling the mouse pointer shadow didn't do it.

Salaam/Peace
Attached Files
File Type: zip installoptions_flicker.zip (51.4 KB, 76 views)
psyke is offline   Reply With Quote
Old 16th April 2003, 15:19   #10
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
The attached example is a modified version of the MUI Installoptions example. To see the flickering, just move the mouse over the checkboxes on the IO page.
On other pages, you can see the flicker if you're moving the mouse over the next/back/cancel buttons
Attached Files
File Type: zip flicker_example.zip (38.8 KB, 78 views)
CodeSquid is offline   Reply With Quote
Old 16th April 2003, 15:23   #11
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Looks like there's only one attachment allowed per post. (makes sense )

I tried to attach this above but couldn't since I attached the compiled InstallOptions example. Anyway, this is just a screenshot to clarify the problem area.

Salaam/Peace.
Attached Images
File Type: jpg io_flicker.jpg (41.1 KB, 86 views)
psyke is offline   Reply With Quote
Old 16th April 2003, 15:37   #12
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Using the classic theme (ugh... so ugly) I was finally able to see what you're talking about. After some testing I have found this in Outlook Express's options window too, Internet Explorer's options window, System Properties control panel, mIRC options window and lots more. I can safely say this is not a NSIS bug

Once my Windows 98 machine is free I'll check on it too and let you know.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 16th April 2003, 15:43   #13
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Indeed - good catch. I never use Internet Explorer, but I launched it and went to:

'Tools' -> 'Internet Options' -> 'Programs' tab

On the 'Programs' tab, towards the bottom, the checkbox controlling whether IE should check to see if it's the default browser *does* flicker on mouseover.

In fact, now that I look more closely, I see the flicker in radioboxes and checkboxes everywhere. I don't know why I missed it earlier.

And as I said this is not a big deal IMHO.

Salaam/Peace
Attached Images
File Type: jpg ie_flicker.jpg (70.5 KB, 79 views)
psyke is offline   Reply With Quote
Old 16th April 2003, 16:41   #14
sdbarker
Senior Member
 
Join Date: Mar 2002
Posts: 133
Send a message via AIM to sdbarker Send a message via Yahoo to sdbarker
I think that it's a winxp issue, as winxp has different states for hovering, so that their pretty skins work. I've noticed this myself on many occassions. So, Kichick, I don't think your Win98 box is going to help any.

-Scott
sdbarker is offline   Reply With Quote
Old 16th April 2003, 19:26   #15
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Indeed, I have already decided to skip the test after I read my own words again: "Using the classic theme". After all Windows 98 has nothing but classic theme... heh

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump