tag:support.markedapp.com,2011-09-11:/discussions/problems/167830-finder-allow-access-dialog-loop-when-an-opened-file-is-deleted-from-the-file-systemMarked: Discussion 2022-08-02T12:06:40Ztag:support.markedapp.com,2011-09-11:Comment/538790622022-04-17T03:33:58Z2022-05-12T09:13:54ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>// Please enter a detailed description of the issue // Description of the issue: Finder Allow Access dialog loop</p>
<p>// Please enter a list of steps required to reproduce the issue // Steps to reproduce:</p>
<ol>
<li>Open a file in Marked app<br></li>
<li>Delete the file using Finder or from any other app.</li>
</ol>
<p>// If applicable please attach a sample document that causes the issue for you.</p>
<p>// Configuration (do not edit) Marked 2 1027 (Setapp)</p>
<h2><a name="macos-version-12-3-1-" class="anchor" href="#macos-version-12-3-1-"></a>macOS Version: 12.3.1</h2>
<p>additionalMathJaxConfig:<br>
allowPageBreakInCode: YES<br>
bookTxtIsLeanpub: NO<br>
summaryMdIsGitBook: NO<br>
codeIsPoetry: NO<br>
codeCanWrap: YES<br>
collapsibleHeadlines: NO<br>
convertGithubCheckboxes: YES<br>
convertGithubEmoji: YES<br>
convertYAMLToMMD: NO<br>
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML<br>
defaultPreviewStyle: 3<br>
defaultProcessor: Discount (GFM)<br>
enableMiniMap: NO<br>
excludeBlockQuotesFromCounts: NO<br>
excludeFootnotesFromCounts: NO<br>
excludeVerbatimFromCounts: NO<br>
excludeCaptionsFromCounts: NO<br>
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml<br>
githubNewlines: YES<br>
h1IsPageBreak: NO<br>
h2IsPageBreak: NO<br>
hrIsPageBreak: NO<br>
includeMathJax: YES<br>
includeKatex: NO<br>
limitTextWidth: YES<br>
mathNumberEquations: NO<br>
mathNumberEquationsSide: 0<br>
mathNumberEquationsAMSOnly: NO<br>
minimalJavaScript: YES<br>
outlineModeExtensions:<br>
permissionGranted: NO<br>
printHeaderBottomLeft:<br>
printHeaderBottomRight:<br>
printHeaderFirstPage: NO<br>
printFooterFirstPage: NO<br>
printHeaderTopLeft:<br>
printHeaderTopRight:<br>
processHTMLFiles: YES<br>
removeMetadataForPreview: NO<br>
removeYAMLHeaders: NO<br>
scrollToEdit: YES<br>
shouldDetectCritic: YES<br>
shouldHighlightMarkupErrors: YES<br>
shouldLoadCritic: NO<br>
syntaxHighlight: YES<br>
syntaxHighlightOnlyLang: NO<br>
useCustomMarkdownProcessor: NO<br>
customMarkdownProcessor:<br>
useCustomPreprocessor: NO<br>
customPreprocessor:<br>
useFirstH1AsPrintTitle: YES</p></div>sapling.00.yurttag:support.markedapp.com,2011-09-11:Comment/538790622022-04-17T13:33:24Z2022-04-17T13:33:24ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>I’ll look into why this is happening. In the meantime if you need to launch Marked in a way that doesn’t try to open the missing file, open Terminal and enter:</p>
<p>open -F -a Marked.app</p>
<p>And hit return.</p>
<p>Thanks,<br>
Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/538790622022-07-30T13:54:02Z2022-07-30T13:54:06ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>Any update on this one? I delete documents from time to time that I automatically opened in MarkedApp, and when I need to delete this file, I have to go through this loop. You can display a dialog if the file was not found, no need to go into a loop of this accessibility dialogue nonsense. Please.</p></div>sapling.00.yurttag:support.markedapp.com,2011-09-11:Comment/538790622022-07-30T15:14:55Z2022-07-30T15:14:55ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>This does not happen for me locally. When exactly is the loop happening? When you delete a file that was previously open in Marked while it isn't running and then it tries to open previous windows? Or delete it while it's open in Marked? Or something else? I've tried every combination of this and never get this file access loop, though I haven't specifically tested with the Setapp build you're using. Please help me narrow it down.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/538790622022-08-01T02:29:59Z2022-08-01T02:30:01ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>Hi Brett,<br>
I was having trouble responding to the email, so I'll post it here.</p>
<p>Thank you for checking this. I’ve attached a screencap of the issue.</p>
<pre>
<code>In the video,
I will delete a file that is opened in MarkedApp, then an Access dialog will appear, and you will see that I will manually dismiss the dialog and attempt to close the deleted file tab but before I could, the dialog pops back again before I could click on the x. Hope this helps with your investigation.</code>
</pre></div>sapling.00.yurttag:support.markedapp.com,2011-09-11:Comment/538790622022-08-01T17:53:27Z2022-08-01T17:53:27ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>Tested with the Setapp version and attempted to replicate exactly what I saw happening in your video, but I never got a permissions dialog at all. It's baffling that you would be seeing that, as the Setapp version isn't even sandboxed and never needs it.</p>
<p>Out of curiosity, does it go away if you click Allow Access? Or does it keep coming back?</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/538790622022-08-02T03:03:34Z2022-08-02T03:03:38ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><blockquote>
<p>Out of curiosity, does it go away if you click Allow Access? Or does it keep coming back?</p>
</blockquote>
<p>It keeps coming back, the same behavior as the Cancel button. It'd be good if you could try to replicate it on a Setapp version just so we have the closest build/environment.</p>
<p>BTW I found a way to alleviate the issue so it doesn't bother me as much and deleting outdated documents is not something I do frequently. When I need to delete a file, given I have a script that automatically opens every .md I open on another editor into Marked, I need to close the tab in the Marked app in advance before deleting the file.</p></div>sapling.00.yurttag:support.markedapp.com,2011-09-11:Comment/538790622022-08-02T12:06:40Z2022-08-02T12:06:40ZFinder Allow Access dialog loop when an opened file is deleted from the file system<div><p>I did test with the Setapp version. As far as I can tell, my setup is identical. Like I said, there's no sandboxing in that version, so it really shouldn't EVER need to ask your permission (and isn't set up to). It's pretty baffling.</p></div>Brett