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

Recommended Posts

What do you think needs to be fixed?

You tried to rename color "X" to the same name, and it correctly told you that you can't do that. How is the application expected to know that you meant to click Cancel, as opposed to having chosen the wrong color name before clicking OK?

-- 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

  • Staff

Hi Paul Mc,

Walt is correct - it is just informing you that it cannot be renamed because a fill already exists with the same name. Whilst in your instance the message isn't really valid, but in others  it is. For example if you were trying to rename a different colour to use a name of an existing one then you would want to be told that the name already exists.

Link to comment
Share on other sites

Hi @Walt, this isn't an error, yet it appears as a Rename Failure implying an error has occurred. In this instance clicking OK should have been the last of it. Renaming something with the name it currently has should be an acceptable operation. No operating system that I know complains when I rename a file to the same name it already has. I've an idea that the code is checking that you don't rename the colour to one of the other colours already in your document but it didn't eliminate the current colour name from the list for checking. This is an important test but surely should omit the current name from the validation check.

11 minutes ago, walt.farrell said:

What do you think needs to be fixed?

The error message shouldn't be displayed.

11 minutes ago, walt.farrell said:

You tried to rename color "X" to the same name, and it correctly told you that you can't do that.

Correctly? Why can't it be accepted?

Link to comment
Share on other sites

@Sean P Thanks for the reply but please see my reply to Walt. Sorry, but I can't believe this is acceptable. I'm not renaming the colour. It doesn't clash with any other colour names; the state after this operation is exactly the same as the state before it. No error has occurred. The code has been written to include the current colour name in the test for duplication. It should be omitted.

 

Link to comment
Share on other sites

3 minutes ago, Paul Mc said:

Why can't it be accepted?

The same name could be accepted, but the app is correctly telling you that you can’t rename the colour to the same name (just as you can’t change your name to Paul, because it already is Paul). However, I do agree that the error message is spurious, since ‘changing’ the name in this way doesn’t do any harm.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Hey, I'm just trying to help :) 

To me it's an unhelpful message. It causes an interruption of the UI/UX flow requiring a bit of thinking to resolve it. Removing it (IMHO) will improve the UI and user experience. Just sayin'

Link to comment
Share on other sites

9 minutes ago, Paul Mc said:

Correctly? Why can't it be accepted?

Because maybe you're making a mistake.

Consider that you have a color named "X" and you want to rename it to "Y", but mistakenly you type X (or leave it as X). If OK just accepts the name you have, then your intent (to rename X to Y) hasn't happened.

The application cannot tell what you meant to do, other than you wanted to do a rename. And it didn't do the rename, so an error occurred.

-- 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

15 minutes ago, walt.farrell said:

Consider that you have a color named "X" and you want to rename it to "Y", but mistakenly you type X (or leave it as X). If OK just accepts the name you have, then your intent (to rename X to Y) hasn't happened.

Suppose you have a colour named “X” and you want to rename it to “Y” but you mistakenly type “Z”. If ‘OK’ just accepts the name you typed, as it will, then your intent (to rename X to Y) hasn’t happened.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Hi @walt.farrell I understand what you are saying but that only applies if the name is edited and changed. I didn't make a mistake and I intentionally clicked OK expecting (incorrectly) that the name would be committed to the colour swatch and leave it effectively unaltered. There are two pathways, update the name or skip updating the name. The skip pathway should be followed for a Cancel operation; the update pathway should be followed for a Save/OK operation. The update pathway should have ensured, as it did, that I wasn't renaming the colour to a name that was already in use by another swatch. The keyword here is another. If the name was unaltered then the code could have tested for a modified name string and taken the Cancel pathway when there was no change. Clearly it didn't do that but took the full list of existing names, including the colour I'd selected Rename on, and checked against that for a duplicate. It found itself in that list and declared that the name couldn't be saved because there was already one in the list with that name.

Skipping the update path when the name is unaltered is what Windows does with filenames and nearly every other app/OS I've had the opportunity to use. I've made this mistake in code that I've written in the past which is why I reported it here.

Update: I've just tried it on a new file and this message didn't appear. I can't explain what's going on but the message did appear previously as shown above.

Link to comment
Share on other sites

If I try to rename an adjustment preset it lets me use the same name by clicking "OK" without any error message

If I try to rename a studio preset the OK button is greyed out if the same name is used

It's all a little inconsistent at the moment

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

8 hours ago, Mark Ingram said:

I agree with @Paul Mc here, if I click a file in Windows Explorer, hit F2 to rename it, then delete a character, then put a character back (so the filename is the same), it doesn't popup an error telling me that it can't rename the file.

Yep - this is a rudimentary usability scenario: no input data changed in the end whatever the user actually did - no action needs to be taken. Many modern programs make this check when you change content and edit it back (not undoing). There is simply no need to save.

Otherwise:

  • Unnecessary action is taken by program code
  • The unnecessary action taken by program code can lead to confusing scenarios like this one (that is why you never want code to run without a reason, you can't predict everything that can and will happen either)

The terminal and computer as a machine days are over 🙂 The machines work for us now.

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Link to comment
Share on other sites

×
×
  • 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.