REPRODUCIBILITY: 100%
OS VERSION: 5.0.0.68
HARDWARE: XA2+
UI LANGUAGE: French
REGRESSION: I don’t know
DESCRIPTION:
Every time I open the Jolla camera, the hint to “Swipe down to access camera settings” is displayed.
I understand from the file /usr/lib/qt5/qml/com/jolla/camera/capture/CaptureModeHint.qml that this hint is supposed to be displayed only 3 times, based on a dconf key named /sailfish/camera/camera_mode_hint_count.
However, when checking with dconf dump /sailfish/camera/ (output in additional info) it seems this key camera_mode_hint_count never gets created, so the counter never increments and the hint is displayed on every single launch.
Unfortunately I am not familiar enough with QML to understand what prevents this dconf key to be created, but still wanted to report the bug.
PRECONDITIONS:
None
STEPS TO REPRODUCE:
- Open and close the default camera app more than 3 times since starting to use the phone
EXPECTED RESULT:
After the hint “Swipe down to access camera settings” have been displayed 2-3 times, it does not appear anymore.
ACTUAL RESULT:
The hint “Swipe down to access camera settings” appears every time, which ends up being rather annoying when using the camera regularly.
MODIFICATIONS:
Based on these findings, it seems a workaround for this bug would be to create the dconf key with a value higher than 3 (ex: dconf write /sailfish/camera/camera_mode_hint_count 4).
However I am not sure how to remove a dconf key in case it would be useful for troubleshooting that I still don’t have this key created in my dconf.
So I used another workaround to disable the hint, which is to comment line 146 of /usr/lib/qt5/qml/com/jolla/camera/CameraPage.qml (which gives //CameraModeHint { z: 2 }).
ADDITIONAL INFORMATION:
In the output below, we see that the key camera_mode_hint_count was never created even after opening and closing the camera many times.
(Note: we see in this output the key of the other hint displayed by the camera, about swiping to access the gallery, which is named camera_roll_hint_count, this one works properly and is not displayed anymore after the first 3 times.)
[defaultuser@XperiaXA2Plus-DualSIM ~]$ dconf dump /sailfish/camera/
[/]
camera_roll_hint_count=4
[defaultuser@XperiaXA2Plus-DualSIM ~]$
[defaultuser@XperiaXA2Plus-DualSIM ~]$ dconf dump / | grep hint_count | sort
access_contact_card_hint_count=0
camera_roll_hint_count=4
categories_attached_page_hint_count=3
change_month_hint_count=4
close_all_apps_hint_count=2
close_app_hint_count=2
download_upgrade_hint_count=2
incoming_call_hint_count=0
init_call_hint_count=0
menu_hint_count=3
pinned_launcher_hint_count=2
remorse_swipe_hint_count=2
return_to_home_hint_count=2
scientific_calculator_hint_count=1
settings_autosave_hint_count=4
split_view_back_hint_count=0
switch_keyboard_hint_count=2
[defaultuser@XperiaXA2Plus-DualSIM ~]$