Summary: | File dialogs print warnings on stdout | ||
---|---|---|---|
Product: | [Unmaintained] kfile | Reporter: | Nikos Chantziaras <realnc> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | anntzer.lee, cfcohen77 |
Priority: | NOR | ||
Version: | 4.10.80 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Fix for warnings
Attached correct .patch |
Description
Nikos Chantziaras
2013-05-24 07:47:36 UTC
Oops, I forgot to mention that in "kdebugdialog", the "Disable all debug output" checkbox is enabled. This problem can be demonstrated easily with "kdialog --getopenfilename ." It occurs in a wide variety of tools including okular, dolphin, gwenview, etc. This behavior is very annoying if you routinely run GUI commands from a shell window. Additionally, it obscures real errors and complicates debugging for problems in which these errors are "normal". Created attachment 84642 [details]
Fix for warnings
This patch fixes the warnings coming from KSambaSharePrivate::testparmParamValue:
It was tested against kde 4.10.5 on slackware 14.1, with samba 4.1.1
The fix works with samba stopped, started as well as when smb.conf is removed
Here, the warning I got on many programs that used the file dialogs was
kdialog(4949) KSambaSharePrivate::testparmParamValue: Running testparm ("-d0", "-s", "--parameter-name", "usershare path")
The fix in the patch is to place the parameterName inside "", so testparm can operate with arguements that contain white space.
Created attachment 84643 [details]
Attached correct .patch
The previous attachment was a .patch inside a .gz archive, sorry for my ignorance (this is my first patch here)
Actually the messages get printed on stderr, but it's still quite annoying. Kindly bumping the issue. Note that the issue regarding samba is still present as of KDE Applications 15.12. Please reopen. Oh, OK. Reopening. Closing. I don't care anymore. |