MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues

Open woodlandhunter opened this issue 9 years ago • 3 comments

When you double click on a cell which has EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" defined, the popup appears but there are a few issues:

  1. You can't move the cursor using the mouse and can't select text with the mouse (although right clicking brings up the context menu correctly).
  2. If the cell editing popup is open and you change focus to another app, the popup remains on top of the other application.
  3. (Minor/opinion) The cursor's position is at the beginning of the TextBox when the popup editor opens (I think this would typically be at the end?)

To reproduce:

  • Open the WPF demo
  • Selecting the "Grids" page using the menu
  • Double click on a cell in the Name or Description columns to start editing
  • Try using the left mouse button to move the cursor or select text inside the popup
  • Switch to another application while the cell editor is open

Here's a screenshot of the popup over another window. popup_example

woodlandhunter avatar Sep 06 '16 17:09 woodlandhunter

Fixed parts 2 and 3. Part 1 seems like it's going to be painful...

ButchersBoy avatar Nov 26 '16 12:11 ButchersBoy

文件不存在,只能读不能写

FelixStarship avatar Jan 02 '20 09:01 FelixStarship

I can confirm that part 1 is still an issue. I think it's a bug in the ControlzEx library. I don't see an easy fix at this moment.

MichelMichels avatar Apr 01 '24 10:04 MichelMichels