← Back to team overview

simple-scan-team team mailing list archive

[Bug 897931] [NEW] Detect crashes and link to wiki then

 

Public bug reported:

Another proposal to get more useful behavior in case of problems:

Crashes could be detected and in case of a detected crash, the user
should be offered to be taken to the wiki:

[2] https://help.ubuntu.com/community/ScanningHowTo
[3] https://wiki.ubuntu.com/HardwareSupportComponentsScanners

I think by creating a lockfile on startup, that is deleted on (clean)
exit, checking for a stale lockfile should allow to detect crashes in
the previous run.

Crashes could probably detected with some kind of watchdog, but I think
that would be more complex to get working and more likely to conflict
with apport. Possibly one can directly use apport to display the link,
but apport is not enabled for all users.

Related: Bug #897926 More helpful message if scanner is not detected
Related: Bug #897469 Simple Scan crashes result in preventable data loss
Related: Bug #564357 Run scanner thread in separate process

** Affects: simple-scan
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Simple
Scan Development Team, which is the registrant for Simple Scan.
https://bugs.launchpad.net/bugs/897931

Title:
  Detect crashes and link to wiki then

Status in Simple Scan:
  New

Bug description:
  Another proposal to get more useful behavior in case of problems:

  Crashes could be detected and in case of a detected crash, the user
  should be offered to be taken to the wiki:

  [2] https://help.ubuntu.com/community/ScanningHowTo
  [3] https://wiki.ubuntu.com/HardwareSupportComponentsScanners

  I think by creating a lockfile on startup, that is deleted on (clean)
  exit, checking for a stale lockfile should allow to detect crashes in
  the previous run.

  Crashes could probably detected with some kind of watchdog, but I
  think that would be more complex to get working and more likely to
  conflict with apport. Possibly one can directly use apport to display
  the link, but apport is not enabled for all users.

  Related: Bug #897926 More helpful message if scanner is not detected
  Related: Bug #897469 Simple Scan crashes result in preventable data loss
  Related: Bug #564357 Run scanner thread in separate process

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/897931/+subscriptions


Follow ups

References