Bug 410459 - After copy of a text element in a vector layer, no tool works
Summary: After copy of a text element in a vector layer, no tool works
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (other bugs)
Version First Reported In: 4.2.4
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 410460 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-07-31 15:40 UTC by Alain Pannetier
Modified: 2019-08-03 06:40 UTC (History)
3 users (show)

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


Attachments
Steps to reproduce the pb. (2.55 MB, video/mp4)
2019-07-31 15:40 UTC, Alain Pannetier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Pannetier 2019-07-31 15:40:46 UTC
Created attachment 121863 [details]
Steps to reproduce the pb.

Version 4.2.4 (released today)
SUMMARY
After cut and paste and then edit of a text element in a vector layer, no tool works. You can select tools but no tool works. Strangely enough after closing the text edition dialog, the selected tools is not the text tool but the selection tool.

You can select 

STEPS TO REPRODUCE
1. Open vector layer
2. Create text "stuff"
3. Copy/paste a copy of "stuff"
4. Edit the copy, save and close

OBSERVED RESULT

The selected tools is the selection tool and no tool works

EXPECTED RESULT

The selected tool should still be the text tool and upon selection of a different tool, things should work normally.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux Mint VERSION="19.1 (Tessa)"
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Added a screen cast as attachment.
Comment 1 Alain Pannetier 2019-07-31 15:41:47 UTC
This is actually 4.2.4 (not available from drop down yet)
Comment 2 Tiar 2019-07-31 15:58:33 UTC
I managed to reproduce it (not the first time I tried though) and afterwards I got this log in the commandline (I believe asserts don't show up if I try to do the same steps but don't get the bug):

tymon@tiar ~/Pobrane/stable$ ./krita-4.2.4-x86_64.appimage 
krita.general: Failed to load "paintoppresets/Special_dyna_dots.kpp" from bundle "/tmp/.mount_krita-KkDBrG/usr/share/krita/bundles/Krita_3_Default_Resources.bundle"
QObject::startTimer: Timers cannot have negative intervals
/tmp/.mount_krita-KkDBrG/usr/lib/krita-python-libs/krita added to PYTHONPATH
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579
QOpenGLVertexArrayObject::destroy() failed to restore current contex
Comment 3 Tiar 2019-07-31 16:12:21 UTC
*** Bug 410460 has been marked as a duplicate of this bug. ***
Comment 4 pyro4hell 2019-07-31 21:19:28 UTC
tried with krita-4.2.4-63aa0b3-x86_64.appimage seems to work (can't reproduce the bug anymore)!
Comment 5 wolthera 2019-08-02 10:19:35 UTC
Alain, can you test whether the current 'Krita: Plus' on the download page works? (Or, when 4.2.5 releases, whether that one works?)
Comment 6 Alain Pannetier 2019-08-03 06:39:06 UTC
Thanks guys. Works for me in 4.2.5
Donation on the way.
Shall I change status? Or you guys do it.
Comment 7 Alain Pannetier 2019-08-03 06:40:22 UTC
Marked as resolved fixed.