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

Multiple Words Users Folder Support in Windows 10 for Affinity Designer


Recommended Posts

Affinity Designer has a bug recognizing Windows 10 Users folder name if it has two (2) or more words and divided by spaces (i.e. "John Doe" vs. "John"). The software automatically truncates the Users name and divides it into several error prompt windows based on the number of available words. This will be noticeable and can be an issue when using a third-party software like Cartoon Animator 4 Pipeline that can launch a PSD file within to open it in Affinity Designer. With this, the program will not be able to find the correct directory path to the said PSD file and will display error messages.

I've upgraded my Windows 7 Operating System in the past into Windows 10 without formatting my main hard drive and it has retained the name of my Users folder. In the past, I am guessing Windows can also generate two or more words for the Users folder name and only in newer versions of Windows was the automatic generation of multiple-worded Users folder name was removed.

But I hope this issue will be fixed in the next patch to Affinity Designer to avoid confusion to others who will encounter a similar scenario. This will also avoid the hassle of the need to possibly migrate all other installed software to any new User account created in Windows 10 just to have a single-worded Users folder name and make things work for Affinity Designer.

NOTE: I've already reported this to Affinity Tech Support and just posted the info here again in case someone is looking for answer to the same problem. Thanks for the quick action and email reply from Affinity Tech Support.

Link to comment
Share on other sites

Are you sure the issue is with Designer?

If a path name has spaces in it, then often one needs to put quote marks (") around the complete name. I don't know Cartoon Animator, but if you had to configure it to invoke Designer, and if that configuartion involves specifying an argument that includes a path or file name, possibly you forgot to include the required " around the name?

-- 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 never had problems with spaces in filenames in windows 10 - even with Affinity Software, but I once had huge problems with an umlaut (ä, ö, ü) in the name of my User-Folder, that unfortunately exists in my name, because I am german. This is also a problem with domain-names, because many countries don't use umlaut-letters. And that is also the reason why many fonts don't contain umlaut-letters. Could your problem have to do with this?

Link to comment
Share on other sites

5 hours ago, walt.farrell said:

Are you sure the issue is with Designer?

If a path name has spaces in it, then often one needs to put quote marks (") around the complete name. I don't know Cartoon Animator, but if you had to configure it to invoke Designer, and if that configuartion involves specifying an argument that includes a path or file name, possibly you forgot to include the required " around the name?

Based on my initial tests, there is a high chance the issue could be with Affinity DesignerAdobe Photoshop CS + Cartoon Animator 4 Pipeline is working just fine using my current Users folder name which has two words and no other special characters. I also made another test by creating a new User account in Win 10 which generated a single Users folder name. Affinity Designer + Cartoon Animator 4 Pipeline worked in that set up too. 

Here is the cropped image I showed to Affinity Tech Support that helped us determine the possible issue. The two error prompt windows contain the truncated directory path and it got divided in the empty space section of my full username. I've blurred out my Users folder and some other info for privacy reasons. 

 

 

ad_ca4p_test02c.jpg

Link to comment
Share on other sites

4 hours ago, iconoclast said:

I never had problems with spaces in filenames in windows 10 - even with Affinity Software, but I once had huge problems with an umlaut (ä, ö, ü) in the name of my User-Folder, that unfortunately exists in my name, because I am german. This is also a problem with domain-names, because many countries don't use umlaut-letters. And that is also the reason why many fonts don't contain umlaut-letters. Could your problem have to do with this?

I don't use special characters on my full username so that couldn't be it. I am guessing the code in Affinity Designer that handles empty spaces on folder names when a call originated from an external software might have been omitted. I agree with sir walt.farrell that it could just be a simple quotation mark to contain the two words for the Users folder name. But this can only be done in Affinity Designer code because in Cartoon Animator 4 Preferences screen, I can only browse and specify the EXE file of Affinity Designer and there is no way to add any text to modify the full directory path.

Link to comment
Share on other sites

If the file name is passed as a parameter (or as one of many parameters), then the application called in this way has no way to distinguish, what the file name is, when there is a space in the middle - which is interpreted at Windows level and passed as two different parameters. You need to fix this at the calling application level so that you always pass the file name encapsulated in quotation marks.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

15 hours ago, Pšenda said:

If the file name is passed as a parameter (or as one of many parameters), then the application called in this way has no way to distinguish, what the file name is, when there is a space in the middle - which is interpreted at Windows level and passed as two different parameters. You need to fix this at the calling application level so that you always pass the file name encapsulated in quotation marks.

hmm... You might be right. I just made another test using Clip Studio Paint Pro and a similar error happened. I've now contacted  Reallusion tech support to see what they will say about this. There is no error when using a non-CC Adobe Photoshop version though.

Thanks for the tip!

csp-pro_ca4p_test03.jpg

Link to comment
Share on other sites

For test:
I have file with space in Name
image.png.55674a384bc8e5e0bb474ce09380443b.png

Make file shortcuts in File Explorer,
image.png.e3e4250d4c3b8a1554142100f01deb6f.png

and look into Properties:
image.png.a5ce14709b304b81b0609781d95b71e0.png:
 

Windows automatically encapsulates the file name, including its path, in quotation marks to eliminate space dividing issues.
This encapsulation must be performed on the calling application. If it does not do it automatically (the passed / filename parameters are encapsulated), then it would like to try to set it somewhere (as in the specified file shortcuts).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Reallusion Tech Support informed me that this issue will be fixed on a future patch. I have already reset my Windows 10 OS and it automatically generated a single word Users folder name. My main hard drive was also erased so I have to finish reinstalling all the other software I need. But I have already tested Affinity Designer in Cartoon Animator 4 Pipeline and launching a PSD is now working fine! 🙂 

I now have also bought Affinity Designer too since I just can't resist the recent 50% off promo. Thanks for all the help guys! 🙂

Link to comment
Share on other sites

2 hours ago, RendCycle said:

I now have also bought Affinity Designer

I thought you already had it - see your question.
But mainly that the problem is solved 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

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.