Move mount/unmount interaction and handling to Cinnamon#13145
Move mount/unmount interaction and handling to Cinnamon#13145
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Moving its responsibilities to cinnamon, this will only be needed during 'fallback' mode for now. ref: linuxmint/cinnamon#13145.
e120319 to
eb4258a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
fires from logind/ck.
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 3 potential issue(s):
|
Moving its responsibilities to cinnamon, this will only be needed during 'fallback' mode for now. ref: linuxmint/cinnamon#13145.
Implement mount/unmount/autorun user interaction in Cinnamon.
Certain aspects of GtkMountOperation are broken under Wayland in
Gtk3 and won't be fixed. Fortunately it can also use a dbus
interface (org.gtk.MountOperationHandler) if a provider exists.
This allows us to:
application is using it, when trying to eject a device.
require interaction before mounting.
and make the behavior identical when interacting with a device
whether from a file manager or Cinnamon's drives applet.
Translations are provided by Gtk, Gvfs instead (as when
ejecting a device from a file manager).
via looking-glass).
Also replace mount-detection handling in cinnamon-settings-daemon.
It was originally part of Cinnamon but mostly removed early on
when Cinnamon was forked, and we've relied on csd-automount.
With the implementation of CinnamonMountOperation for handling
unmount operations, we can bring in the autorun dialog as well.
cinnamon-launcher in those situations (nm-applet, polkit agents
are already handled here also).
disables autostarting csd-automount at session startup.
via looking-glass).