eclipse / nebula

Nebula Project
https://eclipse.org/nebula
Eclipse Public License 2.0
84 stars 98 forks source link

Grid: Double-click on top row doesn't work when header is not visible #487

Closed MrTimbones closed 2 years ago

MrTimbones commented 2 years ago

It's not possible to double-click on the first row of a Grid if the header has not been made visible via .setHeaderVisible(true). The MouseDoubleClick event is simply ignored, and no other listeners are notified.

It looks like this was introduced by PR #175, with this code in .onMouseDoubleClick() around line 6748:

        if (e.y<headerHeight) {
            e.doit = false;
            return;
        }

I'm guessing that adding && columnHeadersVisible would probably fix this?

lcaron commented 2 years ago

Bug fixed in Nebula 2.7.2

lcaron commented 2 years ago

Nebula 2.7.2 is now available