[dolphin] [Bug 428265] Expose konsolepart shortcuts in Dolphin's shortcuts view

Stephan bugzilla_noreply at kde.org
Tue Dec 28 10:37:24 GMT 2021


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

--- Comment #9 from Stephan <schlichtanders at gmail.com> ---
I've investigated the code and understood roughly what needs to be done
- use the code by this yakuake patch
https://invent.kde.org/utilities/yakuake/-/commit/a0b08cb1f71ef18449bfbf5852c01e323604142f
- and bring it into dolphinmainwindow.cpp
https://invent.kde.org/system/dolphin/-/blob/v21.08.3/src/dolphinmainwindow.cpp

The code from yakuake patch was build to work with several integrated terminals
and hence constructs a list of subactions, which then also get updated if one
is updated. This can be simplified for dolphin as it only has one integrated
konsolepart.

-------------------------

I've tried to setup a development environment using the kde-pim-docker
https://community.kde.org/KDE_PIM/Docker however it didn't work. Being in the
docker shell, I installed everything with `kdesrc-build --include-dependencies
dolphin`
and then run `~/kdesrc-build/kdesrc-run dolphin`. It failed with the following
which I was not able to fix
```
neon at b1df127876b0:~$ ~/kdesrc-build/kdesrc-run dolphin
################################################################################
kdesrc-run
Module:             dolphin
Program:            dolphin
Revision:           c071150b7d30c8826496f130b792aed47d4f8326
Arguments:
################################################################################

No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it
was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen,
vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
```
@Nate Graham can you help about where to get help for such specific development
issues?

I only found that kde-pim actually does not support dolphin, but only KDE pim
applications, so I felt a bit lost with this development environment. On the
other side, the bug sounds like very basic, so I am expecting the docker image
to run as expected. 

My graphics card is an intel card "Mesa Intel(R) Iris(R) Plus Graphics (ICL
GT2)" with OpenGL 4.6 (Compatibility Profile) Mesa 21.2.5. I am running the
docker on NixOS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list