Gtk save file dialog doesn't show directories
Hello, I'm having problems saving files in mhwaveedit (from community). When I click save, I get this:
http://i.imgur.com/pjTMZ.png
and if I click on "File System" or "Recently Used" the mouse turns into a watch and it all hangs there. There's no output on the terminal and no verbose option.
I tried recompiling from abs both mhwaveedit and gvfs (which seemed to be the problem with similar issues) but nothing changed.
Any pointers?
so, yesterday it worked, then today again it doesn't. Could it be something with icons/themes?
Isn't there some configuration file in my home I could try deleting?
Similar Messages
-
Finder in Save file dialog Safari crash
Ever since I upgraded to Snow Leopard at launch, Safari 4 doesn't seem to like me searching in the save file dialog box. It doesn't seem to matter whether or not I actually save the file, and I made a screen recording to show what happens here:
http://www.youtube.com/watch?v=YFKkPI2vGr8
I've reset Safari, and I repaired my disk permissions after loading up Snow Leopard. What gives? This is really annoying when I want to get to a folder fast, and dragging and dropping image files to folders seems to cause them to open in different Preview windows (or not even open at all).
Any help would be much appreciated. This is seriously making me consider going back to Firefox or just going with Chrome - this crash doesn't happen with either of them!The problems are caused by third party input managers/enhancers that have not yet been updated by their developers to comply with the standards used by Safari 3.2.1. and/or Safari 4.
In your case these are:
com.zang.RegexKit 0.6.0 (0.6.0) <71374A4A-3B24-4759-E994-AB9E135345CB> /Library/InputManagers/Safari AdBlock/Safari AdBlock Loader.bundle/Contents/PlugIns/Safari AdBlock.bundle/Contents/MacOS/../Frameworks/RegexKit.framework/Versions/A/Regex Kit
You fill find them in one or either of these folders:
Home/Library/Input Managers
Hard Disk/library/Input Managers
Hard Disk/Library/Application Support
although the exact location is indicated in your crash report as quoted above - look under 'Binary Images'.
Close Safari and delete them, then restart Safari and it should be working normally. Alternatively drag them to the desktop and restart Safari. then add them back one at a time, restarting Safari every time, until you find the one (or more) causing the crash.
Check with the developers of the plug-ins in question for updates that are Safari 4 compliant. -
Windows Classis Theme - Windows Classic Start Menu / Save Files Dialog
MS, please keep a way back to the 9x interface!
Really anoying that the Windows Classis Start menu (Windows 9x etc.) is not available in Win7.
(and apparently no option "Always Show All Programs" option is available and the subprograms are listed in the same window which makes it a long list)
People and commpanies want the option to go to the old-familiair Windows Classic (9x) interface!!!!
We know it, it works and it suits the purpose: why change!
Furthermore in a company environment all files are saved in a directory structure and not in the 'favorites' folders in the user profile. So please...make a simple classic w7 interface like XP (with a simple Save File Dialog) and not a Christmass Three with bells Interface like W7.
[i think that's one of the reson that ofiice 2007/vista doesn't sell as it should. I'm affraid it is a marketing strategy of MS. But unfortunately I think it drives more people in to alternatives like openoffice etc.]The XP and later interface has always looked like something designed by Fisher-Price to me. Much more annoying, though, is the inability to go the Classic Start Menu. This is sufficient to cause me to stick with XP until it simply can't handle the then-current software. By that time, Linux should be able to run all Windows progams; it is getting closer to that now. Are you listening, MSFT? I'm an MCP with other certs, and, unless you give the option for the Classic Start Menu and a menu that shows all programs (not just a "personalized menu), XP may be my final Windows version.
I really do not understand Microsoft's lack of logic here. They changed the interface in Office 2007 with the ribbon; millions upon millions of users were proficient with the interface prior to that, and MSFT says they have to learn a new one (I agree with Frank1977 here that it's driving people to OpenOffice). That sounds like a New Coke decision to me. Maybe they have an Apple or Linux mole in there, seeking to give bad advice purposely (for any Biblically literate readers, think "Hushai the Archite", and the advice he gave Absalom).
I have defended Microsoft to many Microsoft-bashers at work, but this is becoming more and more difficult to do. And I'm losing my incentive to do so. PLEASE, Microsoft, add power and abilities, as you are doing, but don't arrogantly insist on forcing professional users to learn a new (and less capable) interface.
Well said , Tewald , have considered other options lately as far as "other operating systems go" , you listening Micro soft ?
MB -
Save File-Dialog not responding
In every document-style app (Pages, TextEdit etc.) the save file dialog suggests iCloud as default destination to save to. When I click the Drop-Down to select another location the whole application hangs and shows me the marvelous marble of death.
Is there anybody else experiencing this? How could this be solved?
(Behaviour seen on 10.8.2 but also on 10.8.1)to make things clearer a screenshot of the dialog I'm talking about. this happens everywhere such a generic save file dialog appears.
-
BUG: "Save As" dialog is not showing
sometimes i have the problem (since CC) that the SAVE AS dialog is not showing.
the window does not show when i select SAVE AS.
SAVE works.. but i often want to save a new version without overwriting the old.
i don´t know why it happens but it seems that BIG files (panoramas or many layers) are affected more often.
happens 3-5 times a week.
never had this problem with PS prior to CC.
my system:
intel I7 2600K
16 GB ram
GTX 770 (latest drivers)
240 GB SSD (OS windows 7 64 bit)
120 GB SSD (60GB free for scratch files)
2 TB harddisk (1 TB free for scratch files)Photoshop should not crash even with big files so apparently there is something wrong.
yeah obviously...
Have you tried resetting Photoshop's preferences yet? That sometimes cures malfunctions.
i have resetted the preferences yes.
photoshop should not crash i agree.... but as you can read here in this forum it does.
no software is free of bugs.... and i have worked long enough with computers to burry that expectation. -
The dialogs doesn't show up over HTTPS connection.
JWS usually shows Version check and Launching dialog when it start up.
But when it started over HTTPS connection, those dialogs doesn't show up.
When we use HTTP connection, the application launch by following step.
1. Java loading dialog shows
2. Version check dialog shows
3. Launching application dialog shows
4. Application launched
However, in the case of HTTPS connection, step2, 3's dialog doesn't show up.
(It might be skipped? What's going on?)
I think that the step1,2,3 are processed by JavaWebStart.
Is there any way to show these dialogs when we use HTTPS connection?
Client: Windows XP(SP2), JDK: 1.4.2_06
Web Server: WebLogic(ver.8.1)When running over http or file protocol, these dialogs are shown if the update check takes more than 1500 ms, when application must be updated before launching (due in 1.5.0 to offline-allowed not being specified, or setting <update check="always" /> in 6.0) (assuming target isn't using basic authentication). If the update check can complete in less time than that, then the dialogs will not be shown.
For https, there is a probability that the attempted https connection will cause https security dialogs, which would then always cause the check to take more than 1500 seconds (or whatever timeout is configured) so webstart won't show the download progress dialog untill it knows there is an update.
This should be a bug, since it is handled beter in BasicAuthentication case.
If you are using Authentication, the download dialog will show up only after 1500 ms if the JAuthenticator chalange dialog is not being shown.
Similarilly, using https, he dialog should show after 1500 ms (or whatever timeout) if the https security dialog, or host mismatch dialog is not showmin.
/Andy -
Suggest a filename extension in a save file dialog
Hello guys,
does any of you know, how to suggest the user a certain filename extension in a save file dialog?
I'm using both the normal save file dialog:
javax.swing.JFileChooser.showSaveDialog,
and the Java Web Start save file dialog:
javax.jnlp.FileSaveService.saveFileDialog.
For both ways I seem not to be able to suggest the user a certain extension for the filename.
For the normal dialog, I call setFileFilter on the JFileChooser instance.
The filter shows up in the dialog, and is used by default, but when the user types a name and approves, the returned filename does not have the extension added.
Of course I can add the extension programmaticaly, but not when inside the JAWS sandbox.
For the JAWS dialog, I pass an array containing my extension, but it is ignored as if I didn't specify any extensions. The API specs already say that this parameter "might be ignored by the JNLP Client".
So how to tell the user what extension to use?
More people must have encountered this problem.
I'm making an application that saves and opens xml files and exports html files.
I'm using this code to test the behavior:import java.io.ByteArrayInputStream;
import java.io.File;
import javax.jnlp.FileContents;
import javax.jnlp.FileSaveService;
import javax.jnlp.ServiceManager;
import javax.jnlp.UnavailableServiceException;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
public class ChooseFile
static final String[] EXTENSIONS = { "xml" };
static final String DESCRIPTION = "XML files";
public static void main(String[] args)
try {
ServiceManager.lookup("javax.jnlp.FileOpenService");
// we're running with JAWS
System.out.println("JAWS filechooser:");
System.out.println(choose_JAWS());
catch (UnavailableServiceException x)
// we're NOT running with JAWS
System.out.println("normal filechooser:");
System.out.println(choose_normal());
static String choose_normal()
JFileChooser fc = new JFileChooser();
fc.setFileFilter(new CustomFileFilter(EXTENSIONS, DESCRIPTION));
if (JFileChooser.APPROVE_OPTION == fc.showSaveDialog(null))
return "selected " + fc.getSelectedFile().getName();
else
return "cancelled";
static String choose_JAWS()
try {
FileSaveService fos = (FileSaveService)ServiceManager.lookup(
"javax.jnlp.FileSaveService");
ByteArrayInputStream stream = new ByteArrayInputStream(new byte[] {});
FileContents fc = fos.saveFileDialog(null, EXTENSIONS, stream, null);
if (fc != null)
return "selected " + fc.getName();
else
return "cancelled";
} catch (Exception x)
x.printStackTrace();
return "";
class CustomFileFilter extends FileFilter
String[] extensions;
String description;
public CustomFileFilter(String[] extensions, String description)
this.extensions = extensions;
this.description = description;
public boolean accept(File f)
if (f.isDirectory())
return true;
String extension = getExtension(f);
if (extension == null)
return false;
for (int i=extensions.length; i-->0; )
if (extension.equals(extensions))
return true;
return false;
public String getDescription()
return description;
private String getExtension(File f)
String ext = null;
String s = f.getName();
int i = s.lastIndexOf('.');
if (i > 0 && i < s.length() - 1)
ext = s.substring(i+1).toLowerCase();
return ext;
}Any help is greatly appreciated!
Tom Jansen@tjacobs01
Hi Tom,
I have a question regarding your classes
tjacobs.ui.fc.FileExtensionFilter and
tjacobs.ui.fc.FileChooser.
When I look at your code, I see the filename extension is appended in showSaveDialog: public int showSaveDialog(Component c) {
setSelectedFile(new File(f.getAbsolutePath() + "." + ((FileExtensionFilter)filter).getType()));
}It gets the extension by calling getType on the filter. But getType is implemented as: public String getType () {
return mExtensionList.get(0).toString();
}So this returns the first type in the list. It does not check what filetype is selected by the combobox.
Am I missing something?
Also, in getDescription: public String getDescription() {
if (mDesc == null) {
mDesc = "";
for (int i = 0; i < mExtensionList.size(); i++) {
mDesc += (i != 0 ? ", " : "") + "." + mExtensionList.get(0).toString();
mDesc+= " files";
return mDesc;
}you seem to iterate through the list, but only take the first entry every iteration.
Can you explain mExtensionList.get(0)?
Do you know how to test what type is selected in the JFileChooser's combobox? -
Hi,
I’m using the Save File Dialog KO (AW7) and would like
to set a user selectable default directory. I’ve tried
entering a variable set with the appropriate path in the
‘Begin Browsing From - Other’ text box in the KO setup
but this doesn’t seem to work. Is it possible to do this?
Thanks.
ChrisInstead of using the KO, call the function tmsSaveImageFile()
in a calc script. (The KO has already loaded the function for you).
Remember to distribute the u32 with your file, as you would have
had to with the KO anyhow.
-- Ron. -
"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. -
Open Save File Dialog with Default Path
Hi All,
I want to open a "Save File Dialog " with some default path.
Like when user run that script I want to open a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."
I am using
File.SaveDialog(prompt, filter);
but it doesn't open to the location by default that I want to open.
Thanks
Harshlook at this thread to see if it helps
http://forums.adobe.com/thread/1077267?tstart=0 -
How to open a save file dialog box in form
hi
all
I have prob in form desing , i have open the save file dialog box , how to open a save dialog box
and path of the select file to save in disk
help
thxhi
user this query when-button-pressed trigger
:txtfile := GET_FILE_NAME(directory_name =>'d:\ali_raza\backup\', file_filter=> 'DMP Files (*.dmp)|*.dmp|');
Rizwan -
Save File dialog from dll is not appearing to the front of TestStand window
Hi all,
I am calling a C#.net dll from a step in TestStand sequence. A function is called which pops up a Save File dialog. This Save File dialog is appearing only behind other windows. There is an overload for the showDialog function that takes the owner form as argument. My dll doesnot have a form. I would like to know how can I pass the TestStand form as owner to this Save File dialog object.
Thanks in advanceBiju,
You can build create the implement the IWin32Window interface and get the handle of TestStand window. I have created an example you can check out.
Regards,
Song Du
Systems Software
National Instruments R&D
Attachments:
Class1.cs 1 KB -
How to incorporate File name and timestamp automatically into select and save file dialog box?
Hello,
i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
Thanks
Solved!
Go to Solution.You can pass a default file name to the 'File Dialog' Express VI.
Use the 'selected path' output to open the file.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness
Attachments:
FileDialog.vi 21 KB -
Hello ! I'm new with java so dont be to rude plz ;) ...
First, my situation :
I have a jsp that calls a servlet that get data from a database. After that I have to take these data and write them in a .txt file by calling a Save File Dialog. What I've done for now is to put
response.setContentType("application/msword");
response.setHeader("Content-Disposition",
"attachment; filename=\""+fileName+"\"");
in my servlet after created my file.
My problem :
The Save File Dialog shown but if I save the file, it contains the code of my jsp page. I suppose that I have to "bind" the file and the response, but how do I do that ??
Or if you have a better way to do it ...
Thx a lot !Here's some changes ...
I'm now able to get the file with a Save File Dialog, but I also get my jsp code in the top of my page.
Here's my code :
String fileName = "MyData.txt";
File myFile = (File)request.getAttribute("file");
/*cyc.mypackage.DataDefects ddDefects = bConn.getddMyDefects();
cyc.mypackage.Export exp = new cyc.mypackage.Export();
File myFile = exp.createDataFile(ddDefects, fileName);*/
String value = "attachment; filename=\"" + myFile.getName() + "\";" ;
response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition",value);
response.setContentLength((int)myFile.length());
BufferedInputStream fif = new BufferedInputStream(new FileInputStream(myFile.getAbsolutePath()));
int data;
while((data = fif.read()) != -1)
out.write(data);
fif.close();
and the result is :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="./css/Cyclic.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>Infos</title>
</head>
<body>
<form id="fInfos" method="POST" action="./Login.jsp" >
<input type="submit" value="Unconnect" />
</form>
<form id=...>
( ... I dont put all cause the code is too long ...)
</form>
212007778197.9059295654296875-1600
212007779245.207000732421875-1600
212007779927.3587188720703125-1600
212007774641.695709228515625-960
(... rest of my good data)
Does anybody knows how to get rid of the jsp code ?? -
Help! Save File Dialog CRASHES Every Program
Suddenly, I cannot save a file in any program in Mac OS X. As soon as I select "Save..." or hit Ctrl+S, the program crashes. This happens in every program, all of them!
The problem persists across multiple reboots, and even after repairing permissions, verifying the disk, and booting into single-user mode and running fsck (and the disk passed).
Please email me directly at jonmills at email dot unc dot edu if you have any ideas how to fix this. It has rendered my computer unusable, and I may have to completely re-install.to make things clearer a screenshot of the dialog I'm talking about. this happens everywhere such a generic save file dialog appears.
Maybe you are looking for
-
Cant Get it to work for almost like 4 months now.. Help please
Hello there, I bought my new Macbookpro end last year (September) A few days later when i bought the system, i made a partition for bootcamp but dint have the Windows 7 cd yet so i waited. No finnaly when i got the CD. Bootcamp *** keeps saying that
-
Jsf page not rendering in Jdeveloper
Hello. I am using jdeveloper 11.1.2.2. I was working on an application this evening, and added a new jsff page. When I opened the page, I got the "waiting for designer to render" then it stopped, and all I see is white. I am able to add components to
-
We are trying to rent a movie and it keeps prompting us to verify payment info and we have done this
we are trying to rent a movie and it keeps prompting us to verify payment info and we have done this
-
Want to change pic sizes in a pdf slideshow...
Hi, I've been round & round trying to figure a way to make my 4x6 jpeg images that have been downloaded from my camera smaller in a slideshow. Right now they either appear top to bottom with black on the sides when it's a vertical shot, or completely
-
How can I add a 3D-GRAPH in a Report in Labview 5.1?
I want to Create a form with text, Data, Header text and a 3D-Graph. I tryed to create a Report but I dont know how to inculde my 3D-Graph. Please Help. Thanks, PH!L