Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3725 closed enhancement (fixed)

BOutlineListView go to parent with left button

Reported by: PieterPanman Owned by: anevilyak
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The following request: Say you select a child in a BOutlineListView. In Windows, if I press the left key, it will jump to its parent, if you press it again, it will collapse. In haiku, pressing the left button does not make it jump to its parent. I don't know what the BeOS behavior is, but I find myself using this frequently in Windows.

#3711 provides a small test app.

Change History (8)

comment:1 Changed 10 years ago by anevilyak

Owner: changed from axeld to anevilyak
Status: newassigned

comment:2 Changed 10 years ago by anevilyak

Resolution: fixed
Status: assignedclosed

Fixed in hrev30130.

comment:3 Changed 10 years ago by PieterPanman

Why didn't I think of this before: When you push the right key, it is pretty logical that it expands collapsed children, and that for expanded children it descends to the first child. That's at least how windows does it, I don't know about BeOS. It would make this symmetrical behavior. What do you think? Worth a new ticket or can you rename this one? :)

comment:4 Changed 10 years ago by anevilyak

Resolution: fixed
Status: closedreopened

Yeah, agreed on the right arrow, will have to think about that one with respect to the jumping to child part though. Expanding via right arrow I definitely should have thought of. Reopening this one.

comment:5 Changed 10 years ago by PieterPanman

Ok, nice. I think right jumping to child is just the symmetric opposite of left jumping to parent, so expected. Only difference is that there's many children that jump to one parent, and that one parent can jump to so many, but which one is unsure. So I guess the first one would be reasonable. Anyone have BeOS open to check its behavior?

comment:6 Changed 10 years ago by anevilyak

Don't know if BeOS bothers implementing those arrow shortcuts at all or not, I'd have to hook up my BeBox to check since I have nothing else that can run R5 at this point. Implemented in hrev30150 in any case.

comment:7 Changed 10 years ago by anevilyak

Resolution: fixed
Status: reopenedclosed

comment:8 Changed 10 years ago by PieterPanman

Didn't have time to test, but the code change looks fine. Thanks!

Note: See TracTickets for help on using tickets.