When I open a Markdown file into Lettera from the Finder, the Show/Hide Sidebar menu item is grayed out, nor is the sidebar button visible in the upper lefthand corner. It seems that I need to open the file from Lettera’s sidebar in order for the Show/Hide Sidebar menu item & button to be available.
I assume that’s not how things are supposed to work. I hope I’ve described the problem clearly.
Actually it’s obvious that no sidebar is displayed. After all you’re not opening a folder within Lettera but just a single file in the Finder. What folder would you expect to see in the sidebar after opening a single file?
Yeah, sure. But what’s the exact location? Should the open file be displayed at the top level or rather the folder it is contained in? I think this strict separation works really well: Lettera as an app with a library/vault and as a viewer for individual files that are opened from other locations.
I think the OP is expecting the folder it is contained in. I’m in agreement with @krssno, that a separation makes the most sense.
If the Finder location was visible in the sidebar after opening a singular file, then you would also expect to also see all of the other folders and files within Finder on the sidebar. That would seem odd and cluttered.
Not to mention, if you had opened a singular file, presumably you did so from its location in Finder anyway.
I’m so much in favor of a strict separation that I wouldn’t even display a sidebar when individual files are opened from the file browser in their own window. At the very least they should open with the browser closed. But that’s actually a separate topic.
Yes, that’s correct. I guess I understand why it could make sense to disable the sidebar for some files, but I would think any files that are in the Lettera iCloud folder should always work with the sidebar regardless of whether I open them from the Lettera sidebar or from Finder.
Let me explain the reasoning, because it’s a deliberate design decision driven by two things:
The macOS security model
Keeping a simple mental model: sidebar = workspace, no sidebar = single-file editor
The first point is the important one. Lettera is distributed through the Mac App Store, which means it’s a sandboxed app: it can only access files you’ve explicitly given it permission to open (the one exception being Lettera’s iCloud folder, which we’re granted access to by default). So when you open a single file from Finder, that file is all we have access to, we can’t show the sidebar or its parent folder, because we simply don’t have permission to read them.
Your case is a bit special: the file lives inside the iCloud folder, so technically we could show the sidebar there. But then the app would behave differently depending on which file you double-click, and that’s confusing and hard to communicate. So we chose two clear, predictable modes instead:
Open a folder → you get a workspace, with the sidebar.
Open a single file → you get just the single-file editor.
Hope that clears it up! Let me know if anything’s still unclear.
There’s a special case - as I mentioned - when opening a file from Lettera’s file browser in its own window: the sidebar remains. I am not sure if I like it. On one side I was confused, on the other one it is a nifty feature.
I expect to see the sidebar with folders that I have added, so if I want to open another file that’s in a different location I can access it quickly. (As mentioned in other posts, I use iA Writer, where that is one of the basic features of their file manager.)
What do you mean “folders that I have added”? Lettera has no concept of adding Folders, you can open a folder as a workspace, but folders with different roots can’t be viewed together.
The idea behind it is that you’ve started from a workspace and Lettera keep you there. Currently nothing is written into stone, we’re reading all the feedback and understanding how people want to use it
When I open a file in its own window I usually do so just to view the content. At the same time however there’s no reason why the same workspace shouldn’t be displayed in more than one window. Keeping the sidebar closed when opening a file in its own window seems to me to be the best compromise.
Worth clarifying what’s actually happening there: dragging a folder into the sidebar copies it into the folder the current window represents; so iCloud Drive, unless you’ve opened a different folder as your workspace.
In other words, you’re not referencing your original folder in place; you’re creating a copy of it inside Lettera’s workspace. Referencing external folders without moving/copying them isn’t something Lettera does (the sandbox/security model is a big part of why). So those folders look persistent because they genuinely live in the workspace now, but they’re just no longer linked to the originals.
Why can other sandboxed apps access folders like that? Again, iA Writer, which I’ve mentioned in other comments, lets you add ad hoc folders to its sidebar. There’s nothing sandboxing does to prevent this (though under the hood, it might be an alias?).