Merge lp:~stevens-ischyrus/do/dev into lp:do
Proposed by
ischyrus
Status: | Needs review |
---|---|
Proposed branch: | lp:~stevens-ischyrus/do/dev |
Merge into: | lp:do |
Diff against target: |
40 lines (+5/-3) 1 file modified
Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/KeyBindingService.cs (+5/-3) |
To merge this branch: | bzr merge lp:~stevens-ischyrus/do/dev |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Halse Rogers | Needs Information | ||
Review via email: mp+44993@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 1333. By ischyrus
-
There is a check that ensures libdo is found\loaded, if not loaded the exception is handled and discarded.
Later on when a keybinding is added the application will crash. Because the state of libdo is already determined and RegisterOSKey\
UnRegisterOSKey both return the result of the operation, the KeyBindingService should gracefully handle the scenario rather than throw an unhandled exception.
Thanks for your contribution!
This code is correct. However, I'm not sure that Do *should* continue to load when the keybindings won't work. Would this be useful for you? Do won't crash, but it also won't respond to anything but the DBus summon interface.
Probably the correct behaviour is to (a) not crash, but (b) throw up an error dialog.