This is a multi-part message in MIME format. --------------040502090008020601030105 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi, I discussed this with sredna an he is in agreement with me to change SelectionMode from KFile::Multi to KFile::Extended. As I use Kde double click mode, I have problems if SelectionMode is set to KFile::Multi, because files remains selected when I click once on them. For example if I select 3 files and double click on one of them the one I double click on is unselected and not opened, but instead the other 2 get opened. Set SelectionMode to KFile::Extended solve the problem, now multi selection can be made with CTRL + LEFT MOUSE and then all files can be opened with RETURN key. I think that I can try to open them also with the mouse, what do you think? The patch is attached. Massimo --------------040502090008020601030105 Content-Type: text/plain; name="filebrowser.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="filebrowser.diff" Index: katefileselector.cpp =================================================================== --- katefileselector.cpp (revisione 634933) +++ katefileselector.cpp (copia locale) @@ -203,7 +203,7 @@ dir = new KDirOperator(KUrl(), this); dir->setView(KFile::/* Simple */Detail); - dir->view()->setSelectionMode(KFile::Multi); + dir->view()->setSelectionMode(KFile::Extended); setStretchFactor(dir, 2); dir->setSizePolicy (QSizePolicy (QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); @@ -297,7 +297,7 @@ KConfigGroup confDirGroup(config, name + ":dir"); dir->readConfig(&confDirGroup); dir->setView( KFile::Default ); - dir->view()->setSelectionMode(KFile::Multi); + dir->view()->setSelectionMode(KFile::Extended); config->setGroup( name ); // set up the toolbar @@ -384,7 +384,7 @@ void ::KateFileSelector::setView(KFile::FileView view) { dir->setView(view); - dir->view()->setSelectionMode(KFile::Multi); + dir->view()->setSelectionMode(KFile::Extended); } //END Public Methods --------------040502090008020601030105 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KTextEditor-Devel mailing list KTextEditor-Devel@kde.org https://mail.kde.org/mailman/listinfo/ktexteditor-devel --------------040502090008020601030105--