"File" behaves like "Folder"?

Bi
Biff
Posts: 329
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Tue Mar 24, 2020 1:12 pm Post

This item in the binder is a "File" / document but it seems to behave like a "Folder" as it shows the items it contains (dotted lines):

Image

Why is it like this and how could I turn it into a document?
Windows 10, 64bit

User avatar
lunk
Posts: 4073
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Tue Mar 24, 2020 1:21 pm Post

Folders and Files only differ in the icons. Otherwise they are the same.
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running Mojave.
* iOS Scrivener 1 on an iPhone 11 Pro, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

User avatar
rdale
Posts: 2014
Joined: Tue Jul 14, 2015 1:07 pm
Platform: Mac, Win + iOS
Location: St. Louis, MO
Contact:

Tue Mar 24, 2020 1:29 pm Post

What is the undesirable behavior you're seeing? Everything looks correct to me.
FKA: robertdguthrie
AKA: R Dale Guthrie, Robert, Mr. Obscure, and "Oh, it's you again".

Bi
Biff
Posts: 329
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Tue Mar 24, 2020 1:34 pm Post

Oops, I always thought a folder shows the content of the items they contain and files don't. It really is and was not like that? So why are there folders and files at all if they differ in its icons only?
Windows 10, 64bit

Bi
Biff
Posts: 329
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Tue Mar 24, 2020 1:37 pm Post

What is the undesirable behavior you're seeing?

That a file (other than a folder does) shows the content of the items it contains.
Windows 10, 64bit

User avatar
rdale
Posts: 2014
Joined: Tue Jul 14, 2015 1:07 pm
Platform: Mac, Win + iOS
Location: St. Louis, MO
Contact:

Tue Mar 24, 2020 1:46 pm Post

Biff wrote:Oops, I always thought a folder shows the content of the items they contain and files don't. It really is and was not like that? So why are there folders and files at all if they differ in its icons only?

In Scrivener, that's not the difference. Primarily, you use folders to distinguish how they come out during the compile process vs. how text files come out.

For instance, a novel with chapter folders and text documents would typically be compiled so that it ignores any text associated with the folder itself, and only uses the folder to signal when a new chapter is starting, optionally including the title of the folder in the chapter title. Files would typically be "scene" documents, and compile wouldn't usually include their titles; it would also only separate adjacent file contents (the text) with some kind of separator, like 3 centered hash-marks.

There are some things that folders do within Scrivener differently than files; like the default way that they display in the editor if you click on one (click on a folder, get the cork board, click on a file, get its text contents... that kind of thing).

If you dont' want the files indented under your other file to show in the binder, click on the arrow to the left of your file, and they'll collapse up into it, just like they do for folders.
FKA: robertdguthrie
AKA: R Dale Guthrie, Robert, Mr. Obscure, and "Oh, it's you again".

Bi
Biff
Posts: 329
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Tue Mar 24, 2020 2:57 pm Post

Alright, I understand, thank you very much for the very understandable explanation.
Windows 10, 64bit

User avatar
AmberV
Posts: 24272
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Tue Mar 24, 2020 3:24 pm Post

Oops, I always thought a folder shows the content of the items they contain and files don’t. It really is and was not like that?


What you are describing is the default behaviour yes, and one of the notable UI differences between folders and file groups. However it is possible to make file groups act just like folders in every way, including whether they load using a group view mode instead of single-text. So maybe you have changed this setting and forgot about it?

It is Treat all documents with children as folders, in the Navigation settings tab.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

Bi
Biff
Posts: 329
Joined: Mon Jan 16, 2017 7:59 am
Platform: Windows

Tue Mar 24, 2020 7:02 pm Post

Ah yes, that is it! Yes, absolutely forgot about it respectively wasn't aware of the consequences obviously, sorry.

When I just deactivated that option all open Scrivener projects crashed but now it works again. Great!

And even the invisible text is visible again.

Many thanks.
Windows 10, 64bit