MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues

Abierto
#493 3 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug datagrid up-for-grabs
Lenguaje dominante
C#
Estrellas
16.3k
Forks
3.5k
Merge medio
1 d 22 h
PR fusionados (30 d)
8

Descripción

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](https://cloud.githubusercontent.com/assets/6824706/18284485/bc14b9d0-742f-11e6-8c24-ee7fdd55cbb8.png)

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza con la página Grids de la demo de WPF y el MaterialDesignDataGridTextColumnPopupEditingStyle utilizado por las columnas Name y Description. Reproduce el comportamiento del popup con un doble clic y, a continuación, rastrea el manejo de la selección del ratón, el foco de la aplicación y la posición inicial del cursor del editor del popup. Se considera terminado cuando la edición con el ratón funciona, el popup no permanece por encima de otra aplicación y se ha resuelto el comportamiento del cursor.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
desktop
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.