[Github-comments] [geany/geany] Rpg sidebar tree (see #259) (#1813)

elextr notifications at github.com
Tue May 3 23:03:51 UTC 2022


@kugel- sorry, I totally lost track of this PR.  Tested, some observations below, not sure if they are deliberate?  But they were surprising, appeared inconsistent, and in at least one case annoying.

Initial layout:

```
V /data/nexciidoc/attic
    old_spec.edoc
V ~/tmpgeany/geany
    V data
        geany-3.0.css
    V src
        document.c
        > tagmanager
```

The `V` means unrolled, and `>` rolled up, there is a file open in tagmanager but I folded it up.

Note the path starting with `~` sorts after `/data` which is correct because `~` is second last ASCII character

Opened `~/atest.edoc` got: 

```
V ~
    atest.edoc
    V /tmpgeany/geany
        V data
            geany-3.0.css
    V src
        document.c
        > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
```

Note the resorting of `/data` when `~` became a top level, but the previous top level path still started with `~` and sorted after `/data`.

When I closed `~/atest.edoc`:

```
V ~
    V /tmpgeany/geany
        V data
            geany-3.0.css
        V src
            document.c
            > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
```

 The `~` stayed separated even though it now had only one entry open.

When I closed `geany-3.0.css`:

I expected:

```
V ~
    V /tmpgeany/geany/src
        document.c
        > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
```

but got:

```
V ~
    > /tmpgeany/geany/src
V /data/nexciidoc/attic
    old_spec.edoc
```

Note `/tmpgeany/geany/src` folded uncommanded, that would get annoying if it kept happening.

Also `~` still doesn't recombine, but when I closed and reopened Geany it combined and sorted after `/data`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1813#issuecomment-1116739566
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/1813/c1116739566 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220503/115447b1/attachment.htm>


More information about the Github-comments mailing list