Bug 434206

Summary: It is impossible to rename a group layer in the layer docker
Product: [Applications] krita Reporter: Jan <kde>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ahab.greybeard, halla, tusooa
Priority: NOR    
Version First Reported In: 4.4.2   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan 2021-03-09 19:14:26 UTC
SUMMARY

It is impossible to rename a group layer in the layer docker. It is however possible to rename it in the layer properties dialogue.

STEPS TO REPRODUCE
1. Create a group layer
2. Double-click the name in the layer docker
3. The name becomes editable. Change the name to something else
4. Press Enter

OBSERVED RESULT
The name has not changed.

EXPECTED RESULT
The name should have changed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE 5.21
Comment 1 Halla Rempt 2021-03-09 19:20:22 UTC
Are you using a distribution package, or the appimage? If the former, please test with the appimage.
Comment 2 tusooa 2021-03-09 19:53:56 UTC
Can't reproduce. Consider whether you are really using Enter or Return.
Comment 3 Jan 2021-03-10 01:29:41 UTC
(In reply to Tusooa Zhu from comment #2)
> Can't reproduce. Consider whether you are really using Enter or Return.

It works as expected with the numpad's enter key, but doesn't with the main keyboard's enter key. Whether one of them is actually a return key, I cannot say, the both say 'enter'.
Comment 4 Jan 2021-03-10 01:30:04 UTC
(In reply to Halla Rempt from comment #1)
> Are you using a distribution package, or the appimage? If the former, please
> test with the appimage.

I am using the appimage.
Comment 5 tusooa 2021-03-10 01:53:32 UTC
(In reply to Jan from comment #3)
> (In reply to Tusooa Zhu from comment #2)
> > Can't reproduce. Consider whether you are really using Enter or Return.
> 
> It works as expected with the numpad's enter key, but doesn't with the main
> keyboard's enter key. Whether one of them is actually a return key, I cannot
> say, the both say 'enter'.

Then it is highly possible it is a bug. However, I do not have a device with a numpad, so guess no luck for me.

As Halla's question is already answered above, changing this back to Reported.
Comment 6 Ahab Greybeard 2021-03-10 04:12:29 UTC
With the 4.4.2 appimage on Debian 10:

My keyboard has a numpad and renaming a group layer works with the numpad 'Enter' key and the main typing area 'Enter'key.

According to the keyboard shortcuts configuration facility, the typing area 'Enter' key is recognised as "Return" and the numpad 'Enter' key is recognised as "Enter".
Comment 7 Jan 2021-03-10 11:34:55 UTC
And just as this error has appeared, it has vanished. Now I can rename group layers just fine. Weird.
Comment 8 Halla Rempt 2021-03-10 11:35:49 UTC
Let's close then :-)