From: Phil E. <ph...@li...> - 2006-06-27 11:29:42
|
On Tuesday 27 Jun 2006 11:04, Alex Tweedly wrote: > >Any suggestions would be appreciated. I'm using 0.8.2 with Python 2.3 on > >Debian Sid. > > No, it's not a known issue - you should be able to drag buttons (and > indeed all components around). > I seem to recall Kevin and I trying to figure this out a while ago. We didn't get very far, other than to work out that the drag events were being generated, but nothing else was happening with them within wx. Kevin exchanged some e-mails with Robin and it all went quiet after that. This is all from memory, so that may not be the whole story... :-) I tend to use the cursor keys to move components around in the resourceEditor, so not being able to drag buttons doesn't cause me personally any huge problems. To be honest, I've got so used to doing this now, I don't even think about it any more. > Unfortunately I don't have access to any Linux, so can't check them (it > does work OK on WinXP and OSX). Alex, if it would help, I *may* be able to get you set up with a Linux machine you can access remotely if you want to look into this, I guess it depends on how comfortable you are in a Linux/UNIX environment. > Can you tell me exactly what does happen when you try to drag a button ? > > For example, on Win XP, it is .... > position the mouse (ok, the cursor) inside the button > depress the left button > (the sizing handles disappear) > move the mouse > (the dashed-line rectangle outline appears and moves with the > mouse) release the left button > (rectangle disappears, button itself + sizing handles is drawn > in new location > On my laptop (Mandriva Linux LE2005, Python 2.4, wxPython 2.6.1.0, Pythoncard 0.8.2) I see the following: Position the mouse inside the button Depress left mouse button, sizing handles don't appear Release left mouse button, sizing handles appear Depress left mouse button, sizing handles disappear, dashed-line outline appears move mouse with left button held down, mouse pointer moves outside of the button, dashed-line outline is still visible, button doesn't move > Do your see the sizing handles disappear ? > > Do you have the same problem with other component types ? > Other Linux users - do you see the same problem ? > Components that can be dragged: bitmapcanvas calendar codeeditor combobox floatcanvas gauge htmlwindow image multicolumnlist notebook passwordfield radiogroup slider spinner staticbox staticline statictext textarea textfield tree Components that can't be dragged: button checkbox choice imagebutton list [* see note below] togglebutton With the list component, I find that I can't click to select it within the resource editor. The sizing handles do not appear, and the only way to select it (i.e. to make the sizing handles appear) is by using the resource editor property window. -- Regards Phil Edwards Brighton, UK |