Comments (1)
Moving some details from the originating discussion...
For point 1:
Avalonia/src/Avalonia.Base/Input/AccessKeyHandler.cs
Lines 175 to 183 in f140033
e.Key.ToString()
returns "D1"
for the key (because of the enum) whereas "_1 One" registers "1" in the hotkey map.
For point 2:
This works as expected if you have a Menu
, which is the primary use of AccessText
. I'm not sure what the intended design is for out-of-menu access keys. You should be able to press the alt key, release it, and continue pressing access keys (with or without alt held down) to navigate. The non-menu access keys return to normal when the menu is closed.
It can be fixed in this area
Avalonia/src/Avalonia.Base/Input/AccessKeyHandler.cs
Lines 211 to 230 in f140033
break;
. Not sure if there are any side-effects.
if (MainMenu is null)
{
_owner!.ShowAccessKeys = _showingAccessKeys = false;
}
from avalonia.
Related Issues (20)
- Custom control's properties can't be used by xaml outside the control's own assembly (F#)
- AxamlRuntimeLoader breaks DynamicResources
- UnitTests: add control rendering to Avalonia.Headless HOT 1
- Headless window implementation does not persist Position property
- NullReferenceException if the CancellationToken already cancelled HOT 2
- Binding not updated when updating Collection using Dispatcher HOT 4
- Minimize Button is not working in MacOS Sequoia Version 15.0 HOT 2
- IStorgeProvider not returning Download WellKnownFolders on Windows 11 HOT 5
- DataGrid ScrollIntoView() works only from simple ObservableCollection
- 11.2.0-beta2 NativeAOT app fails to start on macOS Sequoia / .NET 9.0-rc1 HOT 2
- OverlayPopups is True affects the “down” key of the combox,expects it to display normally
- [WINDOWS] Flag WS_EX_NOACTIVATE is missing on windows with "Focusable: false" in their XAML properties HOT 5
- InjectAvaloniaXamlOutput appears to mangle property IntermediateAssembly on multiple runs and prevents trimming HOT 2
- Reduce Shader Jank HOT 2
- Full screen not work on Kylin V10 (Ubuntu) HOT 1
- AOT ClassConstructorRunner HOT 1
- DataGrid refresh doesn't work while the refreshed row attached to VisualTree HOT 1
- AvaloniaRuntimeXamlLoader.Parse throws System.InvalidCastException HOT 1
- Desktop template app running on embedded Linux: high CPU usage (framebuffer display, linux-arm)
- Wrong rendering / calculatin of ArcSegments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.