Allow multiple and background file opening
ClosedPublic

Authored by sdepiets on Sep 5 2018, 8:10 AM.

Details

Summary

This revision addresses the following feature :
Open multiple files at once from project view
FEATURE: 395119
https://bugs.kde.org/show_bug.cgi?id=395119

Three features added :

  • Opening multiple selected files (Open selected files menu entry)

  • Opening all files in one/many folder(s) (Open selected files menu entry)
  • Open a file in the background (Ctrl+DblClick)

Diff Detail

Repository
R456 Lokalize
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sdepiets requested review of this revision.Sep 5 2018, 8:10 AM
sdepiets created this revision.
sdepiets edited the summary of this revision. (Show Details)Sep 5 2018, 8:15 AM
sdepiets added a project: Localization.
sdepiets updated this revision to Diff 41084.Sep 6 2018, 7:31 AM
  • Merge master
  • Merge branch 'master' into open_multiple_files
huftis added a comment.Sep 6 2018, 7:19 PM

If ‘Hide completed items’ is checked and one right-clicks on a folder and selects ‘Open selected files’, all files in the folder are opened. The expected behaviour would be to open just the incomplete files.

If ‘Hide completed items’ is checked and one right-clicks on a folder and selects ‘Open selected files’, all files in the folder are opened. The expected behaviour would be to open just the incomplete files.

Yes, that was also the case for the other contextual menu items (search in files), selectedItems returned all items regardless of their filtered status.
I've changed the behavior so it only returns visible items.
https://phabricator.kde.org/R456:3216b30d5acec3e833cfefd4b0fe8a15bf6d0d33

sdepiets updated this revision to Diff 41127.Sep 7 2018, 1:50 AM
  • Merge branch 'master' into open_multiple_files
  • Display open selected files menu entry on folder containing a unique item
This revision was not accepted when it landed; it landed in state Needs Review.Sep 7 2018, 1:53 AM
This revision was automatically updated to reflect the committed changes.