"Raise window on update" does not work with tabbed windows
// Please enter a detailed description of the issue // Description of the issue: The “Raise window on update” feature does not work when you are using multiple documents with merged windows. After a document is updated, Marked does not get raised as expected, leaving it behind other windows and not visible. If it doesn't need to be raised to be visible, you can also see that the active tab has not changed to show the recently updated document.
// Please enter a list of steps required to reproduce the issue // Steps to reproduce:
- Check “Raise window on update” in settings
- Open multiple documents in Marked
- Select Window->Merge All Windows, to move the separate windows to tabs within the same window.
- Put some other window over top of Marked (such as Safari)
- Edit one of the documents that is opened (active tab or not)
- Save the edited document
- Expected: Marked is raised above Safari, with the active tab showing the recently updated/saved document
Actual: Marked did not raise above Safari (and if visible - not needing to be raised - the active tab does not change)
Note: If you do the above steps (other than step 3, so do not merge the windows), then the Marked window with the updated/saved document is raised as expected. The problem only comes into play with merged windows.
// If applicable please attach a sample document that causes the issue for you.
// Configuration (do not edit) Marked 2 1014 (Direct)
macOS Version: 10.15.7
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Brett on 08 Feb, 2021 06:14 PM
Marked's code predates macOS tabs and it was unfortunately never built
as a tabbed application. It's compatible with the operating system's
implementation, but none of its internal windowing functionality can be
expected to work when they're being used.
As an alternative, did you know you can open a folder in a Marked
preview and have it automatically show the most recently-modified file
in that folder? A folder window can raise as expected.
2 Posted by Darrell Benning... on 08 Feb, 2021 06:28 PM
I did not know that, and that perfectly covers my use case! Thanks a ton!