Re: [code] [textadept] File paths incorrect in windows after using '/' from keyboard to bring up the location input.

From: Mitchell <m.att.foicica.com>
Date: Thu, 6 Nov 2014 09:48:20 -0500 (Eastern Standard Time)

Hi Jason,

On Tue, 4 Nov 2014, Jason Schindler wrote:

> This is pretty minor, and it may be a bug in the GTK open dialog.
>
> This works:
>
> 1 - Open file dialog
> 2 - Tab until you are in the "Places" area
> 3 - Arrow down to C:\ and press enter
> 4 - Tab until you are in the files area
> 5 - Type a folder name and hit enter
> 6 - Type a file name and hit enter
>
> This doesn't:
>
> 1 - Open file dialog
> 2 - Press '/' twice to open the "Location" input
> 3 - Type a folder name under C:\ and hit enter (correctly displays
> folder contents)
> 4 - Type names of other folders (provides suggestions) and hit enter
> (also displays correctly)
> 5 - Type a file name to open -or- arrow down to highlight a file to
> open and hit enter
>
> In the "doesn't work" scenario, Textadept will bring up an empty file
> located at TEXTADEPT_HOME/RELATIVE_PATH_TO_FILE.
>
> I can still open a file without a mouse given I always follow the
> "works" steps. Would it be possible to:
>
> 1 - Put something in init.lua to tell textadept where to start the
> open dialog from so I don't have to
> tab to the C:\ drive every time?

I am going to commit a change that starts from the current working
directory (this should have been done a long time ago...). This change
should be in the next nightly. Let me know if you still experience the
problem.

> 2 - Turn off the '/' key binding in the windows open dialog so others
> don't fall down this same trap?

This is a GTK feature that I don't think can be disabled.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 06 Nov 2014 - 09:48:20 EST

This archive was generated by hypermail 2.2.0 : Fri 07 Nov 2014 - 06:30:33 EST