Summary: | When invoked with multiple arguments, do not open windows for directories | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Wolfram R. Sieber <Wolfram.R.Sieber> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 0.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Wolfram R. Sieber
2006-04-01 18:30:42 UTC
I'd suggest to open a file dialog when just a directory name is given. Not a bug. You told it to open the directory in a text editor. kedit fileA fileB will open two windows kedit * will open as many windows as there are entries in the current directory, including for sub-directories. It was not meant to be run that way. I see the point. As far as I understand your reply, kedit gets invoked by a shell command, which implicitely expands the '*'. So, nice, that it is not a bug, but in the end at least it is annoying. Would be nice, if a workaround for that could be applied by default. At least, kedit shouldn't try to open a folder, should it? Then it would be nice, if kedit would be as smart enough as to not attempt to open a folder, i.e. not to open an empty window to *then* recognize, "oops, that was a folder, which I cannot display". These empty windows are a complete waste of desktop estate. I agree. But I am reassigning to kwrite, which has a similar problem. kedit has been deprecated for years. > deprecated for years
Uh -- didn't know. It was just part of the Debian kde package, so I installed it in addition to kwrite and kate.
SVN commit 741889 by tfry: When the url argument was an obvious mistake or shell expansion gone wrong, do not open a text editor window. Just display a message and quit. BUG: 124708 CCBUG: 124708 M +4 -3 kwritemain.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=741889 Oh, I had meant to close this with the above commit message, but did not yet have permission do use that sort of magic, then. Anyway, this should now be fixed. Closing. |