[Okular-devel] [okular] [Bug 328658] New: Since okular-4.11 KFileDialog does not use "Recent Dirs"

Eugeny Shkrigunov eshkrig at gmail.com
Wed Dec 11 12:58:21 UTC 2013


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

            Bug ID: 328658
           Summary: Since okular-4.11 KFileDialog does not use "Recent
                    Dirs"
    Classification: Unclassified
           Product: okular
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: eshkrig at gmail.com

Hi!
Sorry for my English.

There is regression in okular-4.11 and newer:
KFileDialog does not use "Recent Dirs" in "Save As" dialog
because of this change:
--- okular-4.10.5/part.cpp      2013-06-28 21:37:20.282808697 +0400
+++ okular-4.11.0/part.cpp      2013-07-23 13:01:24.000000000 +0400
@@ -2026,7 +2059,7 @@
         }
     }

-    KUrl saveUrl = KFileDialog::getSaveUrl( KUrl("kfiledialog:///okular/" +
url().fileName()),
+    KUrl saveUrl = KFileDialog::getSaveUrl( url(),
                                             QString(), widget(), QString(),
                                             KFileDialog::ConfirmOverwrite );
     if ( !saveUrl.isValid() || saveUrl.isEmpty() )

Reverting this change fix the problem.

Reproducible: Always

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


More information about the Okular-devel mailing list