"Preview this File" Does Nothing + Blinding GTK+ open file dialogs...

...I have two problems in KDEMod4...did anyone have these problems and how do you fix them?
Right clicking a file and clicking "Preview this File" does nothing...including folder views, Konqueror, and Dolphin.
GTK+ open file dialogs alternate between the normal background for my text box and blindingly white background.

Hi,
I also have the same problem, but with my JNI and C++ expertise, I was able to isolate the problem.
My platform:
- Microsoft Windows XP, Family Edition (French), Version 2002, Service Pack 3
- JRE 1.6.0_21
In the source of the JDK6 (Src/windows/classes/sun/awt/windows/WDesktopPeer.java), the Desktop.open(file) calls the native method
ShellExecute(*uri.toString()*, "open")
For example, if you try to open "c:\helloworld.pdf",
uri.toString() = "*file:/c:/helloworld.pdf*"if I call ShellExecute("C:\\helloworld.pdf", "open"), it works
but if I call ShellExecute(" file:/c:/helloworld.pdf", "open"), it doesn't work on my platform.
In both case, the ShellExecuteW or ShellExecuteA function of the Windows API return the integer 42 (> 32), saying that the functions succeeded. If the file object is not correct, the function should return a value <= 32.
=> The bug is not due to Java implementation, but to a bug in the Windows API.
Other remark:
I also tried the "ShellExec_RunDLL" entry point of the Shell32.dll library using RunDll32 utility. Both commands below are running correctly:
rundll32 SHELL32.DLL,ShellExec_RunDLL "C:\hello.pdf"
rundll32 SHELL32.DLL,ShellExec_RunDLL "file:/C:/hello.pdf"My conclusion:
1) A workaround could be implemented in the JRE: use the file path without the "file:/" protocol prefix.
2) This bug seems to be present only one some version of Windows XP (to confirm).
Rodolphe.

