Bug 412365 - Reset Rotation visible on welcome page, clicking causes sefgault
Summary: Reset Rotation visible on welcome page, clicking causes sefgault
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 14:59 UTC by Anna Medonosova
Modified: 2019-09-28 07:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace (26.07 KB, text/plain)
2019-09-26 14:59 UTC, Anna Medonosova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Medonosova 2019-09-26 14:59:51 UTC
Created attachment 122878 [details]
backtrace

SUMMARY

When Krita is started and the welcome page appears, there is a "Reset Rotation" button visible in the bottom left corner of the status bar. If the button is clicked, Krita crashes.

When a file is opened and then closed, the button disappears.

STEPS TO REPRODUCE
1. Start Krita
2. While still on the welcome page, click the 
3. segfault
Comment 1 Ahab Greybeard 2019-09-27 03:35:40 UTC
I can confirm this for the #634 Sep 26 4.3.0-prealpha (git 3330d7e) appimage. It is not present in the previous nightly build.

When I open a file or create a new file, the button stays and is then moved to be to the right of the selection indicator button and it does wwork to reset rotation.
Comment 2 Halla Rempt 2019-09-28 07:44:15 UTC
Git commit 096bf2551da1fbeeceb689d6e8a870e66bf40213 by Boudewijn Rempt.
Committed on 28/09/2019 at 07:43.
Pushed by rempt into branch 'master'.

Hide reset rotation button when there is no image open

M  +5    -1    libs/ui/kis_statusbar.cc

https://invent.kde.org/kde/krita/commit/096bf2551da1fbeeceb689d6e8a870e66bf40213