1. 17 Nov, 2020 1 commit
    • Sharaf Zaman's avatar
      Android: don't set nameFilters when exporting · 046fbdce
      Sharaf Zaman authored
      Android docs suggest two ways to pass mime info to the Storage Framework
      1. Intent#setType() -- when mimetype belongs to some specific category e.g image/*
      2. Intent#EXTRA_MIME_TYPES -- for disjoint ones.
      
      But Qt always uses the first mimetype in the list as setType, which for certain
      concrete mimeTypes (like image/jpeg), defaults the extension to .jpg which
      we/user can't change.
      
      BUG:429056
      (cherry picked from commit 7f211e12)
      046fbdce
  2. 10 Nov, 2020 1 commit
  3. 26 Sep, 2020 1 commit
  4. 25 Sep, 2020 1 commit
  5. 11 Nov, 2019 1 commit
    • Ivan Yossi's avatar
      Fix native dialog save/open on macos 10.15 · e27ab3a7
      Ivan Yossi authored
      If native FileDialog is set as "modal" the dialog exec
      method will always return "0".
      
      Is we are in macOS and Native FileDialog is set we
      avoid setting the dialog as Modal as native FileDialog
      in macOS always behave as a Modal Dialog
      
      BUG:413241
      e27ab3a7
  6. 09 Nov, 2019 1 commit
  7. 07 Nov, 2019 1 commit
  8. 06 Nov, 2019 1 commit
  9. 30 Oct, 2019 1 commit
    • Agata Cacko's avatar
      Make sure non-native file dialogs show extensions · 5bc7a40b
      Agata Cacko authored
      Since the fix in the file dialog that was implemented
      is based on extensions mentioned in the filter,
      the filter needs to show the extensions...
      It's a bit of an unwanted dependency between view and logic,
      so it would be good to find a way to implement it wiser.
      
      BUG:412651
      5bc7a40b
  10. 13 Jul, 2019 1 commit
    • Halla Rempt's avatar
      Use QFileInfo::completeBaseName instead of baseName · 14adaa3b
      Halla Rempt authored
      This makes it possible for users to use dots in their filenames.
      Not that that is a good idea, everything after the first dot is
      technically an extensions, as in bla.tar.gz, but Krita doesn't
      handle any file formats where that actually happens, so we can
      be a bit less technically correct when handling filenames and
      only check the extension after the last dot.
      
      BUG:409765
      14adaa3b
  11. 19 Apr, 2019 1 commit
  12. 20 Aug, 2018 1 commit
  13. 31 Jan, 2018 1 commit
  14. 24 Jan, 2018 1 commit
  15. 22 Jan, 2018 1 commit
  16. 17 Jan, 2018 1 commit
  17. 24 Nov, 2017 1 commit
  18. 25 Sep, 2017 1 commit
    • Halla Rempt's avatar
      Don't remove *. from the suffixes returned by KoMimeDatabase · 1e98cd59
      Halla Rempt authored
      Following commit
      
      commit bdb2e7fc
      Author: Dmitry Kazakov <dimula73@gmail.com>
      Date:   Fri Sep 22 21:39:56 2017 +0300
      
          KisMimeDatabase should contain suffixes without '*.' prefix
      
      This code should be adapted as well. The problem is that the file
      dialogs need *.suffix to filter the files, and return that as the
      chosen filter as well. QFileDialog until Qt 5.9 didn't have
      a QString QFileDialog::selectedMimeTypeFilter() const method...
      
      If we make 5.9 our minimum version, we can rewrite KoFileDialog to
      be logical and consistent.
      1e98cd59
  19. 12 Jul, 2017 1 commit
  20. 09 Jul, 2017 1 commit
  21. 07 Jul, 2017 1 commit
  22. 09 Jun, 2017 1 commit
  23. 30 Jan, 2017 1 commit
  24. 25 Jan, 2017 1 commit
  25. 24 Jan, 2017 1 commit
  26. 22 Dec, 2016 2 commits
  27. 20 Dec, 2016 1 commit
  28. 07 Dec, 2016 1 commit
  29. 19 Nov, 2016 1 commit
  30. 17 Nov, 2016 1 commit
  31. 30 Jun, 2016 1 commit
  32. 07 Jun, 2016 1 commit
  33. 24 May, 2016 1 commit
  34. 20 May, 2016 3 commits
  35. 14 May, 2016 1 commit
  36. 02 May, 2016 1 commit
  37. 14 Apr, 2016 1 commit
    • Halla Rempt's avatar
      Only add upper-case extensions on Gnome · be622b03
      Halla Rempt authored
      The GTK file dialog is stupid: if you add a filter for *.jpg,
      it won't show *.JPG, because, case-sensitive file system. Qt's
      ad KDE's file dialog do show them, so only add the upper-case
      filters when the user is running in Gnome.
      
      Fixes T2163
      be622b03