This is probably an upstream issue, but both in projects and files tabs' file trees, the behavior is different when clicking with RMB or LMB.
When clicking with LMB: clicking anywhere in the blue area will be treated as a click on the element. This should (at least in my opinion) be the behavior for both LMB and RMB clicks.
When clicking with RMB: clicking in the orange outlined area (basically over the text of the element) will be treated as a RMB click on the item, while clicking anywhere else in the blue area will be treated as RMB click on no element
Might be just a me issue, but somehow I manage to rather often miss the text element itself, as most other programs allow the whole line in a tree view to be used as a hitbox, so I'd like to open the discussion if this is intended behavior or could we maybe do something about this.