You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highlight the selected row in the GridView when the left (primary) mouse button is clicked.
Actual Behavior
I'm using a GridView, when I click (left button, main) on the last row, the selected row is not highlighted. When I right click on the same row, a selection happens.
Not highlighting a line when clicking with the left button occurs only if this line is the only one or the last one in the list. From the first to the penultimate everything works correctly.
Code that Demonstrates the Problem
Verified with Eto.Test.Gtk.exe - the last one row (9999) is not clickable (but Down key is working).
Specifications
Version: 2.7.1-2.7.3
Platform(s): Gtk
Operating System(s): Linux Mint
The text was updated successfully, but these errors were encountered:
Debugging in Eto.Test.Gtk.exe showed that this behavior occurs with AllowEmptySelection, call chain:
GridHandler.Widget_MouseDown() -> AllowEmptySelection=true -> !Control.GetPathAtPos() -> UnselectAll();
If AllowEmptySelection is disabled, the last line is selected normally.
It's up to you to decide if it's a bug or not. And I need to decide - is it permissible for my application to turn off AllowEmptySelection... On good, in my application it is impossible to turn off AllowEmptySelection - violation of the logic of the program.
Expected Behavior
Highlight the selected row in the GridView when the left (primary) mouse button is clicked.
Actual Behavior
I'm using a GridView, when I click (left button, main) on the last row, the selected row is not highlighted. When I right click on the same row, a selection happens.
Not highlighting a line when clicking with the left button occurs only if this line is the only one or the last one in the list. From the first to the penultimate everything works correctly.
Code that Demonstrates the Problem
Verified with Eto.Test.Gtk.exe - the last one row (9999) is not clickable (but Down key is working).
Specifications
The text was updated successfully, but these errors were encountered: