SoK/2024/StatusReport/Athul Raj K: Difference between revisions

From KDE Community Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{construction}}
=== Improving KdeEcoTest's funcionalities and compatibility ===
=== Improving KdeEcoTest's funcionalities and compatibility ===
[https://eco.kde.org/blog/2024-02-20-sok24-wayland_support_kdeecotest/ Making way for Wayland in KdeEcoTest]
'''Mentors:''' Emmanuel Charruau and  Joseph P. De Veaugh-Geiss
'''Project Abstract:'''
Measuring the energy consumption of KDE software is a vital task in achieving the sustainability goal. This is done by running the software and executing repetitive actions that simulate human use. KdeEcoTest is a tool used for building and testing standard usage scenario scripts which simulate human use. During this season of KDE, I would like to work on improving KdeEcoTest and improve its compatibility.
'''Deliverables:'''
* Make KdeEcoTest compatible on Wayland systems.
* Replicate okular test using KdeEcoTest
'''Progress:'''
'''Week 1-2:'''
'''Week 1-2:'''
* Added a platform abstraction layer which makes it easy to implement platform specific routines. [https://invent.kde.org/echarruau/feep-win-32-kdotool-integration/-/merge%20requests/1].
* Added a platform abstraction layer which makes it easy to implement platform specific routines. [https://invent.kde.org/echarruau/feep-win-32-kdotool-integration/-/merge%20requests/1].
* Improved kdotool's functionalities such it could be utilized for KdeEcoTest KWin handlers. [https://invent.kde.org/krathul/kdotool/-/commit/e3599730187739ba91810af3875108627739dffb]
* Improved kdotool's functionalities so that it could be utilized for KdeEcoTest KWin handlers. [https://invent.kde.org/krathul/kdotool/-/commit/e3599730187739ba91810af3875108627739dffb]
* Added uinput backend for pynput python module ([https://github.com/moses-palmer/pynput pynput]) for controlling and listening for mouse and keyboard events using libevdev [https://invent.kde.org/krathul/pynput/-/commits/master].
* Added uinput backend for pynput python module ([https://github.com/moses-palmer/pynput pynput]) for controlling and listening for mouse and keyboard events using libevdev [https://invent.kde.org/krathul/pynput/-/commits/master].
* Added KWin handlers which enables KdeEcoTest to function on KWin compositor (both X11 and Wayland). This has also been merged with the development branch [https://invent.kde.org/echarruau/feep-win-32-kdotool-integration/-/merge%20requests/1].
* Added KWin handlers which enables KdeEcoTest to function on KWin compositor (both X11 and Wayland). This has also been merged with the development branch [https://invent.kde.org/echarruau/feep-win-32-kdotool-integration/-/merge%20requests/1].
'''Week 2-6:'''
* Testing and Debugging.
* Testing KdeEcoTest on other linux distros and on Kde Neon.
* Documented and Updated the installation guide for KdeEcoTest.
'''Week 6-10:'''
* Working on replicating the okular test script using KdeEcoTest (still in progress).
* Testing and Debugging.

Revision as of 05:56, 9 April 2024

Improving KdeEcoTest's funcionalities and compatibility

Making way for Wayland in KdeEcoTest

Mentors: Emmanuel Charruau and Joseph P. De Veaugh-Geiss

Project Abstract:

Measuring the energy consumption of KDE software is a vital task in achieving the sustainability goal. This is done by running the software and executing repetitive actions that simulate human use. KdeEcoTest is a tool used for building and testing standard usage scenario scripts which simulate human use. During this season of KDE, I would like to work on improving KdeEcoTest and improve its compatibility.

Deliverables:

  • Make KdeEcoTest compatible on Wayland systems.
  • Replicate okular test using KdeEcoTest


Progress:

Week 1-2:

  • Added a platform abstraction layer which makes it easy to implement platform specific routines. [1].
  • Improved kdotool's functionalities so that it could be utilized for KdeEcoTest KWin handlers. [2]
  • Added uinput backend for pynput python module (pynput) for controlling and listening for mouse and keyboard events using libevdev [3].
  • Added KWin handlers which enables KdeEcoTest to function on KWin compositor (both X11 and Wayland). This has also been merged with the development branch [4].

Week 2-6:

  • Testing and Debugging.
  • Testing KdeEcoTest on other linux distros and on Kde Neon.
  • Documented and Updated the installation guide for KdeEcoTest.

Week 6-10:

  • Working on replicating the okular test script using KdeEcoTest (still in progress).
  • Testing and Debugging.