https://bugs.kde.org/show_bug.cgi?id=292062
Summary: KDirSelectDialog::selectDirectory usage results in an
infinite loop
Product: kde-windows
Version: unspecified
Platform: MS Windows
OS/Version: MS Windows
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=68053)
--> (http://bugs.kde.org/attachment.cgi?id=68053)
Patch to fix Windows specific code, you can see that the condition in the while
loop is pretty weak and can lead to an infinite loop if the result of
'url.upUrl()' is 'url'
Version: unspecified (using KDE 4.7.4)
OS: MS Windows
While investigating BUG 291850 I came across this issue. I've fixed BUG 291850
using a workaround (call KFileDialog::getExistingDirectoryUrl() instead which
opens the native directory selection dialog).
The problem is that KDirSelectDialog::selectDirectory causes an infinite loop
(see the attached patch for the reason).
Reproducible: Always
Steps to Reproduce:
Call KDirSelectDialog::selectDirectory() from an application.
Actual Results:
Infinite loop plus a series of failed assertions.
Expected Results:
Select a directory without problems.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows