Jump to content
You must now use your email address to sign in [click for more info] ×

Bug: Assets Panel fails to refresh when draggin in assets from Explorer


Recommended Posts

When dragging files from Explorer into the Assets panel, the interface does not refresh until another action is performed that can trigger a UI update, such as reordering subcategories, dragging an element in from a document, deleting an existing asset or similar.

Moreover, the panel can get slow, such as when dragging elements from one subcategory to another (which by the way can get tedious because there is no way to multi-select items) or deleting items. Even just dragging to reorder subcategories can cause a lag of one or more seconds after the mouse is released.

Designer Version 2.4.2 on Windows 10

Link to comment
Share on other sites

1 hour ago, Peter Werner said:

Moreover, the panel can get slow,

That may depend on how many assets you have installed, and how big your assets.propcol file has become. This FAQ will help you locate that file:

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Thank you for your reply!

The assets.propcol file is currently around 124 MB, so not giant considering that it's not uncommon for even just a simple icon pack to be up to 15 MB.

In my case it's 6 smaller asset packs averaging maybe 5 MB each plus two larger ones I put together from an existing library of material, one 10 MB and one about 56 MB. Even without those two, the panel never felt really snappy. It is probably safe to assume that it's common for a heavy user of the Assets feature to be working with a library at least this large, if not significantly larger.

I suspect that something time consuming like rebuilding all thumbnails or moving a lot of data on disk gets triggered every time an operation is performed in the panel.

Link to comment
Share on other sites

2 hours ago, Peter Werner said:

When dragging files from Explorer into the Assets panel, the interface does not refresh until another action is performed that can trigger a UI update

This is an issue that was reported long ago but never seemed to have been fixed.
You can use other functions like; sort by name or the show as list to renew the categories and/or the thumbs after importing or drag/dropping.




 

Link to comment
Share on other sites

  • Staff

Hi @Peter Werner,

We have had reports of this before but I don't think it's something we've been able to replicate here.  I've tried replicating it here on my office laptop with multiple Assets files, all of different sizes and my Assets panel is refreshed each time.

So I can try with the same files you are using, could you upload the assets you are importing to our Dropbox here and I'll see if I can replicate this with your files :) 

Link to comment
Share on other sites

@stokerg Thank you for looking into this!

As far as I can tell, pretty much any SVG or JPEG from any source I tried triggers this bug, so I don't think this is related to the file being dragged into the panel.

I even created an empty new Designer document, drew a rectangle inside it, saved it to the Desktop, closed the document and dragged the file icon of the .afdesign file from the Desktop into a subcategory in the Assets panel. Results are exactly the same.

Let me know if you would still like me to upload a few random files that are known to have triggered the bug (though, again, I haven't found any that don't).

Alternatively, I could send my assets.propcol file if you think that might be the cause.

By the way, contrary to what @Return stated, toggling "Show as List" will not cause the new asset to appear for me. But using the "Sort by …" commands indeed does.

Link to comment
Share on other sites

2 hours ago, Peter Werner said:

and dragged the file icon of the .afdesign file from the Desktop into a subcategory in the Assets panel. Results are exactly the same.

I am surprised that it would allow dragging a .afdesign file into the Assets panel at all.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

I was surprised too, however it works. Also the Assets Panel refreshes as it should.

Affinity Photo 2.4..; Affinity Designer 2.4..; Affinity Publisher 2.4..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD

Link to comment
Share on other sites

On 4/17/2024 at 6:05 PM, walt.farrell said:

I am surprised that it would allow dragging a .afdesign file into the Assets panel at all.

only one page documents are allowed as assets and pdf was also possible but seems restricted now.




 

Link to comment
Share on other sites

@stokerg For me it also doesn't refresh automatically after I drop the file. It is necessary to interact with the panel to force a refresh. I checked using PNGs and SVGs. This happens with every file. So @stokerg it's possible that this is a problem for a larger group of users, but you don't see it in the reports, because perhaps not everyone will report that it also applies to them.

Link to comment
Share on other sites

I did some more experimenting. It turns out that renaming the assets.propcol file in C:\Users\[username]\.affinity\Common\2.0\user and having Designer create a blank one from scratch on next launch does not fix the issue. Therefore it's probably safe to assume that it's not assets.propcol getting corrupted either.

It also seems to be irrelevant whether I drag a file from the Desktop or an Explorer window showing an SMB network location.

Next thing I can think of is system language – my system is running Windows 10 Pro 22H2 with non-English locale.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.