GTK File Select Dialog Behavior

Recently, I noticed that the file open dialog (and the save dialog) seemed to have an unusual behavior.
In previous versions, if you clicked on the file pane, and started typing, you could select directories in the file pane. If you hit enter while a folder was highlighted, then you entered that folder, and focus remained on the file select pane.
In the current version, after hitting enter over a directory, you are shown the contents of the directory, but the cursor focus switches to the file name text entry field instead of remaining in the window pane (typing changes the filename instead of allowing you to continue navigating directories).
Is this a new GTK behavior, a bug, or something not related to GTK all together? If it's a new behavior, is there a way to get the old behavior back - this seems to make navigating the folder hierarchy much more cumbersome.
Thanks for any help in this matter.

Hi Bala ,
Use the following function modules
1 ./SAPDMC/LSM_F4_FRONTEND_FILE or   F4_FILENAME
PARAMETERS : p_upload TYPE rlgrap-filename
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upload.
  CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
* EXPORTING
*   PATHNAME               =
    CHANGING
      pathfile               =p_upload
   EXCEPTIONS
     canceled_by_user       = 1
     system_error           = 2
     OTHERS                 = 3
  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
or
PARAMETERS : p_upload TYPE rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR  p_upload .
CALL FUNCTION 'F4_FILENAME'
    IMPORTING
      file_name = p_upload.
Thanks & Regards

