You are not logged in.

#1 2024-03-07 03:50:43

jronald
Member
Registered: 2022-05-09
Posts: 82

[SOLVED] Shift+F4 in Dolphin not work in Plasma 6

Env:
Linux arch 6.7.8-arch1-1 #1 SMP PREEMPT_DYNAMIC
nvidia 550.54.14-4
plasma-meta 6.0-2

Problem:
The konsole appears only in taskbar and then disappears immediately,
while the main window of the konsole never appears.

More Info:
F4 works fine in Dolphin

Last edited by jronald (2024-03-07 14:53:03)

Offline

#2 2024-03-07 08:22:51

seth
Member
Registered: 2012-09-03
Posts: 56,786

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

Sounds as if konsole is started and crashes, can you start it at all?
Anything in https://wiki.archlinux.org/title/Core_d … _core_dump ?

Offline

#3 2024-03-07 08:45:45

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

seth wrote:

Sounds as if konsole is started and crashes, can you start it at all?

Yes, konsole can be lauched by hotkeys or by clicking desktop entry.

$ coredumpctl info konsole
           PID: 6883 (konsole)
           UID: 1000 (aaa)
           GID: 1000 (aaa)
        Signal: 6 (ABRT)
     Timestamp: Thu 2024-03-07 10:58:27 CST (5h 40min ago)
  Command Line: /usr/bin/konsole --workdir /home/aaa/somepath
    Executable: /usr/bin/konsole
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-dce3a0c6b97b4024acf6e27c59fc86b3.scope
          Unit: user@1000.service
     User Unit: app-org.kde.konsole-00000000000000000000000000000000.scope
         Slice: user-1000.slice
     Owner UID: 1000 (aaa)
       Boot ID: 00000000000000000000000000000000
    Machine ID: 00000000000000000000000000000000
      Hostname: arch
       Storage: /var/lib/systemd/coredump/core.konsole.1000.00000000000000000000000000000000.6883.1111111111000000.zst (present)
  Size on Disk: 1.1M
       Message: Process 6883 (konsole) of user 1000 dumped core.
                
                Stack trace of thread 6883:
                #0  0x00007982c2eab32c n/a (libc.so.6 + 0x8d32c)
                #1  0x00007982c2e5a6c8 raise (libc.so.6 + 0x3c6c8)
                #2  0x00007982c2e424b8 abort (libc.so.6 + 0x244b8)
                #3  0x00007982c208a924 n/a (libQt6Core.so.6 + 0x8a924)
                #4  0x00007982c208b135 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x8b135)
                #5  0x00007982c26d9be9 n/a (libQt6Gui.so.6 + 0xd9be9)
                #6  0x00007982c2774a18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x174a18)
                #7  0x00007982c213db15 _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x13db15)
                #8  0x00007982c2774ac1 _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x174ac1)
                #9  0x00007982c30f53ee _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf53ee)
                #10 0x00005e8af53a62f9 n/a (konsole + 0x42f9)
                #11 0x00007982c2e43cd0 n/a (libc.so.6 + 0x25cd0)
                #12 0x00007982c2e43d8a __libc_start_main (libc.so.6 + 0x25d8a)
                #13 0x00005e8af53a8fd5 n/a (konsole + 0x6fd5)
                
                Stack trace of thread 6884:
                #0  0x00007982c2f190bf __poll (libc.so.6 + 0xfb0bf)
                #1  0x00007982c0b712f6 n/a (libglib-2.0.so.0 + 0xb82f6)
                #2  0x00007982c0b11162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #3  0x00007982c23739c4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3739c4)
                #4  0x00007982c2143d6e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x143d6e)
                #5  0x00007982c222106f _ZN7QThread4execEv (libQt6Core.so.6 + 0x22106f)
                #6  0x00007982c0f609df n/a (libQt6DBus.so.6 + 0x299df)
                #7  0x00007982c22a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
                #8  0x00007982c2ea955a n/a (libc.so.6 + 0x8b55a)
                #9  0x00007982c2f26a3c n/a (libc.so.6 + 0x108a3c)
                ELF object binary architecture: AMD x86-64

           PID: 6917 (konsole)

