------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=153676         
Thomas.McGuire gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|kdepim-bugs kde org         |kdelibs-bugs kde org
            Product|kmail                       |kdelibs
            Summary|kmail should select all of  |Parts of the filename not
                   |subject for file name when  |selected because of
                   |saving message              |incorrect extension guessing



------- Additional Comments From Thomas.McGuire gmx net  2007-12-09 14:52 
-------
This seems to be a problem in kdelibs. KMail just calls:

>static KUrl subjectToUrl( const QString &subject ) {
>
>  return KFileDialog::getSaveUrl( KUrl::fromPath( subject.trimmed()
>                                  .replace( QDir::separator(), '_' ) ),
>                                  "*.mbox" );
>}

I don't see anything wrong with that.
So it seems KFileDialog thinks the rest after the dot is the extension, and 
therefore selects everything before the dot.
I think KFileDialog should check if the extension is really a known extension, 
by looking at the mime database and see if the extension is known there.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to