We have moved to a new Sailfish OS Forum. Please start new discussions there.

Using CodeReader triggers on-screen message "Screenshot captured" under SailfishOS 2.1.3 [released]

asked 2017-12-03 00:37:56 +0300

olf gravatar image

updated 2017-12-05 21:39:00 +0300

Dear Sailors,

CodeReader (aka harbour-barcode) has been the only well usable, SailfishOS-native QR- and Barcode-scanning application for years, available from the Jolla Store and OpenRepos.net. Unfortunately, recent changes in SailfishOS prevent the CodeReader version in the Jolla Store (v0.7.11) to work at all.
While an adapted version is available from OpenRepos (v0.7.13), a special on-screen message "Screenshot captured" is emitted by SailfishOS 2.1.3, which irritates users (as no "real" screenshot is taken from the users' perspective).

In contrast to that, taking a "real" screenshot by pressing the "volume up" and "volume down" buttons at the same time does not make SailfishOS emit the on-screen message, but displays a proper on-screen notification (i.e. "notification preview")!?!
Although using the third party, SailfishOS-native tools Screenshot or ScreenTapShot2 (both available in the Jolla Store) makes SailfishOS emit exactly the same on-screen message as CodeReader does, which makes sense when using these screenshot tools.

Steffen Förster, the author of sailfish-barcode aka CodeReader, describes this issue as follows:

With release 0.7.13 the code recognition works under SailfishOS, but I am not satisfied with the result. My app uses the creation of screenshots to analyze individual images from the camera's viewfinder. Under, however, a notification is now displayed for each screenshot created. Since the notifications are stored on a stack, they are still displayed after the scan is finished or even after the application has been closed. This gives the impression that the application creates additional screenshots even after exiting, but this is not the case.

With the QVideoProbe class, Qt offers an elegant way to read individual frames from the camera. Unfortunately, the implementation under SailfishOS does not accept an object of the class QCamera.

I have decided to withdraw my application from the Jolla Store as long as there is no clean solution to the problem. Under https://openrepos.net/content/steffenf/codereader the application remains available.

Contributions are welcome, see https://github.com/steffen-foerster/sailfish-barcode/issues/37

Is there a chance to make the Qt-classes QCamera / QVideoProbe accessible and working for SailfishOS applications?
Or simply make SailfishOS not emitting the "Screenshot captured" message (i.e. returning to the state before SailfishOS 2.1.3)?

I am asking for this, because I perceive a well working QR- and Barcode-scanning app as crucial for SailfishOS. And CodeReader provided this basic functionality nicely for years.

A (real) screenshot to illustrate this issue: Message "Screenshot captured", when using CodeReader 0.7.13

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by olf
close date 2018-04-18 21:40:34.999548


Now the CodeReader app should be hidden from the Jolla Store.

steffen ( 2017-12-04 23:27:54 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-04-18 21:40:10 +0300

olf gravatar image

This issue is fixed with CodeReader 1.0.0, available at the Jolla Store.

edit flag offensive delete publish link more

Question tools



Asked: 2017-12-03 00:37:56 +0300

Seen: 567 times

Last updated: Apr 18 '18