GSoC/2016/StatusReports/BhavishaDhruve: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2016‎ | StatusReports
(Report of GSoC 2016)
(Report of GSoC 2016)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
The aim of my proposal was to develop emulator for plasma mobiles which would be the solution for developing, testing and accessing plasma phones without having real phone.
The aim of my proposal was to develop emulator for plasma mobiles which would be the solution for developing, testing and accessing plasma phones without having real phone.


For making this proposal a reality, the work-flow that I and my mentor Bhushan Shah had decided were:
== Proposed Work ==


Step 1 : Focusing on the working of Docker Container and then creating Docker Container with kwin_wayland and plasma-mobile essentials.
* Focusing on the working of Docker Container and then creating Docker Container with kwin_wayland and plasma-mobile essentials.


Step 2 : Implementing support for different DPI in the nested environment of kwin_wayland.
* Implementing support for different DPI in the nested environment of kwin_wayland.


Step 3 : Adding support for touch events into FakeInput interface.
* Adding support for touch events into FakeInput interface.


Step 4 : Integration of translating touch events into click events.
* Integration of translating touch events into click events.


Step 5 : Screenshot and screen recording, but this was to be done only if time would permit.
* Screenshot and screen recording, but this was to be done only if time would permit.


Step 6 : Polishing of codebase and bug-fix.
* Polishing of codebase and bug-fix.


Step 7 : Documentation on usage of emulator.
* Documentation on usage of emulator.


However, in the course of project the actual things I have worked on are:
== Work done during GSoC period ==


- Created Docker container with kwin_wayland running inside.
* Created Docker container with kwin_wayland running inside. https://quickgit.kde.org/?p=scratch%2Fbdhruve%2Fpm-emulator.git
https://quickgit.kde.org/?p=scratch%2Fbdhruve%2Fpm-emulator.git


- Added support for events in the KWayland fakeinput_interface, autotested these added functionalities as well, and  integrated it in kwin_wayland.
* Added support for events in the KWayland fakeinput_interface, autotested these added functionalities as well, and  integrated it in kwin_wayland. https://phabricator.kde.org/D1672 (Add support for fakeinput interface and protocol.) https://phabricator.kde.org/D1758 (Integrated FakeInput touch events into input redirection.)
https://phabricator.kde.org/D1672 (Add support for fakeinput interface and protocol.)
https://phabricator.kde.org/D1758 (Integrated FakeInput touch events into input redirection.)


- In Plasma Mobile emulator, KWin needed to be child of the emulator window, to achieve that, created a declarative plugin which created the anonymous wayland server which in turn got the nested kwin_wayland started.
* In Plasma Mobile emulator, KWin needed to be child of the emulator window, to achieve that, created a declarative plugin which created the anonymous wayland server which in turn got the nested kwin_wayland started. https://phabricator.kde.org/D1989
https://phabricator.kde.org/D1989


- Rendered the kwin_wayland on QML, for that I triggered repaint of the QQuickItem when damaged signal of SurfaceInterface was triggered.
* Rendered the kwin_wayland on QML, for that I triggered repaint of the QQuickItem when damaged signal of SurfaceInterface was triggered. https://phabricator.kde.org/D1989
https://phabricator.kde.org/D1989


- Allowed input in QQuickitem using QQuick input events.
* Allowed input in QQuickitem using QQuick input events. https://phabricator.kde.org/D1989
https://phabricator.kde.org/D1989


The work which is still pending are:
== Pending Work ==


- Different Resolution.
* Different Resolution.


- Screenshots and Screen Recording. (Future Development)
* Screenshots and Screen Recording. (Future Development)


- Documentation on usage of Emulator.
* Documentation on usage of Emulator.

Latest revision as of 07:48, 16 August 2016

Devising the Plasma Mobile Emulator

The aim of my proposal was to develop emulator for plasma mobiles which would be the solution for developing, testing and accessing plasma phones without having real phone.

Proposed Work

  • Focusing on the working of Docker Container and then creating Docker Container with kwin_wayland and plasma-mobile essentials.
  • Implementing support for different DPI in the nested environment of kwin_wayland.
  • Adding support for touch events into FakeInput interface.
  • Integration of translating touch events into click events.
  • Screenshot and screen recording, but this was to be done only if time would permit.
  • Polishing of codebase and bug-fix.
  • Documentation on usage of emulator.

Work done during GSoC period

  • In Plasma Mobile emulator, KWin needed to be child of the emulator window, to achieve that, created a declarative plugin which created the anonymous wayland server which in turn got the nested kwin_wayland started. https://phabricator.kde.org/D1989
  • Rendered the kwin_wayland on QML, for that I triggered repaint of the QQuickItem when damaged signal of SurfaceInterface was triggered. https://phabricator.kde.org/D1989

Pending Work

  • Different Resolution.
  • Screenshots and Screen Recording. (Future Development)
  • Documentation on usage of Emulator.