Merge lp://qastaging/~jonas-drange/ubuntu-system-settings/hwKeyboardMinimal into lp://qastaging/ubuntu-system-settings

Proposed by Jonas G. Drange
Status: Merged
Approved by: Jonas G. Drange
Approved revision: 1589
Merged at revision: 1623
Proposed branch: lp://qastaging/~jonas-drange/ubuntu-system-settings/hwKeyboardMinimal
Merge into: lp://qastaging/ubuntu-system-settings
Diff against target: 1707 lines (+1014/-345)
17 files modified
debian/control (+1/-0)
plugins/language/CMakeLists.txt (+7/-4)
plugins/language/KeyboardLayoutItem.qml (+65/-34)
plugins/language/KeyboardLayouts.qml (+114/-5)
plugins/language/PageComponent.qml (+34/-19)
plugins/language/PageHardwareKeyboard.qml (+75/-0)
plugins/language/hardwarekeyboard-plugin.cpp (+224/-0)
plugins/language/hardwarekeyboard-plugin.h (+75/-0)
plugins/language/keyboard-layout.cpp (+3/-1)
plugins/language/language-plugin.cpp (+13/-261)
plugins/language/language-plugin.h (+2/-20)
plugins/language/onscreenkeyboard-plugin.cpp (+294/-0)
plugins/language/onscreenkeyboard-plugin.h (+75/-0)
plugins/language/plugin.cpp (+4/-0)
plugins/language/subset-model.cpp (+24/-0)
plugins/language/subset-model.h (+3/-0)
tests/autopilot/ubuntu_system_settings/__init__.py (+1/-1)
To merge this branch: bzr merge lp://qastaging/~jonas-drange/ubuntu-system-settings/hwKeyboardMinimal
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Ken VanDine Approve
Review via email: mp+281213@code.qastaging.launchpad.net

Commit message

Add External Keyboard panel which allows for configuration of the default keymap.

Description of the change

* Refactors some bits in the language plugin and keyboard layouts to make them work well with both OSK and external keyboards.
* Add a External Keyboard panel that allows for manipulation of input sources.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ken VanDine (ken-vandine) wrote :

See inline comments

review: Needs Information
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Some inline comments

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Addressing comments from Lukáš and Ken. Thanks guys!

Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

See inline comments

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I'm happy with the code, during testing it didn't appear to show the hardware keyboard stuff. I'm guessing UnityInputInfo.keyboards is not > 0 even with the bt keyboard connected, is that expected?

review: Needs Information
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I got it working (I had install problems before) however I noticed the first time I open the lang panel it shows 0 layouts for the hardware keyboards. Shouldn't there be some default set?

review: Needs Information
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

> I got it working (I had install problems before) however I noticed the first
> time I open the lang panel it shows 0 layouts for the hardware keyboards.
> Shouldn't there be some default set?

InputSources could be empty. If we want a default, then it needs to be set in the AccountsService schema.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

OK, I think there should be a default, but that has to be set elsewhere.

review: Approve
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

On 9 February 2016 at 15:26, Ken VanDine <email address hidden> wrote:

> Review: Approve
>
> OK, I think there should be a default, but that has to be set elsewhere.
>

​I agree and filed bug 1543617​. Thanks!

Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

I'm still not getting the panel on my laptop, only on the phone

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

On 11 February 2016 at 22:01, Lukáš Tinkl <email address hidden> wrote:

> I'm still not getting the panel on my laptop, only on the phone
>

​It could be that the input detector is lacking. We'll then have to wait
for [1] to land. We can do that.

[1] https://requests.ci-train.ubuntu.com/#/ticket/763

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1589. By Jonas G. Drange

sync with trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches