Jump to content

GSoC/2018/StatusReports/GunPark: Difference between revisions

From KDE Community Wiki
Gpark (talk | contribs)
No edit summary
Gpark (talk | contribs)
No edit summary
Line 2: Line 2:
Idea page: https://community.kde.org/GSoC/2018/Ideas#System_Settings:_Port_keyboard_input_modules_and_expand_scope_to_cover_input_method_configuration
Idea page: https://community.kde.org/GSoC/2018/Ideas#System_Settings:_Port_keyboard_input_modules_and_expand_scope_to_cover_input_method_configuration


Project Goals: Port all the Keyboard KCM's existing functionality to the new modern Kirigami UI, and make it easier for users to configure the IM from within System Settings.  
===Project Goals===
Port all the Keyboard KCM's existing functionality to the new modern Kirigami UI, and make it easier for users to configure the IM from within System Settings.  


==Current progress==
==Current progress==
Line 12: Line 13:
* Daemon
* Daemon
** Removed most of the legacy and cruft, such as tray icons and flags
** Removed most of the legacy and cruft, such as tray icons and flags
===The new architecture===
{|
|
|Xkb is enabled
|Fcitx is enabled
|Wayland is enabled
|-
|Layout switch (rotate) key press
| switch layout as usual (setxkbmap)
| set fcitx' "special" first layout to the one configured in the kcm, and then switch to the specific IM using dbus
| let Kwin handle it (might have to change the kwin code too, since the config contains non-xkb layouts too)
|}


==Blogposts and Links==
==Blogposts and Links==

Revision as of 04:00, 7 June 2018

Port Keyboard input modules and Expand scope to cover input method configuration

Idea page: https://community.kde.org/GSoC/2018/Ideas#System_Settings:_Port_keyboard_input_modules_and_expand_scope_to_cover_input_method_configuration

Project Goals

Port all the Keyboard KCM's existing functionality to the new modern Kirigami UI, and make it easier for users to configure the IM from within System Settings.

Current progress

  • UI
    • Ported 90% of the existing UI to Qt Quick
    • Make model more flexible for incorporating IMs by using proxy models
    • Basic support for configuring fcitx
  • Daemon
    • Removed most of the legacy and cruft, such as tray icons and flags

The new architecture

Xkb is enabled Fcitx is enabled Wayland is enabled
Layout switch (rotate) key press switch layout as usual (setxkbmap) set fcitx' "special" first layout to the one configured in the kcm, and then switch to the specific IM using dbus let Kwin handle it (might have to change the kwin code too, since the config contains non-xkb layouts too)

Blogposts and Links

Clone repository: https://cgit.kde.org/clones/plasma-desktop/gpark/gsoc-kcm-keyboard-revamp.git/?h=new_keyboard_kcm

My first blogpost: https://medium.com/@mujjingun_23509/google-summer-of-code-porting-keyboard-kcm-to-qt-quick-862d16e58d3c