Bug 405310 - Layer renaming after painting
Summary: Layer renaming after painting
Status: RESOLVED DUPLICATE of bug 400357
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 4.1.7
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-10 13:21 UTC by Dmitrii Utkin
Modified: 2019-04-04 12:11 UTC (History)
2 users (show)

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


Attachments
Video example (230.82 KB, video/mp4)
2019-03-11 12:23 UTC, mvowada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrii Utkin 2019-03-10 13:21:53 UTC
When you try to rename a layer immediately after painting, the name of currently editing layer gets replaced with the old one (and text selection lost).

How to reproduce:
1. draw a stroke for a second-two
2. immediately press F2 to rename active layer (or in my general case: insert to create a new layer, then F2 rename it)
3. start typing new layer name - it gets rewritten by an old layer name after a second or two


SOFTWARE/OS VERSIONS
Linux Ubuntu 14.04, 16.04, 18.04. Gnome 3, Unity 8 


ADDITIONAL INFORMATION
This bug persists in any known old versions, latest krita-4.1.7.101-55a1810-x86_64 and in krita-4.2.0-pre-alpha-d2edbba-x86_64 as well.

It's related to, but not quite the same:
https://bugs.kde.org/show_bug.cgi?id=365739




Krita
  Version: 4.1.7.101 (git 55a1810)

Qt
  Version (compiled): 5.10.0
  Version (loaded): 5.10.0

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-43-generic
  Pretty Productname: Ubuntu 18.04.2 LTS
  Product Type: ubuntu
  Product Version: 18.04
Comment 1 mvowada 2019-03-11 12:23:44 UTC
Created attachment 118715 [details]
Video example

Thanks, I can confirm the problem (see video).
It sounds like an effect of Bug 400357.
Comment 2 Halla Rempt 2019-03-11 12:37:58 UTC
I guess you'd need to be faster than I am then to reproduce this.
Comment 3 Dmitrii Utkin 2019-03-11 12:56:38 UTC
On a heavy project with 150-200 layers and some filters, it may come again after 2-3 seconds. 

It's easier to reproduce like this:
1. Create a new project, 4Kx4K texture
2. Add filter layer "Unsharp mask", radius 10
3. Draw single stroke for few seconds (2-3 is pretty enough)
4. Press F2 and try to enter a new layer name without stopping - it gets re-written few times until your stroke is fully rendered.
Comment 4 Halla Rempt 2019-04-04 12:11:22 UTC
Okay, I think that this is the same again as 400357

*** This bug has been marked as a duplicate of bug 400357 ***