MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 16.3k
- Forks
- 3.5k
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.

Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Grids-Seite der WPF-Demo und dem MaterialDesignDataGridTextColumnPopupEditingStyle, der für die Spalten Name und Description verwendet wird. Stelle das Popup-Verhalten per Doppelklick nach und verfolge anschließend die Behandlung der Mausauswahl, des Anwendungsfokus und der anfänglichen Cursorposition im Popup-Editor. Erledigt ist es, wenn die Bearbeitung per Maus funktioniert, das Popup nicht über einer anderen Anwendung bleibt und das Cursorverhalten berücksichtigt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100