Bugzilla – Bug 322446
PropertyGrid: ColorPicker dropdown control doesn't close
Last modified: 2008-02-09 15:30:26 UTC
---- Reported by alex.olk@googlemail.com 2006-10-26 13:58:47 MST ---- Run an app that uses PropertyGrid (ControlInspector or whatever) Now try to change a color property. The dropdown color picker control gets shown. Click somewhere else (not inside the dropdown control), the dropdown control doesn't close. It is even possible to close all other forms/windows of the app but the app doesn't exit because of the still visible dropdown window. Btw, selecting a color is almost not possible. ---- Additional Comments From toshok@ximian.com 2006-10-26 20:33:51 MST ---- fixed in svn r67020. ---- Additional Comments From alex.olk@googlemail.com 2006-10-30 02:49:57 MST ---- No, not fixed. The dropdown window still doesn't close. And, after the color picker gets shown, the control is just empty. No colors to choose there. ---- Additional Comments From toshok@ximian.com 2006-10-30 17:47:58 MST ---- you need to be more specific about which cases it's not fixed. I went back and found one - it appears that clicking outside the winforms app doesn't result in the color picker going away, but anywhere inside the app does. Is that your finding as well? The control is fully populated and can be used to pick colors for me. Have you updated the design assemblies as well? or just MWF? ---- Additional Comments From alex.olk@googlemail.com 2006-10-31 03:45:45 MST ---- <quote>it appears that clicking outside the winforms app doesn't result in the color picker going away, but anywhere inside the app does. Is that your finding as well?</quote> Yes, that is what I'm talking about. But it is also possible to move the form and the dropdown window stays where it dropped down. And, as I wrote above, you can close all forms (main form, the dialog with the control) but the dropdown window doesn't go away. The app is still running although it should be terminated already. And, if I try to select a color, the initial "tab" page of the dropdown color picker doesn't show any colors. It is an empty gray page, no colors are visible. And (again:) yes, I'm running mono/mcs svn head. Specific enough ? ;-) ---- Additional Comments From toshok@ximian.com 2006-10-31 11:20:46 MST ---- oh huh.. i wonder if the bug with the gray tab is similar to ones we had recently in TabControl land. and yeah, that's specific enough :) thanks much ---- Additional Comments From rolfkvinge@ya.com 2007-07-17 12:40:55 MST ---- Don't know if this issue is actually fixable, the PropertyGrid needs to be notified of the click, but can't take any grab since whatever control is shown may need it. On Windows there are hooks that can be set, but I can't find anything similar on X. Unknown operating system unknown. Setting to default OS "Other".
Fixed in r93970.
The fault still occurs when one clicks in another window entirely. (The palette does disappear if the window is moved etc, or the click is in the window itself). The craziest case is to click a window that covers the propertygrid window, then one is left with the dropdown palette window _over_ the new foreground app.
I cannot reproduce the described with SVN HEAD. Once I click on another window it is being closed. Are you testing on windows or linux and are you using svn head?
It's working fine here too, on both X11 and Win32.
I don't see the problem on Linux SVN HEAD. But I still see it on Win32 (Windows XP SP2) SVN HEAD [PropertyGridView.cs: ... Revision: 94665, ..., Last Changed Author: ivanz, Last Changed Rev: 94472]. Curious! I've got MSFT's TweakUi installed but I can't see that I have changed any settings that would affect this. When there's a 1.9 preview for Win32 I'll test on other machines. I suggest we assume fixed unless others can repro my case.
(In reply to comment #5 from Andy Hume) > I suggest we assume fixed unless others can repro my case. > Okay closing then.
Sorry chaps I still see this on Windows XP. :-( I've opened bug 360355 for that platform. It applies to all drop-down editors.