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

Publisher files sometimes showing with Designer icon


Recommended Posts

Why do .afpub files sometimes show with the Publisher red and orange icon, and sometimes with the Designer blue icon.

When it does occur, the icons seem to change back to the correct ones after a reboot.
I haven't yet found a recipe that consistently produces this yet, but wondered if anyone else is experiencing it.

Intel i7-10700 Gen10 CPU, 32GB RAM, Geforce GTX 1660 OC 6GB
Windows 10 Pro 22H2, 1x 1TB M.2 NVMe, 1 x 2TB M.2 NVMe. Affinity APh, APu, ADe

Link to comment
Share on other sites

If it switches back after a reboot then it's probably an issue with the way Windows manages its icon cache.

More commonly in my experience, it does not switch back after a reboot. That one is a manifestation of Windows displaying the icon of the last program that registered as being able to Open that type of 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

9 minutes ago, Catshill said:

What determines which app opens a particular filetype if it is not the suffix?

In Windows, the user can set this. Even stupid/broken things are possible, i. e. assigning .af* files to open in Word. Also, apps can do this ("polite" ones ask the user for permission before assigning any file type to their app permanently). But changing the application icon back and forth like the OP mentioned, shouldn't happen.

»A designer's job is to improve the general quality of life. In fact, it's the only reason for our existence.«
Paul Rand (1914-1996)

Link to comment
Share on other sites

23 hours ago, Andy05 said:

In Windows, the user can set this. Even stupid/broken things are possible, i. e. assigning .af* files to open in Word. Also, apps can do this ("polite" ones ask the user for permission before assigning any file type to their app permanently). But changing the application icon back and forth like the OP mentioned, shouldn't happen.

Yes indeed but my question relates to the determining factor if it isn’t the file suffix.

Link to comment
Share on other sites

17 minutes ago, Catshill said:

Yes indeed but my question relates to the determining factor if it isn’t the file suffix.

In that case, some pop-up should appear, asking for an application to open the file with. Starting with a list of "commonly known/used apps" and a link at the bottom which will allow you to search for an app manually.

»A designer's job is to improve the general quality of life. In fact, it's the only reason for our existence.«
Paul Rand (1914-1996)

Link to comment
Share on other sites

5 hours ago, Catshill said:

Yes indeed but my question relates to the determining factor if it isn’t the file suffix.

The filetype is the determine factor, however:

  • The OS can only associate one program with a filetype.
  • Sometimes (e.g., Windows) it seems to the bhe last program that registered its ability to Open that kind of file.
  • And other times (also Windows), the OS becomes confused in its icon management, and shows the wrong icon for that filetype.

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

17 hours ago, walt.farrell said:

The filetype is the determine factor, however:

  • The OS can only associate one program with a filetype.
  • Sometimes (e.g., Windows) it seems to the bhe last program that registered its ability to Open that kind of file.
  • And other times (also Windows), the OS becomes confused in its icon management, and shows the wrong icon for that filetype.

I have come across a situation when an Affinity Photo file type would open in Publisher but others files with the same filetype and on the same pc would open as expected in Photo. If the filetype is the same then some other aspect must be determining the resulting Windows action. Perhaps the first few bytes of code within the file?

Link to comment
Share on other sites

11 hours ago, Catshill said:

Perhaps the first few bytes of code within the file?

From some quick checks using BBEdit on a Mac, all the Affinity native file format document files start with the same byte sequence.

I do not know how it works on Windows but on Macs it is possible to set the app a double-clicked document will open with individually as well as globally, so for example I could set a specific *.afphoto document to open in AD or APub if I wanted to.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

42 minutes ago, R C-R said:

I do not know how it works on Windows but on Macs it is possible to set the app a double-clicked document will open with individually as well as globally, so for example I could set a specific *.afphoto document to open in AD or APub if I wanted to.

As far as I know, that capability does not exist in Windows. All files of the same filetype (extension) should open in the same application, unless the user Opens them from within an application, or chooses "Open with" from File Explorer.

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

1 hour ago, walt.farrell said:

As far as I know, that capability does not exist in Windows. All files of the same filetype (extension) should open in the same application, unless the user Opens them from within an application, or chooses "Open with" from File Explorer.

On Macs, the Finder 'Get Info' window has an "Open with" section that allows the user to change the app to open a document, but unless the "Change All" button option is used, it only applies to that document.

This is separate from the Finder right-click "Open with" option, which does not permanently change the app associated with that file.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

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.