[kompare] [Bug 362440] can not choose files to compare

Wolfgang Bauer via KDE Bugzilla bugzilla_noreply at kde.org
Wed May 25 18:15:23 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=362440

Wolfgang Bauer <wbauer at tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbauer at tmo.at

--- Comment #2 from Wolfgang Bauer <wbauer at tmo.at> ---
Created attachment 99190
  --> https://bugs.kde.org/attachment.cgi?id=99190&action=edit
Patch to allow selecting files

It's the same problem as in bug#351782.

Making the same change in slotFileCompareFiles() and slotFileBlendURLAndDiff()
(in kompare_shell.cpp) would "fix" it (see attached patch), but then you can't
open/compare directories any more.

Also, IMHO kompare does nothing wrong. It does set the options to allow
selecting files *and* folders, somehow this results in files not being
displayed.
For me it seems to be a bug in the file dialog/KUrlRequester. Maybe this is not
supported any more, KUrlRequester uses QFileDialog in KF5, while it used
KFileDialog in KDE4... QFileDialog apparently just does not allow to select
files and directories at the same time.

Maybe an acceptable fix would be to offer two buttons in the "Compare Files"
dialog, one to choose a file and one to choose a directory?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list