[ wxwindows-Bugs-1720890 ] DirDialog on SuSE does not allow one to select a directory

SourceForge.net noreply at sourceforge.net
Fri Jul 20 18:27:37 PDT 2007


Bugs item #1720890, was opened at 2007-05-17 20:02
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1720890&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxGTK specific
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Scot Brew (sbrew)
Assigned to: Robin Dunn (robind)
Summary: DirDialog on SuSE does not allow one to select a directory

Initial Comment:
On at least SuSE (though not all Linuxes), the DirDialog from wxPython does not allow the User to pick an existing directory.  Also applies to DirBrowseButton.

Note that FedoraCore5 Linux *does* allow users to pick a directory.  It also works properly on Windows and OSX.

STEPS TO REPRODUCE:
0) Using SuSE (tested with 9.2)
1) Launch the wxpython demo (tested with 2.7.2)
2) Bring up the DirDialog
3) Try to select a directory.

RESULT: Unable to select a directory. Only goes into directories.

EXPECTED: Ability to pick an existing directory and have it return the resulting path.


Unsure if this is specific to wxPython or a more general wx or GTK issue.  Either way, it does not work as expected.  This was originally identifed when using the wxPython DirBrowseButton widget.


----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-07-21 03:27

Message:
Logged In: YES 
user_id=71618
Originator: NO

This shouldn't be relevant any more as I've changed wxGTK to always use
"select directory" dialog rather than "create directory" one when
wxDD_MUST_EXIST flag is used.

----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2007-05-17 20:54

Message:
Logged In: YES 
user_id=53955
Originator: NO

What version of GTK+ does SuSE 9.2 have?

----------------------------------------------------------------------

Comment By: Scot Brew (sbrew)
Date: 2007-05-17 20:47

Message:
Logged In: YES 
user_id=1749731
Originator: YES

Good idea though the issue still appears to exist on at least SuSE.

Tried the following:
1) launch DirDialog.py demo
2) Click "Browse for other folders" to bring up main dir dialog
3) single click on a directory
4) Hit the "Open" button

FAILS: It does not work with SuSE 9.2. Instead it browses to the directory
like when double-clicking.
NOTE: Suggested workflow does work for FedoraCore5.



----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2007-05-17 20:35

Message:
Logged In: YES 
user_id=53955
Originator: NO

This is just an oddity in how the new GTK dialog works.  When you double
click a dirname then instead of completing the dialog and returning that
dirname, it drills down into that dir and disables the Open button because
there isn't a currently selected dirname.

Instead you need to just single click the dirname so it is selected in the
list control, and then click the Open button.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1720890&group_id=9863




More information about the wx-dev mailing list