Staff Ash Posted June 28, 2023 Staff Share Posted June 28, 2023 Apps: Publisher Platforms: All The find and replace panel in Publisher now includes the ability to limit the scope of the search to document, current spread or page, current story, current selection or current section. Also included is a result count to quickly show the number of instances your search criteria fulfils. Desktop: For iPad the scope option is available from the Cog button next to the search field: aleale1, md_germany, PaoloT and 13 others 11 5 Quote Managing Director Help make our apps better by joining our beta program! MacBook Pro (16-inch, 2021) / Apple M1 Max / 64GB / macOS 12.0.1 iPad Pro 11-inch 3rd Gen / iPadOS 16.2 Link to comment Share on other sites More sharing options...
anto Posted July 3, 2023 Share Posted July 3, 2023 The function seems to not work for me in 2 cases. 1. If you select "Selection" in Scope from the drop-down list, and do not select anything on the page, the function searches anyway. 2. If you select a text frame, the function finds the word in it. But if you click inside the frame and then immediately click the Move Tool button and search again, you won't get any results, even if the frame is still selected. 2023-07-03 17-28-24.mp4 Quote Link to comment Share on other sites More sharing options...
Staff Pauls Posted July 3, 2023 Staff Share Posted July 3, 2023 For point 2 when the frame is selected I would expect the search to work as the selection is the text frame. Clicking inside moves the selection to be inside the text frame and in this case there are no characters selected. Quote Link to comment Share on other sites More sharing options...
MikeTO Posted July 3, 2023 Share Posted July 3, 2023 This is great, thanks! Quote Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
Intuos5 Posted July 4, 2023 Share Posted July 4, 2023 Could this be expanded to Designer, so you get the option to filter for artboards there as well? EpicCleric 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 4, 2023 Share Posted July 4, 2023 4 hours ago, Intuos5 said: Could this be expanded to Designer, so you get the option to filter for artboards there as well? Find and Replace doesn't exist in Designer at all. But it might be nice to include an Artboard option in this new scoping function, along with Spread, for the cases where you're working on a document that has Artboards rather than Spreads. EpicCleric and Oufti 2 Quote -- 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 More sharing options...
MikeTO Posted July 13, 2023 Share Posted July 13, 2023 This enhancement works very well, thanks. It would be nice if Publisher could: change search scope automatically to Selection from Document, Spread, or Story if a range of text is selected, rather than deselecting the range and finding the next result in the document, spread, or story change scope automatically to Document from Selection if no range of text is selected, rather than finding no results Thanks Oufti and Hangman 2 Quote Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
garrettm30 Posted July 26, 2023 Share Posted July 26, 2023 This is a welcome change. One minor point: is there any reason why one can’t select the scope before search parameters are entered? If the search field is empty, and no find by format is select, then the scope drop down is disabled, retaining its previous selection. It just seems arbitrary, because scope, while a very welcome addition, is also a common point of user error where we forget to set it to the correct scope for a given search. So imagine this scenario that sounds like just the kind of thing I would do: Begin a new search. Notice that scope is still left at a previous setting that is not fitting for the current task. Normally I would wish to change it when I notice it, but I cannot do so with an empty search string. So, I start working on the search string. Often it is regex, so my mind is fully occupied in working out the desired regex, maybe even hopping back and forth with some tool such as my beloved regex101.com. My mind has moved away from the question of scope, as I have forgotten to come back and change scope. I run the find (and maybe replace), and the results weren’t what I expected. It is not an end-of-the-world scenario, because often I would notice, fix scope, and run again. Occasionally I might miss it, with consequences showing up only later when my scope was larger than I thought, or things not fixed that I thought I had fixed because the scope was narrower than I intended. The point is that I would like to be able to set scope as soon as it crosses my mind, because I cannot be sure that it will cross my mind again until it is too late. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 26, 2023 Share Posted July 26, 2023 47 minutes ago, garrettm30 said: One minor point: is there any reason why one can’t select the scope before search parameters are entered? If the search field is empty, and no find by format is select, then the scope drop down is disabled, Works OK on Windows. Quote -- 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 More sharing options...
garrettm30 Posted July 26, 2023 Share Posted July 26, 2023 43 minutes ago, walt.farrell said: Works OK on Windows. That’s good to know. Maybe then it is nothing more than a simple bug. This is what I see on Mac: And it is not just the look: indeed the scope cannot be changed in that state. Quote Link to comment Share on other sites More sharing options...
000 Posted July 28, 2023 Share Posted July 28, 2023 I am having issues with find and replace of mor than 9.000 results of "<>" in my document. Publisher stops responding when clicking "replace all". Replacing them one-by-one works, so I'll manually replace a few hundred and try to find out where the line is where it crashes. Bit annoying, though ... 9300 results -> stops responding, needs restart 6800 results -> stops responding, needs restart 5000 results -> stops responding, needs restart 2500 results -> stops responding, needs restart Cutoff point seems to be somewhere about 1.500 results. Quote Link to comment Share on other sites More sharing options...
Hangman Posted July 28, 2023 Share Posted July 28, 2023 Hi @Jens Krebs, I'm not seeing any immediate issue testing with around 85,000 instances of "<>" though I appreciate the instances of "<>" you have will be spread throughout a more complex document. What is the total word count and number of pages for the document in question... Find and Replace.mp4 Quote Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2 Affinity Designer Beta 2.5.0 (2415) | Affinity Photo Beta 2.5.0 (2415) | Affinity Publisher Beta 2.5.0 (2415) Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8 MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse Link to comment Share on other sites More sharing options...
000 Posted July 28, 2023 Share Posted July 28, 2023 It's about 160 pages with about 60 different text styles and about 150 images. The "<>" that needs removing are leftovers from HTML commands that are spread throughout the text. As I haven't had any find-replace issues in the version 2.0 and 2.1 and fewer find-replace commands in 2.2 have worked fine, I'll update the post above as soon as I have found the cutoff point when it stops working. I remember InDesign having something similar a few years ago, find-replace stopped working in texts with more than 10.000 characters and it messed up the ,replace' part by adding the numer "1" to the replaced text after the limit was reached. Fun times. 🙂 Update: Cutoff point seems to be somewhere about 1.500 results. Hangman 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 28, 2023 Share Posted July 28, 2023 1 hour ago, Jens Krebs said: As I haven't had any find-replace issues in the version 2.0 and 2.1 and fewer find-replace commands in 2.2 have worked fine, I'll update the post above as soon as I have found the cutoff point when it stops working. Are you saying this is only an issue in 2.2, and this works fine with your file in 2.0 and 2.1? If so, can you share the file? Quote -- 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 More sharing options...
000 Posted July 28, 2023 Share Posted July 28, 2023 That is what I’m saying, but I cannot share the file. walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted July 30, 2023 Share Posted July 30, 2023 On occasion if I have Story selected for the Scope I will have as a result absolutely everything is found. I noticed this when searching for text that is italicized. I used the Regex (.+) for the search string and Format Italic on. Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | 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...
walt.farrell Posted July 31, 2023 Share Posted July 31, 2023 20 hours ago, Old Bruce said: On occasion if I have Story selected for the Scope I will have as a result absolutely everything is found. I noticed this when searching for text that is italicized. I used the Regex (.+) for the search string and Format Italic on. It reproduces easily for me. Sample document and video attached. Before the video, I created italic words in the expanded Filler Text by selecting some random words and clicking the "I" button in the Context Toolbar. The Document and Spread scopes for the Find work fine, but Story finds the complete text of every paragraph. Recording 2023-07-31 105042.mp4 find-italic-bug.afpub Old Bruce 1 Quote -- 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 More sharing options...
Hangman Posted July 31, 2023 Share Posted July 31, 2023 4 minutes ago, Seneca said: I've just tested your file on MacOSX with the latest Publisher Beta (1903) and I can't reproduce it. Likewise, I see the following on macOS: Walt | Mac Doc - 6 | 18 Spread - 2 | 7 Story - 108 | 18 Selection - n/a | 18 Quote Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2 Affinity Designer Beta 2.5.0 (2415) | Affinity Photo Beta 2.5.0 (2415) | Affinity Publisher Beta 2.5.0 (2415) Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8 MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse Link to comment Share on other sites More sharing options...
Seneca Posted July 31, 2023 Share Posted July 31, 2023 2 minutes ago, Hangman said: Likewise, I see the following on macOS: Apologies for hiding my earlier post @Hangman. I reran the test with the Find Field: (.)+ and then I got the same results as Walt. One might argue that we don't need anything in the Find Field to find all occurrences of italics. It seems that the Find Field trumps any additional specs included in the Format Dialog which might be a bug. Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4 Link to comment Share on other sites More sharing options...
Hangman Posted July 31, 2023 Share Posted July 31, 2023 10 minutes ago, Seneca said: I reran the test with the Find Field: (.)+ and then I got the same results as Walt. Strange, I've tried it with (.+) and (.)+ and I get the same results. i.e., neither of which matches @walt.farrell's 🤔 10 minutes ago, Seneca said: It seems that the Find Field trumps any additional specs included in the Format Dialog which might be a bug. I think this has been raised before though I'm unsure if it's been logged as a bug... Quote Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2 Affinity Designer Beta 2.5.0 (2415) | Affinity Photo Beta 2.5.0 (2415) | Affinity Publisher Beta 2.5.0 (2415) Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8 MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse Link to comment Share on other sites More sharing options...
walt.farrell Posted July 31, 2023 Share Posted July 31, 2023 2 minutes ago, Hangman said: Strange, I've tried it with (.+) and (.)+ and I get the same results. i.e., neither of which match @walt.farrell's 🤔 And @Old Bruce also seems to be on Mac, and got results like I got on Windows. Quote -- 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 More sharing options...
Hangman Posted July 31, 2023 Share Posted July 31, 2023 10 minutes ago, walt.farrell said: And @Old Bruce also seems to be on Mac, and got results like I got on Windows. Curiouser and curiouser thought Alice... A bit of a long shot but I think @Old Bruce is on Big Sur, I'm on Monterey and @Seneca is on Ventura but I'd be amazed if that is a factor... find-italic-bug.mp4 Quote Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2 Affinity Designer Beta 2.5.0 (2415) | Affinity Photo Beta 2.5.0 (2415) | Affinity Publisher Beta 2.5.0 (2415) Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8 MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse Link to comment Share on other sites More sharing options...
MikeTO Posted July 31, 2023 Share Posted July 31, 2023 It might be helpful to sue a simpler test doc. This is what I'm seeing on macOS [edit] when searching for a word in italics [/edit]: For a story with a single frame, choosing Story will find just the result in that frame. For a story with two linked frames, choosing Story will find two copies of each result in that story. For a story with three linked frames, choosing Story will find four copies of each result in that story. story.afpub Screen Recording 2023-07-31 at 11.45.44 AM.mov Quote Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
Hangman Posted July 31, 2023 Share Posted July 31, 2023 Um, that's not what I'm seeing... 🤔 For a story with a single frame, choosing Story will find just the result in that frame. For a story with two linked frames, choosing Story will find one copy of each result in that story. For a story with three linked frames, choosing Story will find one copy of each result in that story. Edit: Ignore this screen recording and the comments above - user error! story_test.mp4 Quote Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2 Affinity Designer Beta 2.5.0 (2415) | Affinity Photo Beta 2.5.0 (2415) | Affinity Publisher Beta 2.5.0 (2415) Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8 MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse Link to comment Share on other sites More sharing options...
MikeTO Posted July 31, 2023 Share Posted July 31, 2023 @Hangman I think you accidentally chose Italic for Replace and not Find Hangman 1 Quote Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro) 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.