Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
Plasma Workspace
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 63
    • Merge Requests 63
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Plasma
  • Plasma Workspace
  • Merge Requests
  • !508

Merged
Opened Dec 08, 2020 by Nate Graham@ngraham🔩Developer

[applets/devicenotifier] Improve actions for removable devices

  • Overview 3
  • Commits 1
  • Changes 1

Right now for removable devices, the default action is either "Mount" or "Unmount" (depending on whether you have automount turned on or off).

For the common case where you want to mount a device and then immediately view its contents in the file manager, this requires a two-step process: mount it, then expand the expandable list item, then click on "Show in File Manager.

This commit changes the "Mount" action to "Mount and Open", collapsing the three-step action into just one.

For people who really do want to just mount a disk without opening it, a "Mount" action that does not also open the file manager is added to the expandable section of the list item.

Additionally, because the "Show in File Manager" action that's already in the expandable section of the list item would be redundant with the one used as the primary action, it is now only shown for mounted devices.

This mirrors a similar proposed change in the Plasma Vault applet: plasma-vault!8 (merged)

Here's how everything looks now:

Unmounted removable device:

Removable_device__unmounted

Mounted removable device:

Removable_device__mounted

Non-removable device:

Non-removable_device

cc @teams/vdg

Assignee
Assign to
Reviewer
Request review from
5.21
Milestone
5.21
Assign milestone
Time tracking
Reference: plasma/plasma-workspace!508
Source branch: improve-disks-devices-default-actions