BTW the problem occurs for X11,  no problem for wayland.

Last edited by jronald (2024-03-07 08:47:09)

Offline

#4 2024-03-07 08:54:50

seth
Member
Registered: 2012-09-03
Posts: 56,786

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

BTW the problem occurs for X11,  no problem for wayland.

and it aborts in QGuiApplicationPrivate::createEventDispatcher…

tr '\0' '\n' < /proc/$(pidof dolphin)/environ

(probably lacks DISPLAY or XAUTHORITY?)

Offline

#5 2024-03-07 09:03:01

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

seth wrote:

(probably lacks DISPLAY or XAUTHORITY?)

I'm using a laptop with an external monitor with the built-in monitor disabled.
BTW If the built-in monitor is enabled, the external monitor mode doesn't work properly, I think it's a bug.
I don't know what are DISPLAY and XAUTHORITY.

Offline

#6 2024-03-07 09:13:26

seth
Member
Registered: 2012-09-03
Posts: 56,786

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

Environment variables, this has nothing to do with the panel you're looking at.
Please check the command I posted, it'll list the environment of the dolphin process (pidof dolphin)

Offline

#7 2024-03-07 09:22:13

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

$ tr '\0' '\n' < /proc/$(pidof dolphin)/environ
HOME=/home/someuser
LANG=en_US.UTF-8
LOGNAME=someuser
MAIL=/var/spool/mail/someuser
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
SHELL=/usr/bin/bash
USER=someuser
XDG_RUNTIME_DIR=/run/user/1000
XMODIFIERS=@im=fcitx
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
DESKTOP_SESSION=plasmax11
DISPLAY=:0
GTK_MODULES=canberra-gtk-module
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
MOTD_SHOWN=pam
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
PLASMA_USE_QT_SCALING=1
PWD=/home/someuser
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_SCREEN_SCALE_FACTORS=DP-0=2;DP-1=2;HDMI-0=2;DP-2=2;None-1-1=2;
SSH_AUTH_SOCK=/run/user/1000/gcr/ssh
XAUTHORITY=/tmp/xauth_vFHHvM
XDG_CONFIG_DIRS=/home/someuser/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_MENU_PREFIX=plasma-
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=5
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session5
XDG_SESSION_TYPE=x11
XDG_VTNR=2
MANAGERPID=4651
INVOCATION_ID=00000000000000000000000000000000
JOURNAL_STREAM=8:93515
SYSTEMD_EXEC_PID=4710
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service/memory.pressure
MEMORY_PRESSURE_WRITE=0000000000000000000000000000
DESKTOP_STARTUP_ID=arch;1709803171;689275;4710_TIME1748702

Offline

#8 2024-03-07 09:27:55

seth
Member
Registered: 2012-09-03
Posts: 56,786

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

Nope, at least dolphin has them:

DISPLAY=:0
XAUTHORITY=/tmp/xauth_vFHHvM

The abort will typically come with a warning, it's either in the journal or try to run dolphin (you probaly first have to kill all other instances) from an interactive shell.
Otherwise you'll have to use https://wiki.archlinux.org/title/Debugg … Debuginfod to gear up that backtrace a bit.

Offline

#9 2024-03-07 09:33:30

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

I think the developers could solve it much easily, I choose to wait for the fixing.
Thanks very much

Offline

#10 2024-03-07 09:42:39

seth
Member
Registered: 2012-09-03
Posts: 56,786

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

The developers are gonna need a heads-up
=> bugs.kde.org
They'll probably ask you the same questions, though.

Offline

#11 2024-03-07 10:03:17

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

Offline

#12 2024-03-07 14:52:41

jronald
Member
Registered: 2022-05-09
Posts: 82

Re: [SOLVED] Shift+F4 in Dolphin not work in Plasma 6

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

Last edited by jronald (2024-03-07 14:53:13)

Offline

Board footer

Powered by FluxBB