https://bugs.kde.org/show_bug.cgi?id=397353

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |5.23
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kinfocenter/commit/64aa4
                   |                            |6a764c2b4ecd1249dfaa49926eb
                   |                            |d0136c01

--- Comment #2 from Harald Sitter <sit...@kde.org> ---
Git commit 64aa46a764c2b4ecd1249dfaa49926ebd0136c01 by Harald Sitter.
Committed on 10/08/2021 at 13:30.
Pushed by sitter into branch 'master'.

add a vulkan KCM

this KCM uses a new system that instead of trying to model the data in
complex widgets (and then falling into all sorts of pits such as having
way too much data for a human to deal with when they don't know exactly
what they are looking for, or the inability to copy paste stuff) we run
CLI tools (ideally not even provided by us) to render textual
presentations and then we simply display the output as text.

the advantages are:

- incredibly cheap maintenance (which I do feel is super important
because of how niche most modules are)
- next to no chance of breakage
- we can have filter tech to essentially act like a trivial 'grep'
thereby making it easier to find what a user might be looking for
- since it is a textarea the user can easily copy stuff out
- if we ever end up with the majority of modules implementing text
rendering instead of widget rendering we also have a cheap way to
implement an "export" style feature where we'd dump the information to a
file (we have an open feature request for that)

disadvantage:
- looks less neat
- can't have tableviews and by extension no sorting
FIXED-IN: 5.23

M  +3    -0    CMakeLists.txt
M  +1    -0    Modules/CMakeLists.txt
A  +19   -0    Modules/vulkan/CMakeLists.txt
A  +130  -0    Modules/vulkan/CommandOutputContext.cpp     [License: GPL(3+eV)
GPL(v3.0) GPL(v2.0)]
A  +63   -0    Modules/vulkan/CommandOutputContext.h     [License: GPL(3+eV)
GPL(v3.0) GPL(v2.0)]
A  +8    -0    Modules/vulkan/Messages.sh
A  +20   -0    Modules/vulkan/kcm_vulkan.desktop
A  +44   -0    Modules/vulkan/main.cpp     [License: GPL(3+eV) GPL(v3.0)
GPL(v2.0)]
A  +94   -0    Modules/vulkan/package/contents/main.qml     [License: GPL(3+eV)
GPL(v3.0) GPL(v2.0)]
A  +23   -0    Modules/vulkan/package/metadata.desktop
A  +16   -0    cmake/Findvulkaninfo.cmake

https://invent.kde.org/plasma/kinfocenter/commit/64aa46a764c2b4ecd1249dfaa49926ebd0136c01

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to