Mike Lewis Posted April 20, 2021 Share Posted April 20, 2021 (edited) MacOS 10.10.5 Affinity Publisher 1.9.3 Lots of people learned to put two spaces after the period of a sentence. My boss takes this to an extreme and sometimes puts 3, 4, even as many as 6 spaces between his sentences. (Must be a visual thing for him or something.) He doesn't care because he knows everything goes through me first to have it edited, corrected, and typeset for finished documents. First thing I do with my boss' documents is search and replace all double spaces to single spaces (and I run the search several times until no more double spaces are found.) So I'm trying to get my workflow more into Affinity Publisher and out of Adobe InDesign, and this is the first time I've tried this, so I don't know if it used to work in earlier versions of Publisher, or has never worked. I open the Find & Replace studio, and when I go to type two spaces in the Find field, the application crashes when I type the second space. Initially happened on my existing document. Tried it also on a brand new document (after making a single text box and filling it with filler text), and the same result happened. I just tried again by searching for something other than double spaces, and it appears to crash consistently whenever any second character is typed. This is with the default Find & Replace settings. Very consistent on my particular setup. Edit: Typing more than one character in the Replace field also has the same effect. Edited April 20, 2021 by Mike Lewis Added one detail about the Replace field. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted April 20, 2021 Share Posted April 20, 2021 I can't help with the crash, other than to say it doesn't happen for me on Windows. But your process is inefficient in requiring multiple passes with Find/Replace, and if you improve the efficiency you may be able to avoid the crash. Rather than repeated Find operations, you can do it with one operation: First, make sure that Find/Replace is operating in Regular Expression mode (click the Formatting cog in the Find field, and select Regular Expression). Then Find (without the quotes) " +" and Replace with (without the quotes) " ". That will catch all the cases of multiple spaces at once. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7 Link to comment Share on other sites More sharing options...
Old Bruce Posted April 20, 2021 Share Posted April 20, 2021 7 minutes ago, walt.farrell said: I can't help with the crash, other than to say it doesn't happen for me on Windows. But your process is inefficient in requiring multiple passes with Find/Replace, and if you improve the efficiency you may be able to avoid the crash. Rather than repeated Find operations, you can do it with one operation: First, make sure that Find/Replace is operating in Regular Expression mode (click the Formatting cog in the Find field, and select Regular Expression). Then Find (without the quotes) " +" and Replace with (without the quotes) " ". That will catch all the cases of multiple spaces at once. Remembering to have the replace field be one single space. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
Mike Lewis Posted April 20, 2021 Author Share Posted April 20, 2021 37 minutes ago, walt.farrell said: I can't help with the crash, other than to say it doesn't happen for me on Windows. But your process is inefficient in requiring multiple passes with Find/Replace, and if you improve the efficiency you may be able to avoid the crash. Rather than repeated Find operations, you can do it with one operation: First, make sure that Find/Replace is operating in Regular Expression mode (click the Formatting cog in the Find field, and select Regular Expression). Then Find (without the quotes) " +" and Replace with (without the quotes) " ". That will catch all the cases of multiple spaces at once. I concede that using regular expressions would be much more efficient. Either way, unless this bug is fixed, I'll only be able to search and/or replace single characters. Not sure how useful that is. - Mike Quote Link to comment Share on other sites More sharing options...
loukash Posted April 20, 2021 Share Posted April 20, 2021 3 hours ago, Mike Lewis said: it appears to crash consistently whenever any second character is typed Works for me on El Capitan. I don't have any Yosemite partition to test, but it could be a Yosemite specific bug. 1 hour ago, Mike Lewis said: using regular expressions would be much more efficient Find: (\s)\s+ Replace: $1 Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
nwhit Posted April 21, 2021 Share Posted April 21, 2021 Also doesn't happen for me on Catalina in APub 1.9.2.1024 beta. F&R works fine. Quote -------------------- New: 2023 Mac Studio M2 MAX 12-Core CPU/38-Core GPU 64GB Memory • 5k Studio Display • Sonoma Prev: 2020 iMac 27 i7 (5k Rez), 72GB, AMD Radeon Pro 5700XT 16GB • Sonoma MacBook Pro, 13", M1 2020 • 16 GB • macOS Sonoma iPad Air 2022 Link to comment Share on other sites More sharing options...
Staff Pauls Posted April 21, 2021 Staff Share Posted April 21, 2021 this is a Yosemite specific bug which is logged with us Mike Lewis 1 Quote Link to comment Share on other sites More sharing options...
Spencer Posted April 28, 2021 Share Posted April 28, 2021 I have the same problem (OS 10.10) and switched back to Publisher Version 1.9.1 „Find&Replace“ works fine with 1.9.1! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.