BDisp

Results 764 comments of BDisp

Since you're dealing with `Select/Activate` it's normal a `Button` handles `Accept` when a `Shortcuts` in a `ScrollBar` are clicked? ![WindowsTerminal_D6JtYpxtM8](https://github.com/user-attachments/assets/7b47829d-dc23-4d7b-b3a9-26964457f908)

There is one situation in `Terminal.Gui` which make me crazy. A simple `Accepting` event which will allow the developer to `Cancel` the default behavior (but has the `Handled` property) will...

It's only enough to comment the line `e.Handled = true;` in the `Generic` scenario. There are many scenarios where this isn't implemented and I think it's an unnecessary extra code....

I really can't repro this with the `FakeDriver` but I already found that all drivers really send a clicked event with the `Button` position when no mouse button pressed is...

That what I was think but the wrong click event came from the drivers. Do `Application` is injecting the click event into the driver?

Sorry, the driver has still the previous position when the `Button` was pressed. It isn't a resent event. The mouse must return true at the end of the method, otherwise...

The `CommandContext` `struct` could probably be converted to a `class`, thus allowing it to be more volatile and manageable.

Do you know why `Trace` item it's always selected at start instead of the activated `Debug` item? ![image](https://github.com/user-attachments/assets/ec21af05-7cd5-407e-9dbb-23a23b3b8c2e)

@tig can a `MenuBarv2` having a `MenuItemv2` with an `Action` or is mandatory only using `MenuBarItemv2`? **Edit:** Or maybe more appropriate, can a `MenuBarv2` having a `MenuBarItemv2` with an `Action`?

Works like a charm. Doesn't make sense to set `Action` in a `MenuBarItemv2` because it will handle popover menus, although it's possible but the Action will be ignored. With `MenuItemv2`...