Add GUI for the new dndToMove option.
Depends on D27951
Details
Diff Detail
- Repository
- R119 Plasma Desktop
- Branch
- add-dndToMove (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23708 Build 23726: arc lint + arc unit
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
150 | Thanks, but maybe this need another patch. :) |
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
189 | My comment "you can nowadays write !kcm.globalsSettings.isDndToMoveImmutable" was about this line that you moved before seeing my comment I guess. |
LGTM, modulo some small string change requests. Obviously this can't go in until and unless the dependent patch lands. :)
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
206 | Maybe "Hold Shift when dropping to show drop options" | |
kcms/workspaceoptions/workspaceoptions_kdeglobalssettings.kcfg | ||
13 | No reason to be terse here; this should be as descriptive as needed. For example: For local files on the same device, whether dragging and dropping will perform a move operation instead of showing the options menu |
Will popup menu show up if "Move files if on the same device" is selected and files are dragged to another partition on the same device?
If so, "Move files if on the same device" label is not accurate.
Good point. Maybe it needs to say "Move files if on the same partition or device" (yes, "device" is a bit redundant if you're already saying "partition", but "device" is a less technical term).
Right.
@bugseforuns's objection is that you used the word "device" to mean "partition" in the UI.
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
204 | I would make this label non-visible when dndToMoveEnabler.checked is false, rather than changing its text. |
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
204 | If there is a new stuff below this, when you make it visible, the below stuff will jump up. |
kcms/workspaceoptions/package/contents/ui/main.qml | ||
---|---|---|
204 | That already happens with the other labels though. Implementing this behavior here would make it inconsistent with the other ones. If we don't want the UI jumping around, we should change that in another patch to that this one isn't inconsistent with the current state. |