Bug 410955 - Undo of vector selection destroys the previous selection
Summary: Undo of vector selection destroys the previous selection
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 19:23 UTC by Tiar
Modified: 2020-06-02 09:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiar 2019-08-15 19:23:47 UTC
SUMMARY
If you make a vector selection, then another one and then undo the second one (so the first one appears), the selection is broken: the outline is correct, but the global selection mask and the reality (aka fill tool) shows that only the part of the image that was selected by *both* selections (that was in the intersection on both the undone and the previous selection) is actually selected now.

Tool options: vector, 'replace'.

STEPS TO REPRODUCE
1. Create one rectangular selection.
2. Create another one that intersects with the previous one.
3. Undo.
4. Use Fill Tool to fill the selection.

OBSERVED RESULT
Fill Tool only fills the intersection of selections from 1. and 2.

EXPECTED RESULT
Fill Tool fills the entire selection.

ADDITIONAL INFORMATION
It works for pixel selection.



SOFTWARE/OS VERSIONS
Krita

 Version: 4.3.0-prealpha (git 47a57162)
 Languages: en_US
 Hidpi: true

Qt

  Version (compiled): 5.12.2
  Version (loaded): 5.12.2

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-45-generic
  Pretty Productname: Linux Mint 19.1
  Product Type: linuxmint
  Product Version: 19.1


Hardware Information

  GPU Acceleration: none
  Memory: 7771 Mb
  Number of Cores: 4
  Swap Location: /tmp
Comment 1 tusooa 2019-08-15 19:45:09 UTC
Can confirm this on master.

Vector selection: any selection tool->Tool Options->Mode->second icon
Comment 2 Tiar 2019-08-15 19:57:58 UTC
Looks like it was already broken in 3.3.3...
Comment 3 Dmitry Kazakov 2020-06-02 09:26:51 UTC
Hi, Tymond!

Could you please check current master, if the bug has been fixed? I guess it should be fixed now after commit a87dced5f88f26e282dfc86d18a3c32ecf68fa96.