Similar Messages

  • Safari file select dialog hangs?

    When attempting to upload a file, the Safari file selection dialog box opens, but I get a beachball as the dialog attempts to display every file on my Mac for some reason. The expected behavior would be for it to start in the last place I uploaded a file, but nothing is selected in the sidebar and it appears to be showing all the files on the system--no directories, but all files of all types.
    I've waited over five minutes and see the list of files growing (the longest I've let it get is >15,000 items) but it never finishes. Also, I'me seeing the "select a file to see its path" notice in the bottom of the dialog. Force quitting Safari is the only solution.

    This started happening to me today.
    I use: Safari Version 5.1.6 (7534.56.5)
    And when I get a dialog box to choose a file for upload using Safari, there is no beach ball, rather there is the circular activity icon just spins and spins. No file listing appears in list view, column view, icon or coverflow view. I cannot select a file in Safari using the popup file select dialog box.
    This is after a softare update yesterday Mac OS X 10.7.4
    Can't use for WordPress, Tumblr, Facebook etc.
    I am able to use Transmit, my ftp client and it has no problem refreshing the file listings.

  • File Select Dialog Box parameters Screen

    Hi,
    How can i have a file selection dialog box in abap.
    Parameters : fname(100) type c.
    In the above code i want a search help button, by clicking it it should display a file dialog box.
    In the file select dialog box if i select a file and click open the file name should be displayed in the fname text box.
    Is this possible in SAP.
    Thanks,
    Bala.

    Hi Bala ,
    Use the following function modules
    1 ./SAPDMC/LSM_F4_FRONTEND_FILE or   F4_FILENAME
    PARAMETERS : p_upload TYPE rlgrap-filename
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upload.
      CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
    * EXPORTING
    *   PATHNAME               =
        CHANGING
          pathfile               =p_upload
       EXCEPTIONS
         canceled_by_user       = 1
         system_error           = 2
         OTHERS                 = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    or
    PARAMETERS : p_upload TYPE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR  p_upload .
    CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_upload.
    Thanks & Regards

  • File selection dialog box freezes for a few seconds

    When I try to open files / select files from within certain applications (e.g. Aperture, Photomatix) the file selection dialog box freezes for a few seconds which becomes irritating because I can't scroll to the actual file that I want very easily .)
    (I notice the problem generally when I am working in photo editing applications. And yes, I do have some 25MB TIFFs in the target folder...)
    I suppose this is because the finder is "loading" a preview of the files.
    Does this happen to everyone (if so, it would be quite a Windows-like irritation untypical of OSX).
    If not, then what could be going wrong here?

    I have answered my own question by a bit more research.
    It seems a lot of people having this trouble for a while. It is down to Logitech software. Specifically the Logitech Control Center.
    See this forum (last entry):
    http://bit.ly/eEomwp
    The simple solution: uninstall Logitech Control Center. The mouse still works without it.

  • Trouble displaying Windows Explorer file select dialog in RH8

    This problem is occurring across RH8: when I select Import Word doc at startup; when I select Baggage File -> New; when I select Insert Image-> Browse . RoboHelp locks up and when I select to End Task in the Windows Task Manager I get a message saying "the system can not end this program because it is waiting for a response from you". I've tried cascading windows to see if the dialog box is hidden but it's just not there.

    Is your RH project located on a network drive (very bad) or a local drive (good). Also is this just on one project? What happens when you try to do the same on one of the supplied demo projects?
    Read the RoboColum(n).

  • Is there a way to paste an URL into the file selection dialog box?

    Hi,
    I would like to share on Friendfeed.com images that I find on websites. On Windows, I click on "Add - photos" and I can paste the URL of the image directly into the dialogue box.
    On my Mac 10.6.6, I can't find a way to do that: the dialog box only allows me to click on a file's name, I can't paste anything. So I have to save the image on my disk, and then upload it on Friendfeed.
    It's not a big deal, but still more cumbersome.
    Is there a way for me to avoid saving the image on my hard drive?
    thanks for any help that will come this way

    Thomas, you really need to relax I just asked a simple technical question: is X technically possible?
    There were only two meaningful answers to that: yes and no.
    But, no, you and others started to imply there were some dark issues of image copyright infringement, which - if I was not very relaxed myself - would be offending. You don't know what images I'm talking about, so why in the world did you start by assuming that I was infringing copyright?
    (read again my previous answers to you, and you'll see I was not condoning infringement. I was simply saying it was not an issue here). Are you going around the web entering any discussion about how guns work, warning that killing people is a crime? What about knifes? Car forums and speed limits? (I could go on, as you can imagine).
    But, since we're talking about copyright, you may want to lower your expectations about how "easily" you could sue me. The world - and its legal systems - is quite a different thing from the USA, you know.
    Finally, about Friendfeed. Read again what I wrote (leaving aside all the copyright concerns that are distracting you ) and you'll see I mentioned that of course there's a "normal" way to enter the Url. It's just two different actions, with two different results. One of these actions is apparently not possible with a Mac. Too bad. As for Friendfeed being a crappy website: I see you're a web developer. I wish you to be as successful a developer as the people who created Friendfeed (http://en.wikipedia.org/wiki/Bret_Taylor). Some of its functionalities were years ahead of the competition, which is why they have been acquired by Facebook, and today - after more than a year with no development whatsoever - they still make for a very good social network. Go and have a look at it, you may learn a thing or two.
    (I wrote finally, but I was wrong). One more thing: I couldn't resist, and I took a look at your webpage and resumé. I'm not going to write here what you did from "August 1997 to August 2007" (although it's public, so it shouldn't be a problem). But let me express my full appreciation for that! (I'm serious).
    cheers!

  • SMPlayer file open dialog

    I recently made the switch from GNOME to xmonad, and my favorite video player is SMPlayer.  Under GNOME, when I opened a file through SMPlayer, it used the gtk file chooser dialog which I have grown accustomed to, mostly because I can navigate around it with the keyboard.  However, in xmonad it has started using the qt file open dialog.  Whatever package is necessary for the gtk dialog hasn't been uninstalled either because other applications I have installed still use it.  Is there some environment variable or config file that was changed that I can change back to get my preferred file chooser dialog back?
    Let me know if you need any more information.

    While that did noticeably change the theme, it's still using the qt file dialog.  The really strange thing is, I tried installing gnome again just to see if that would fix it, and it's still using the qt dialog in gnome too!  Very odd.

  • Need multiplt file select in LabVIEW 6.1

    I would like to select multiplt files at a time using shift key. I upgraded to LabVIEW 6.1 this feature is not available.

    We have an example program in our database that does this:
    Multiple File Selection Dialog Box
    You can either select file(s) (select multiple by holding down the shift key while selecting) and click on the Add button to add them to your selected files list, or you can double click any individual file to add it.
    Ray Kong
    Applications Engineer
    National Instruments

  • How to get the file name dialog on the selection screen

    Hi All
    I have a selection screen in which there is a parameter where I need to enter file name. Instead of typing filename in the parameter I would like to give a path from presentation server ( I am downloading Data to presentation server ).
    How to achive this functionality in case of a parameter on the selection screen. I need to have File open Dialog box like Windows here and then it should show the filename and it's path in this parameter after selectiong from the dialog box.
    Amol

    Hi..,
    Use the function module <b>F4_FILENAME</b> or <b>WS_FILENAME_GET</b> in the event
    <b>AT SELECTION-SCREEN ON VALUE REQUEST FOR P_FILE.</b>
    Parameters p_file type rlgrap-filename.
                AT SELECTION-SCREEN ON VALUE REQUEST EVENT            
    at selection-screen on value-request for p_file.
      perform value_request.
    *&      Form  value_request
          This subroutine proposes the possible input values             *
    There are no interface parameters to be passed to this subroutine.  *
    form value_request.
      call function 'WS_FILENAME_GET'
       importing
         filename               = p_file
       exceptions
         inv_winsys             = 1
         no_batch               = 2
         selection_cancel       = 3
         selection_error        = 4
         others                 = 5.
      check sy-subrc eq 0.
    endform.              
    Reward all helpful answers !!
    sai ramesh

  • GTK file dialog causes crash

    Hello community,
    I am experiencing a weird problem since I upgraded this afternoon. The upgrade itself went smooth and didnt break any package. I checked the latest mirrors an found out my system is perfectly up to date.
    Unfortunately, the GTK file dialog seems broken. Trying to use this dialog causes a crash in firefox, epdfview, gimp and inkscape. Thunar doesn't start at all, not leaving, like all other mentioned programs, anything useful behind in the terminal. They just crash immediately. Qt file dialog works (tested in arora).
    Any idea what (i. e. what package) causes this problem?
    thanks in advance, joe

    Thank you for the reply.
    I found my problem.
    There was a \r\n appended to part of my default file name which caused it to cancel the file dialog.
    The filename was CT_TE5000001\r\n.xlsm instead of the desired CT_TE5000001.xlsm.

  • File open dialog to just get the user selected file name

    Hi,
    I am working on asynchronous file storage to KPRO through my ABAP WD application. For this asynchronous upload
    operation, I just need the file name and file path(not the content). The KPRO servers could be made to use SAPFTP, SAPHTTP in the background to upload documents (triggered via tRFC's).
    Is it possible to have a file open dialog (similar to java file open) which just returns the file path and file name instead of the
    content? Current fileUpload UI element also loads the content which is not desired behaviour for me (because could be a performance problem with large documents uploading).
    Is it possible to select multiple filenames? Thomas Jung's Flash island multiple upload works, but not in my
    asynchronous scenario. Because flex fileReferenceList + upload operation works synchronously.

    You must remember the START-OF-SELECTION event here,  after you select the file name and click F8, the START-OF-SELECTION event is triggered, but if it is not there, nothing will happen.
      if sy-subrc <> 0 or l_rc < 0.
        message id sy-msgid type sy-msgty number sy-msgno       "mo271101
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.                                                     "mo271101
        read table l_files index 1 into h_files.
        auszfile = h_files-filename.
      endif.
    start-of-selection.            "<--  Add this
      write:/ auszfile.
    Regards,
    RIch Heilman

  • Displaying the path of the file selected by a FileChooser in a TextField

    I'm just getting started with Swing. I developed a simple dialog box that has two text fields and two buttons. The objective is to open two files using those two buttons. I used FileChooser to select the files. Now, I want to display the path of the selected files in their corresponding TextFields. I use the following code to do that.
    final FileChooser fc1 = new FileChooser();
    final FileChooser fc2 = new FileChooser();
    final TextField tf1 = new TextField();
    final TextField tf2 = new TextField();
    private void button1ActionPerformed(ActionEvent evt)
                int returnVal1 = fc1.showOpenDialog(labelPhpFile);
                if (returnVal1 == JFileChooser.APPROVE_OPTION)
                    File file1 = fc1.getSelectedFile();
                    String fileName1 = file1.getName();               
                    String filePath1 = file1.getPath();
                    tf1.setText(filePath1);
    private void button2ActionPerformed(ActionEvent evt)
                int returnVal2 = fc2.showOpenDialog(labelPhpFile);
                if (returnVal2 == JFileChooser.APPROVE_OPTION)
                    File file2 = fc2.getSelectedFile();
                    String fileName2 = file2.getName();               
                    String filePath2 = file2.getPath();
                    tf2.setText(filePath2);
    }The above code works fine only for the first file. Mean the path of the file selected using fc1 is getting displayed in the tf1 TextField. But, the file selected using fc2 is not getting displayed tf2 TextField. Please help me.
    Thank you :)

    h1. The Ubiquitous Newbie Tips
    * DON'T SHOUT!!!
    * Homework dumps will be flamed mercilessly.
    * Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
    h5. Ask a good question
    * Don't forget to actually ask a question. No, The subject line doesn't count.
    * Ask once
        - Don't Crosspost!
        - Two people answering one question independantly is a waste of there time.
    * Don't even talk to me until you've:
        (a) [googled it|http://www.google.com.au/] and
        (b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
        (c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
        (d) referred to the JLS (for "advanced" questions).
    * [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
        - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
          - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
        - Often you discover your own mistake whilst forming a "Good question".
        - Many of the regulars on these forums will bend over backwards to help with a "Good question",
          especially to a nuggetty problem, because they're interested in the answer.
    * Improve your chances of getting laid tonight by writing an SSCCE
        - For you normal people, That's a: Short Self-Contained Compilable Example.
        - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
        - Often you discover your own mistake whilst writing an SSCCE.
        - Solving your own problem yields a sense of accomplishment ;-)
    h5. Formatting Matters
    * Post your code between a pair of &#123;code} tags
        - That is: &#123;code} ... your code goes here ... &#123;code}
        - This makes your code easier to read by preserving whitespace and highlighting java syntax.
        - Copy&paste your source code directly from your editor. The forum editor basically sucks.
        - The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
          - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
          - Lines longer than 80 characters should be wrapped.
          - Proper indentation illustrates program logic.
    * Post your error messages between a pair of &#123;code} tags:
        - That is: &#123;code} ... errors here ... &#123;code}
        - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
            System.out.println("Your momma!); // <<<< ERROR 1
        - Note that error messages are rendered basically useless if the code has been
          modified AT ALL since the error message was produced.
        - Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
    * The forum editor has a "Preview" pane. Use it.
        - If you're new around here you'll probably find the "Rich Text" view is easier to use.
        - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
        - To see how a posted "special effect" is done, click reply then click the quote button.
    If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
    h1. The pledge!
    We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.

  • File Open Dialog Box

    Under my install of Vista Enterprise on an AD network, I'm am not getting the "computer" option to access local and network drives when I select "File/Open".  All I get is the redirected "home" directory for that user.  True for all Adobe applications (have the latest Creative Suite 4).  Other Windows apps using Windows file/open dialog box can get to the network.  Tech support said I should have an option to select the OS dialog box, but I do not see that on my install.

    In Edit > Preferences > File Handling, uncheck "Enable Version Cue".  This is where you will find it in CS4; earlier versions may have slight variations.  In some versions, you may also get a checkbox in the file open dialog (down at the lower left, as I recall) that lets you select OS dialog or Adobe dialog.   Also, in Bridge (again CS4), go to Edit > Preferences > Startup Scripts, and uncheck Adobe Version Cue CS4.  (I have this unchecked, and even with Enable Version Cue checked in PS I don't get the Adobe dialog or the option to set it, so the setting in bridge seems to be the master.)

  • File Open Dialog Box  on Button Click

    Hi
    I am devloping some webpages using JSF and RichFaces..
    I would like to appear File open Dialog box to choose single file and multiple files and another Folder chooser dialog box to choose the folder content..
    Both the operation should be performed while choosing the Button Choose File and Choose Folder...
    I have already tried Input type = file and aphace tomohawk..
    But i all the components are coming with text box and browse button..
    I dont need that. I need to open the dialog box once i clilck my choose file r folder button and it should work browser indepent.....

    HTML doesn't provide you the possibility to select multiple files or select folders at a single browse. Thus JSF can't do any much for you. Best what you can do is to write a signed applet or web start application which does the task. The Mojarra Scales component library has a ready-to-use component which embeds an applet which does that task. Check [https://scales.dev.java.net/multiFileUpload.html].

  • Default settings for File Chooser dialog

    I reach the file chooser dialog by selecting File-Open File.
    Under the toolbar-options menu in the Open File Dialog, I can select to have a bookmark icon appear on the toolbar.
    How do I set a default to have the Bookmark icon always appear?
    Firefox 11 on openSuSE 12.1

    I don't think so, if I hide the Menu bar I don't see a Bookmarks Menu.
    In this picture http://dl.dropbox.com/u/50261731/Open_File%20Menu%20.png an arrow points to an Options menu button. Select that Button and a list of options opens, one of which is "Show Bookmarks". I would like the Show Bookmarks option to be "ON" by default.
    Be aware that I am running SuSE 12.1 and I believe this Menu is provided by KDE integration "kmozillahelper", so my menu may be different from the default Firefox menu.

Maybe you are looking for