Bug 443620 - Custom Pattern doesn't show Current Layer content until switched from and back
Summary: Custom Pattern doesn't show Current Layer content until switched from and back
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: git master (please specify the git hash!)
Platform: Mint (Ubuntu based) Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-12 00:46 UTC by Tiar
Modified: 2024-01-22 12:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiar 2021-10-12 00:46:39 UTC
SUMMARY
The Custom pattern tab doesn't show anything, as if the Current Layer was empty, until the user switches the type and then back to "Current Layer".


STEPS TO REPRODUCE
0. Create a file, the selected/current layer must have some recognizable shape, must not be empty.
1. Open Patterns popup.
2. Switch tab to Custom Pattern.
3. There is nothing visible. Only an empty rectangle.
4. Switch to "Entire Image" and then to "Current Layer"
5. The shape shows up.

OBSERVED RESULT
In 3., there is only something resembling an empty rectangle instead of the shape on the current layer.


EXPECTED RESULT
In 3., there should be the shape visible, and switching from and back shouldn't change how it looks like.

NOTE:
If you then repeat the steps with a new layer and a new shape, in 3. it will look like the old layer/shape until you refresh it. Basically it needs one refreshing when the user opens the popup.


SOFTWARE/OS VERSIONS
Krita

 Version: 5.1.0-prealpha (git 45ea106)
 Languages: en_US, en, en_US, en, en_US, en, pl_PL, pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.11.1
  Version (loaded): 5.11.1
Comment 1 tomtomtomreportingin 2021-10-14 07:03:47 UTC
Assuming this is a bug, what would be the purpose of the "Update" button if it refreshed on opening the popup?
Comment 2 Tiar 2021-10-26 18:18:22 UTC
Yeah, I kinda forgot about it. I don't think the Update button adds anything useful, I mean it confused me, so I guess it could confuse other users as well. But because of that, I'm unassigning myself and changing it to wishlist.
Comment 3 Tiar 2024-01-22 12:48:27 UTC
I think the Update button should just be above the thumbnail (kind of "chronologically") instead of below, and it would already fix most of the issue.