1. 29 Jun, 2020 1 commit
    • Yann Holme-Nielsen's avatar
      ## Summary · 86e3b82e
      Yann Holme-Nielsen authored
      * Adds a "Copy location" item, after the "Copy" Context item and Edit Menu, which will attempt to copy the path of the fist item into clipboard.
      
      ## Reasoning
      Most File Managers have this option through one or another way.
      Also using the default Copy option often results in different behaviour depending on the target software, Konsole will take the path. Other Programs will use the URI. Which ultimately could lead to non optimal User Experience.
      
      ## Notes
      * Should the target file **not** be on a local hard drive, this fallback to using the remote URL, feedback is wanted on that matter.
      
      FEATURE: 407004
      86e3b82e
  2. 23 Jun, 2020 2 commits
  3. 22 Jun, 2020 2 commits
  4. 18 Jun, 2020 4 commits
  5. 17 Jun, 2020 4 commits
  6. 16 Jun, 2020 1 commit
  7. 13 Jun, 2020 2 commits
  8. 10 Jun, 2020 1 commit
  9. 09 Jun, 2020 1 commit
    • Gaston Haro's avatar
      Provide ability to configure size cut-off for local file previews · 0f0d14d4
      Gaston Haro authored
      Summary:
      FileWidgets read from kdeglobals the property "MaximumSize" under "PreviewSettings" to decide if a preview will be generated for that file.
      There is no current GUI to change that file size limit. On the other hand Dolphin ignores it.
      
      This patch aims to fix that by adding new configuration options to Dolphin. That is a new spinbox in Dolphin settings under General -> Previews tab.
      
      Test Plan:
      1 - Set up a local folder with 2 jpg images of less and more than 1 MB respectively.
      2 - Go to Dolphin Preferences. General -> Previews and check "JPEG Images" from
          the list. And set "Skip previews for files above:" to 1MB.
      3 - Navigate to the afore mentioned folder. Only the image of size less than 1 MB should
          show a preview.
      
      BUG: 331240
      
      Reviewers: ngraham, #dolphin, meven, elvisangelaccio
      
      Reviewed By: ngraham, #dolphin, meven, elvisangelaccio
      
      Subscribers: cfeck, kfm-devel
      
      Tags: #dolphin
      
      Differential Revision: https://phabricator.kde.org/D28402
      0f0d14d4
  10. 08 Jun, 2020 4 commits
  11. 06 Jun, 2020 1 commit
  12. 03 Jun, 2020 1 commit
  13. 01 Jun, 2020 1 commit
    • Nate Graham's avatar
      Show progress when duplicating items · 70b3f61e
      Nate Graham authored
      For unknown reasons, when I implemented this feature, I turned off
      progress notifications. I don't think this makes any sense, and we just
      got a bug report about it.
      
      Accordingly, this patches turns on progress notifications.
      
      BUG: 422335
      FIXED-IN: 20.04.2
      70b3f61e
  14. 31 May, 2020 3 commits
    • Elvis Angelaccio's avatar
      Fix FIFO usage · c16f777b
      Elvis Angelaccio authored
      `m_propriorityQueue` and `m_queue` are used as FIFO queues, so we need
      to use `takeFirst()` instead of `takeLast()` when removing elements
      from the queue.
      
      While at it, add a comment so that we will remember these are FIFO
      queues.
      c16f777b
    • Ahmad Samir's avatar
      [DolphinStatusBar] Fix free space info height with bigger fonts · 664f97ff
      Ahmad Samir authored
      When the font height is more than the zoom slider height, use the former
      to set the fixed height of the free space widget on the status bar.
      Otherwise the text is cut-off.
      
      This works with Breeze, Oxygen and Fusion styles.
      664f97ff
    • Méven Car's avatar
      Prevents warnings · 770d0831
      Méven Car authored
      Warnings such as :
      kf5.kio.core: Invalid URL: QUrl("")
      
      It happened for instance with recentlyused:/ ioslave
      770d0831
  15. 30 May, 2020 1 commit
  16. 29 May, 2020 1 commit
    • Elvis Angelaccio's avatar
      Port away from deprecated QFontMetrics::width() · b65576a1
      Elvis Angelaccio authored
      While the documention says to port to QFontMetrics::horizontalAdvance(),
      what we actually need is not the horizontal advance, but the width of
      the text. So we need to port to QFontMetrics::boundingRect().width().
      
      Quoting from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/:
      
      "Since it was not clear from the confusingly named function QFontMetrics::width()
      that it actually returned the horizontal advance, instead of the bounding width,
      this method is now obsolete.
      You must port to either QFontMetrics::horizontalAdvance() or QFontMetrics::boundingRect().width().
      
      Please make sure you are aware of the difference, and do not port
      blindly. I am pretty sure that in most cases
      QFontMetrics::boundingRect() is what you want, unless you are writing
      custom text shaping/layouting code. Using the wrong function can cause
      clipped text or text that suddenly wraps to the next line despite
      calculating the width that it needs."
      b65576a1
  17. 28 May, 2020 7 commits
  18. 27 May, 2020 1 commit
  19. 25 May, 2020 1 commit
  20. 24 May, 2020 1 commit