Package: kontact
Version: 4:22.12.3-1
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

Kontact email composition window "Attach file" should not try to mount 
filesystems that
aren't already mounted and the user does not explicitly try to enter.

Reproduce:

1. Set up an automounted filesystem, e.g. at /mnt/foobar
2. Mount it
3. Add /mnt/foobar to the sidebar either in Places, Recent Locations, or Remote,
   do not enter the directory (or come out of it after so it's not the last one
   you were in while the dialog is open)
4. Close the compose window
5. Umount /mnt/foobar
6. Compose another email and attach a file: /mnt/foobar gets mounted.

I appreciate this is an attempt to be helpful, gathering information about 
known mountpoints,
but the nature of autofs mountpoints is that they are not guaranteed to be 
always available
to be mounted so causing an attempt to mount them without user explicitly 
asking for it is
not good.

This is especially bad when the mountpoint is an NFS mount: kontact will hang 
until autofs
succeeds in mounting it. If the NFS server is never coming back, data loss 
follows as kontact
will never recover from an uninterruptible system call.

This is also highly annoying even when the server is available but /mnt/foobar 
is not yet
mounted: opening the file selection dialog takes as long as it takes for the 
mount to finish,
which is long enough to be annoying.

Kontact needs to be selective in its helpfulness: avoid causing autofs mounts 
to be triggered
if they are not yet mounted unless explicitly requested by the user.

Cheers,
Juha

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kontact depends on:
ii  kdepim-runtime                                           4:22.12.3-2
ii  libc6                                                    2.37-12
ii  libkf5configcore5                                        5.107.0-1
ii  libkf5configgui5                                         5.107.0-1
ii  libkf5configwidgets5                                     5.107.0-2
ii  libkf5coreaddons5                                        5.107.0-1
ii  libkf5crash5                                             5.107.0-1
ii  libkf5grantleetheme5 [libkf5grantleetheme5-22.12]        22.12.3-2+b1
ii  libkf5guiaddons5                                         5.107.0-1
ii  libkf5i18n5                                              5.107.0-1+b1
ii  libkf5jobwidgets5                                        5.107.0-1
ii  libkf5kcmutils5                                          5.107.0-2
ii  libkf5kiogui5                                            5.107.0-1
ii  libkf5kontactinterface5 [libkf5kontactinterface5-22.12]  22.12.3-1
ii  libkf5libkdepim5 [libkf5libkdepim5-22.12]                4:22.12.3-1
ii  libkf5parts5                                             5.107.0-1
ii  libkf5pimcommon5abi2 [libkf5pimcommon5-22.12]            4:22.12.3-1
ii  libkf5service-bin                                        5.107.0-1
ii  libkf5service5                                           5.107.0-1
ii  libkf5widgetsaddons5                                     5.107.0-1
ii  libkf5windowsystem5                                      5.107.0-1
ii  libkf5xmlgui5                                            5.107.0-1+b1
ii  libqt5core5a                                             5.15.10+dfsg-4
ii  libqt5dbus5                                              5.15.10+dfsg-4
ii  libqt5gui5                                               5.15.10+dfsg-4
ii  libqt5webengine5                                         5.15.15+dfsg-2+b1
ii  libqt5webenginecore5                                     5.15.15+dfsg-2+b1
ii  libqt5webenginewidgets5                                  5.15.15+dfsg-2+b1
ii  libqt5widgets5                                           5.15.10+dfsg-4
ii  libstdc++6                                               13.2.0-6

Versions of packages kontact recommends:
ii  accountwizard  4:22.12.3-1
ii  akregator      4:22.12.3-1
ii  kaddressbook   4:22.12.3-1
ii  kmail          4:22.12.3-1
ii  knotes         4:22.12.3-1
ii  korganizer     4:22.12.3-1

Versions of packages kontact suggests:
pn  gnokii  <none>

-- no debconf information

Reply via email to