Similar Messages

  • In the edit bookmark box clicking on Delete This Bookmark does nothing

    I open the Manage Bookmark 'star' and click the Delete This Bookmark button...the box immediately closes and the bookmark is still in my bookmark list.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    * http://kb.mozillazine.org/Bookmarks_not_saved

  • Firefox 5.0 for Linux: sometimes the middle button on a link does nothing, sometimes it opens the link twice - What can I do?

    Hello,
    I just updated Firefox from 4.x to 5.0 on Ubuntu 10.10 32bit.
    Since then, the middle button of the mouse works erratically on links.
    Sometimes the middle button opens a new tab with the link (which is correct), then replaces the current page with the link (which is not correct).
    It was particularly annoying when I tried to bypass what looks like another FF5 problem: clicking on "next" or page 2, 3, 4... on a Google results page gives nothing. Clicking with the middle button opens the page in a new tab... but also replaces the current one. Refreshing the page after clicking "next" or a page number seems to work.
    Is it a bug or a config problem? What should I do from now?

    Right click on the hyperlink and select “Open Link in New Tab," that will open a new tab and keep you from getting a blank page like most people get. I don't know why they changed this option. If you don't want to do that every time you can change it in the config.
    1. In Firefox, type about:config into URL Location bar.
    2.Click on I’ll be careful, I promise! button.
    3.In the filter text box, enter the following text string with no quotations :
    ''''''browser.tabs.insertRelatedAfterCurrent''''''
    Alternatively, manually locate the preference name above.
    4.The default boolean value for the browser.tabs.insertRelatedAfterCurrent is “true”. Double click on the browser.tabs.insertRelatedAfterCurrent to change its value to''' false'''.
    5.Close the tab, and the change will take effect immediately.
    Hope that helps some people..

  • IChat does nothing when i open it

    I have iChat 4 on Leopard, and it had no problems until earlier this week. When I open iChat, the program opens, but nothing happens. I can't access my preferences, and I can't change any settings. I tried uninstalling the program, and using pacifist to re-install from my leopard DVD, but that hasn't seemed to work. Any ideas?

    Did you in stall the 10.5.2 combo install after the iChat Reinstall ?
    http://discussions.apple.com/thread.jspa?threadID=1486891
    Also you may need to work through This FAQ
    http://discussions.apple.com/thread.jspa?threadID=1462798
    You seem to be at Symptom 4
    (I see Apple have added Disclaimers to these two FAQs and judging by a quick sample ALL FAQs)
    8:30 PM Saturday; May 17, 2008

  • My i phone 3 crashed during an update , now asking me to restore  it via i tunes, Tryed this but  does nothing any suggestions ????

    after trying to update my i phone , the update has obviously failed and now itunes asks ,e to restore my iphone , have tried this but the restore has now taken over 24 hours ans still not complete ./ have  tried to reboot pc and i phone and try restore again , but still nothing ,

    try HT1808

  • HT201263 This procedure does nothing.

    The software update download from iTunes is still interrupted by the iPhone demanding a passcode. Is there a more reliable procedure to force the iPhone to bypass the (forgotten) passcode request and into full Restore mode?

    Yes. As far as I can tell I have tried every procedure on HT1808 and it's links and I am still being asked for a passcode. I had to use a friends Macbook Pro as a new user (I don't have another computer of my own) and I was unable to sync with iTunes because of the passcode restriction. My iPhone is only a few days old has never been synced to another computer.

  • HT1212 This procedure does nothing.

    The software update download from iTunes is still interrupted by the iPhone demanding a passcode. Is there a more reliable procedure to force the iPhone to bypass the (forgotten) passcode request and into full Restore mode?

    HT1808: Unable to update or restore

  • Archiving (duplicate heirarchy) project using Save-As does nothing, works on others

    'Morning.
    I'm having trouble getting one particular project to 'archive'. I've tried multiple options (include references, I've chosen specefic references, excluded vi.lib, multiple destintations, etc). No .lvproj file is created, and the HDD indicator does nothing. Simply closes the dialog. This function (File-Save As) performed on the toplevel project does work for some smaller projects just fine.
    Maybe about 300 dependancies (including vi.lib), LB 8.5.1, fresh install with XP about two months ago.
    Thoughts? Unfortunately I'm unable to post the entire project (for obvious reasons).
    Regards,
    Jamie
    v2009 devel. w/RT

    Ah, nearly forgot about that option, thanks!
    First attempt yielded: system replication example from NI had a slash in the VI name. Renamed, and it built OK.
    File-Save as (duplicate) still yields the same.
    v2009 devel. w/RT
    Attachments:
    slashed.PNG ‏20 KB
    renamed.PNG ‏24 KB

  • Problem with preview PDF files on Windows 7 32bit

    Hello,
    in my office I have a problem with preview PDF files on my computers. The files are allright, but if I select a file and click on preview mode after ~ 10sec operation system write something "Preview this file is corrupt for PDF Preview Handler wrong". On other 64bit computers with same programs the preview is work. I try uninstall all Adobe soft (Reader, Flash), clean all Adobe data from folders in root and in register, but it is not solve this problem. On Microsoft forums wrote me, that the problem is probably with AR plugin.
    So, can someone help me?
    Config PC:
    Windows 7 32/64bit Pro
    Intel i3, 4GB
    Adobe Reader 11.0.5
    Adobe Flash Player 15 ActiveX
    Adobe Flash Player 15 plugin
    Preview Handler Surrogate Host ver.: 6.1.7601.17514
    Thank you for help.

    I think I figured it out after reading other forums. Thanks!

  • Two Desktop items appear in file/open close dialog boxes.

    In all applications in the file open/save dialog box I have two "Desktop" items on the left toolbar. In Finder it is showing up the right way with only one "Desktop" item on the left tool bar. How do I get rid of this extra "Desktop" item on my open/save dialog boxes?
    Thanks.

    1. Drag all Desktop icons off your Finder sidebar.
    2. In Finder >> Preferences >> Sidebar UNcheck all options.
    3. navigate to ~(yourhome)/library/preferences and trash these two files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then log out and back in again. Or restart.
    (You will have to reset a few finder prefs the way you like them.)

  • Provide a start path (folder) in a file dialog box

    Is there a way to have a file dialog box start in a specific folder without using the File Dialog express VI? (I also don't want to use a system exec).
    Thanks.
    Richard
    Solved!
    Go to Solution.

    I was refering to functions which support the desired feature. As you already encountered, the Open/Create/Replace File.vi does not support this.
    The Express VI "File Dialog.vi" uses the same file dialog as used in the example "Write to Text File.vi". You can find the VI using the link in the help of Open/Create/Replace File.vi.
    Please note that the context help of this File Dialog states that "LabVIEW no longer supports this function on the block diagram. National Instruments recommends you use the File Dialog Express VI instead."
    I assume that this text is written due to being platform-independent. It still works under Windows, but i can think of future releases of LV not to support this feature anymore (as stated in the help).
    And still, you did not answer why you don't want to use the express vi....
    Norbert
    Message Edited by Norbert B on 09-01-2009 10:08 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I open Elements 8 with "Open with dialog" in Windows XP?

    When I try to open a photo from My Pictures using the Open with dialog (when I click on Register) I get a message"Specified file is missing! No changes were made"   Photoshop Elements 8 is installed and working. For some reason Adobe Photoshop Elements 8 no longer appears on the list of programs in the Windows Open With dialog. How can I add Adobe Elements 8 to the Open With dialog?  There are programs listed that I do not use. Is there a way to delete or add programs to the Open With dialog?

    I couldn't get this to work for some reason. I solved the problem by
    downloading
    OpenWithAdd_1.2.zip.   This adds the program to the "Open with dialog"
    The procedure is:
    Download OpenWithAdd.zip and run it. Locate the application that you
    want to add to the Open With dialog.
    Type the command-line parameter (if the application requires one) in the
    appropriate text field. And optionally, you can give a personalized name
    for the application which you're trying to add to Open With. This text
    will appear in the Open With dialog, describing the application.
    Once done, click Register.
    Your application is now added to the list.
    Bob Ennis

  • File Dialog and Report Generation Toolkit

    Hi,
    I designed a VI for an electrometer calibration and it works quite well The only problem I have is the following:
    I used the Report Generation Toolkit to put the measurement data in an Excel file. When I run the VI I'd like a window to pop up to define the location and name of the Excel report file. If these two things are done LabVIEW should create the specified Excel file and run the rest of the code.
    So i tried this with the "File Dialog" Vi and all the needed low-level File I/O VIs and it worked.
    But when i connect the "File Dialog" VI with the "New Report" VI of the Report Generation Toolkit I get an error message.
    Is there any solution to get this file dialog pop up window with the Report Generation VIs?
    thx for any help...!
    Message Edited by Flea on 12-15-2005 03:58 AM

    Wow, thanks for your fast and very helpful reply devchander!
    I already tried this and it works fine
    thx!

  • Can't open jpg, preview.app does nothing

    Hi,
    I am attempting to troubleshoot a minimac 10.4.10
    I cannot open .jpg with preview.app (or tiff/gif ect.), which i assume is the default pic viewer.
    when d-clicking on a jpg (whether downloaded or uploaded from a camera) the picture will not open.
    the only thing it does is the very brief animation quick flash from icon to full screen like it will open except it doesn't.
    i opened the task manager (or whatever its called in apple) and preview.app is not running.
    it is only possible to view a pic with firefox, quicktime, or safari.
    HELP! i have basic to moderate user knowledge of mac

    thanks for the responses!
    i did a 'get info' on a pic and it does show the preview correctly (no thumnails anywhere is another problems as well)
    it already has preview.app listed as the default app. i selected a different program and did a open with, and then switched the default back to preview.app and same problem.
    *preview.app will not open period*. launching it by itself does nothing. i went to the applications folder and tried launching it from there and nothing. *It is still installed*. I did a 'get info' on it and it shows March 07 as the last time its been launched (approximate time of update to 10.4.10)
    so i'm confident the problem is from the app not from the jpg files. It just won't launch.
    is there anyway to reinstall it or something? uninstall/reinstall? dunno how to do this...

  • An error occurred while opening the file, you can not open this file because it does not page???

    Dear all,
    i am test the report to show "No Data Found"  world, but, when i preview to PDF, i got  the message :An error occurred while opening the file, you can not open this file because it does not page.
    i try to load the other xml file that have data, and report work,no error.
    i don't know where is the problem, so i need some help....
    Thanks in advance for your response.
    my rtf report:
    <?call:header?>
    <?if:count(PLAN_CODE)>0?>
    <?for-each@section:G_PLAN_CODE?>
    <?template:Header?>
      <?for-each:G_PURPOSE?>
      <?end for-each?>
    <?end template?>
      <?for-each:G_PLAN_SUBSQL2?>
      <?end for-each?>
    <?end for-each?>
    <?end if?>
    <?if:count(PLAN_CODE)=0?>
    ====================No Data Found ===================
    <?end if?>
    about xml:
    if no data query back:
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <NARLGLR005>
      <LIST_G_PLAN_CODE></LIST_G_PLAN_CODE>
      <CF_START_DATE>102.3</CF_START_DATE>
      <CF_END_DATE>102.3</CF_END_DATE>
      <CF_TITLE_NAME>Company</CF_TITLE_NAME>
      <CF_OU_NAME>IT Department</CF_OU_NAME>
      <CF_SOURCE_CODE>N/A</CF_SOURCE_CODE>
      <CF_PRINT_DATE>102.11.18  15:48:10</CF_PRINT_DATE>
    </NARLGLR005>
    if have data:
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <NARLGLR005>
      <LIST_G_PLAN_CODE>
        <G_PLAN_CODE>
          <PLAN_CODE>03101C3003</PLAN_CODE>
          <PLAN_NAME>03101C3003_test</PLAN_NAME>
          <PLAN_EM>John</PLAN_EM>
          <PLAN_START_DATE>101.09.01</PLAN_START_DATE>
          <PLAN_END_DATE>102.08.31</PLAN_END_DATE>
          <PLAN_HOSTS>abc_super</PLAN_HOSTS>
          <LIST_G_PURPOSE>
            <G_PURPOSE>
              <PURPOSE_CODE>11600000</PURPOSE_CODE>
              <PURPOSE_NAME>Pre-Pay</PURPOSE_NAME>
              <LIST_G_PURPOSE_CODE>
                <G_PURPOSE_CODE>
                  <BUDGET_AMOUNT>0</BUDGET_AMOUNT>
                  <REAL_BUDGET_AMOUNT>0</REAL_BUDGET_AMOUNT>
                  <TEMP_RECEIPT_AMOUNT>0</TEMP_RECEIPT_AMOUNT>
                  <REAL_PAY_AMOUNT>0</REAL_PAY_AMOUNT>
                  <TEMP_PAY_AMOUNT>-83006</TEMP_PAY_AMOUNT>
                  <TEMP_PAY_FINAL_AMOUNT>83006</TEMP_PAY_FINAL_AMOUNT>
                  <TOTAL_AMOUNT>83006</TOTAL_AMOUNT>
                </G_PURPOSE_CODE>          
              </LIST_G_PURPOSE_CODE>
              <CS_BUDGET_AMOUNT>0</CS_BUDGET_AMOUNT>
              <CS_REAL_BUDGET_AMOUNT>0</CS_REAL_BUDGET_AMOUNT>
              <CS_TEMP_RECEIPT_AMOUNT>0</CS_TEMP_RECEIPT_AMOUNT>
              <CS_REAL_PAY_AMOUNT>0</CS_REAL_PAY_AMOUNT>
              <CS_TEMP_PAY_AMOUNT>0</CS_TEMP_PAY_AMOUNT>
              <CS_TEMP_PAY_FINAL_AMOUNT>0</CS_TEMP_PAY_FINAL_AMOUNT>
              <CS_TOTAL_AMOUNT>0</CS_TOTAL_AMOUNT>
            </G_PURPOSE>      
          </LIST_G_PURPOSE>
          <LIST_G_PLAN_SUBSQL2>
            <G_PLAN_SUBSQL2>
              <GL_DATE>31-07-12</GL_DATE>
              <NARL_DOC_NUMBER>0310107311004</NARL_DOC_NUMBER>
              <AP_UNAPP></AP_UNAPP>
              <PLAN_NAME1>03101C3003_101-102</PLAN_NAME1>
              <PLAN_CODE1>03101C3003</PLAN_CODE1>
              <PLAN_EM1>Elly</PLAN_EM1>
              <PLAN_START_DATE1>2012/09/01 00:00:00</PLAN_START_DATE1>
              <PLAN_END_DATE1>2013/08/31 00:00:00</PLAN_END_DATE1>
              <PLAN_HOSTS1>KIC-Supp</PLAN_HOSTS1>
              <REAL_RECEIPT_AMOUNT>0</REAL_RECEIPT_AMOUNT>
              <DESCRIPTION>101 year</DESCRIPTION>
              <CF_GL_DATE>101.7.31</CF_GL_DATE>
            </G_PLAN_SUBSQL2>
          </LIST_G_PLAN_SUBSQL2>   
          <CF_START_DATE1>99.1</CF_START_DATE1>
          <CF_END_DATE1>102.11</CF_END_DATE1>
          <CF_TITLE_NAME1>TCS Company</CF_TITLE_NAME1>
          <CF_OU_NAME1>IT Department</CF_OU_NAME1>
          <CF_SOURCE_CODE1>plan</CF_SOURCE_CODE1>
          <CF_PRINT_DATE1>102.11.19  17:12:19</CF_PRINT_DATE1>
          <CS_T_BUDGET_AMOUNT>517524</CS_T_BUDGET_AMOUNT>
          <CS_T_REAL_BUDGET_AMOUNT>517524</CS_T_REAL_BUDGET_AMOUNT>
          <CS_T_TEMP_RECEIPT_AMOUNT>289294</CS_T_TEMP_RECEIPT_AMOUNT>
          <CS_T_REAL_PAY_AMOUNT>289294</CS_T_REAL_PAY_AMOUNT>
          <CS_T_TEMP_PAY_AMOUNT>0</CS_T_TEMP_PAY_AMOUNT>
          <CS_T_TEMP_PAY_FINAL_AMOUNT>0</CS_T_TEMP_PAY_FINAL_AMOUNT>
          <CS_T_TOTAL_AMOUNT>228230</CS_T_TOTAL_AMOUNT>
          <CS_REAL_RECEIPT_AMOUNT>289294</CS_REAL_RECEIPT_AMOUNT>
        </G_PLAN_CODE>
      </LIST_G_PLAN_CODE>
      <CF_START_DATE>99.1</CF_START_DATE>
      <CF_END_DATE>102.11</CF_END_DATE>
      <CF_TITLE_NAME>Company</CF_TITLE_NAME>
      <CF_OU_NAME>IT Department</CF_OU_NAME>
      <CF_SOURCE_CODE>N/A</CF_SOURCE_CODE>
      <CF_PRINT_DATE>102.11.18  15:48:10</CF_PRINT_DATE>
    </NARLGLR005>

    Hi,
    You mentioned you tried some steps but I'm not sure what they are, you may try my suggestion to resolve this issue, follow these steps:
    Click Start, right-click Computer, click
    Properties, and then click Advanced system settings.
    On the Advanced tab, click Environment Variables.
    Locate and select the __COMPAT_LAYER variable, and then click Edit.
    Set the value of the __COMPAT_LAYER variable to EnableThemes. Or, delete the __COMPAT_LAYER variable.
    If the issue persists, we can troubleshoot this problem in Clean Boot to determine whether background programs are interfering with PowerPoint:
    http://support.microsoft.com/kb/929135
    Regards,
    Melon Chen
    TechNet Community Support

Maybe you are looking for

  • Problem in output file generation in AL11 tcode - need quick help

    Hi experts, Scenario:- Proxy to File ( file is generated in AL11 directory folder. Probelm: Last field value is generated with correct values in SXMB_MONI output payload, But when I open a file in AL11 the last field fiew value are getting trimmed. A

  • Internet Problems: Websites are not loaded

    Hi everyone, since the Mavericks-Update I got some problems with my Internet-Connection: 1. Often the websites are not loaded. There comes no error-page or something else, its just a white page and I can see the Browser is loading but nothing happens

  • Invoice quality Block

    Hi Gurus, I had created one Po with quality managed material (QM control key -- invoice block) for a quantity 1000 Kgs. GR Basd IV was not flagged. Now I had posted 5 Goods receipts with small quanttities like 200, 300, 150, 250, 100 KGs Agianst thes

  • Accessibility differences between version 9 and XI?

    Hi I have posted a question in the Adobe Reader forum, but it is more of a developer question and I assume that is why no one has responded to it so far: http://forums.adobe.com/thread/1155120?tstart=0 I would appreciate it if a moderator could move

  • MIGO_GR

    Hi All, I am looking for a spot in MIGO_GR before the PO data is loaded or when anytime after data is loaded and before we hit POST or before batch is created. I need to perform some validations on the data. The following are the once i tried: BADI: