Bug 426382

Summary: Getting safe assert when moving elements on timeline
Product: [Applications] krita Reporter: jtmonegro
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: eoinoneill1991, jtmonegro
Priority: NOR    
Version First Reported In: 4.3.0   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jtmonegro 2020-09-10 18:35:56 UTC
SUMMARY:
Whenever I move a frame on the timeline and then click on the next available slot for the frames, I get a safe assert msg that goes as follows:

Krita has encountered an internal error:

SAFE ASSERT (krita): "animInterface->fullClipRange().contains(frame)" in file /root/parts/krita/src/libs/ui/KisPart.cpp, line 483

Please report a bug to developers!

Press Ignore to try to continue.
Press Abort to see developers information (all unsaved data will be lost)


STEPS TO REPRODUCE
1. Create a new project in the animation view
2. After making a frame, move that frame forwards/backwards on the timeline 
3. Click on the next available frame, or try to make a keyframe on it 

OBSERVED RESULT
Safe assert

EXPECTED RESULT
Not a safe assert? I just wanted to move the frames

ADDITIONAL INFORMATION

Terminal Logs:
INFO: requested urls: file: file:///home/lastc file:///home/lastc/Pictures file:///home/lastc/snap/krita/current/.shortcut-links/removable-media file:///home/lastc/snap/krita/current/.shortcut-links/removable-devices file:///mnt
INFO: Old keys: file: file:///home/lastc/snap/krita/55 file:///home/lastc file:///home/lastc/Pictures file:///home/lastc/snap/krita/current/.shortcut-links/removable-media file:///home/lastc/snap/krita/current/.shortcut-links/removable-devices file:///mnt
INFO: success!
Qt: Session management error: None of the authentication protocols specified are supported
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: None of the authentication protocols specified are supported
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: None of the authentication protocols specified are supported
/usr/share/libdrm/amdgpu.ids: No such file or directory
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: None of the authentication protocols specified are supported
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.201\" (uid=1000 pid=22539 comm=\"/snap/krita/60/usr/bin/krita \" label=\"snap.krita.krita (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1586 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.201\" (uid=1000 pid=22539 comm=\"/snap/krita/60/usr/bin/krita \" label=\"snap.krita.krita (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1586 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
QObject::startTimer: Timers cannot have negative intervals
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Comment 1 Eoin O'Neill 2020-09-10 19:51:24 UTC
Hi there,

Could you try using Krita Plus on the website and let me know if this issue still occurs?
Comment 2 jtmonegro 2020-09-10 19:55:18 UTC
(In reply to Eoin O'Neill from comment #1)
> Hi there,
> 
> Could you try using Krita Plus on the website and let me know if this issue
> still occurs?

Do you mean krita-4.4.0-alpha-c00326b-x86_64.appimage? I'm downloading it rn
Comment 3 jtmonegro 2020-09-10 19:58:45 UTC
(In reply to jtmonegro from comment #2)
> (In reply to Eoin O'Neill from comment #1)
> > Hi there,
> > 
> > Could you try using Krita Plus on the website and let me know if this issue
> > still occurs?
> 
> Do you mean krita-4.4.0-alpha-c00326b-x86_64.appimage? I'm downloading it rn

Looks like the issue is gone!, sorry, I should I have tried a nightly build instead. Thanks for the help
Comment 4 Eoin O'Neill 2020-09-10 20:14:25 UTC
Great, good to know.

Yes it was unfortunate that this bug snuck into the last release. Hopefully you are crash free from here!
Comment 5 jtmonegro 2020-09-10 20:17:59 UTC
It's okay, not like it would make me love Krita any less than I do!, And thanks again for your help