Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916618 - kde-plasma/plasma-workspace-5.27.9 - Kde plasma applet to logout/exit doesn't work, lockout.qml Kirigami.Icon applet lock_logout (ACPI problems?)
Summary: kde-plasma/plasma-workspace-5.27.9 - Kde plasma applet to logout/exit doesn't...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://mail.kde.org/pipermail/releas...
Whiteboard: fixed in 5.27.9.1
Keywords:
Depends on:
Blocks: plasma-5.27.9-stable
  Show dependency tree
 
Reported: 2023-11-01 11:05 UTC by Silvio
Modified: 2023-11-11 08:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2023-11-01 11:05:23 UTC
From a recent update of kde plasma clicking on the icon on the tray to get the list of "logout" "exit" "suspend" ecc. (lock_logout applet) I get an error:

file:///usr/share/plasma/plasmoids/org.kde.plasma.lock_logout/contents/ui/lockout.qml:104:13: Kirigami.Icon - Kirigami is neither a type nor a namespace

And I cannot switch off the PC from GUI. But even switching off with "shutdown" in command line everything closed but the PC stay switch on even if it has finished all the shutdown procedures. Black screen but fan and green light still on.

This is an interesting error in dmesg, I don't know if correlated:

[    0.331148] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GP17.XHC0._S0W], AE_ALREADY_EXISTS (20230628/dswload2-326)
[    0.331148] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
[    0.331148] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.331148] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GP17.XHC1._S0W], AE_ALREADY_EXISTS (20230628/dswload2-326)
[    0.331148] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
[    0.331148] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.331323] ACPI: 16 ACPI AML tables successfully acquired and loaded
[    0.331884] ACPI: EC: EC started
[    0.331884] ACPI: EC: interrupt blocked
[    0.332077] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.332078] ACPI: EC: Boot ECDT EC used to handle transactions
[    0.332447] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.352587] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    0.352812] ACPI: Interpreter enabled
[    0.352822] ACPI: PM: (supports S0 S4 S5)
[    0.352823] ACPI: Using IOAPIC for interrupt routing
[    0.352983] PCI: MMCONFIG for domain 0000 [bus 00-7f] at [mem 0xf0000000-0xf7ffffff] (base 0xf0000000)
[    0.353010] PCI: MMCONFIG at [mem 0xf0000000-0xf7ffffff] reserved as ACPI motherboard resource
[    0.353015] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.353016] PCI: Ignoring E820 reservations for host bridge windows
[    0.353559] ACPI: \_SB_.PCI0.GPP0.PG00: New power resource
[    0.354243] ACPI: \_SB_.PCI0.GP17.XHC0.P0U0: New power resource
[    0.354295] ACPI: \_SB_.PCI0.GP17.XHC0.P3U0: New power resource
[    0.354634] ACPI: \_SB_.PCI0.GP17.XHC1.P0U1: New power resource
[    0.354685] ACPI: \_SB_.PCI0.GP17.XHC1.P3U1: New power resource
[    0.355508] ACPI: \_SB_.PCI0.GPP6.P0NV: New power resource
[    0.362398] ACPI: \_SB_.PRWL: New power resource
[    0.362902] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])








Reproducible: Always
Comment 1 Silvio 2023-11-01 11:06:01 UTC
This is my emerge --info

Portage 3.0.54 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r7, 6.6.0-gentoo x86_64)
=================================================================
System uname: Linux-6.6.0-gentoo-x86_64-AMD_Ryzen_9_5900HS_with_Radeon_Graphics-with-glibc2.38
KiB Mem:    32263692 total,  22203672 free
KiB Swap:   34814972 total,  34814972 free
Timestamp of repository gentoo: Wed, 01 Nov 2023 10:30:02 +0000
Head commit of repository gentoo: 5608d35277d75dcab08c3c5b261bc51db039bde5
Timestamp of repository booboo: Mon, 30 Oct 2023 19:01:59 +0000
Head commit of repository booboo: 1c8ea0125ebdf02076207cf3c5bed409cfda5e17

Head commit of repository jgenco: 116bff6e0f0eb9ce878f1729ff2a666ee871646a

Timestamp of repository pentoo: Wed, 01 Nov 2023 08:16:46 +0000
Head commit of repository pentoo: 9b9e6597da2f6063efb0f6e95cdc9f44f39175a7

Timestamp of repository steam-overlay: Mon, 30 Oct 2023 19:02:02 +0000
Head commit of repository steam-overlay: c738cf4be600cc674dd666d9dc0ac50f0bc87067

sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r4::gentoo, 17.0.4::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo, 13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.4::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 16.0.6::gentoo, 17.0.4::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

booboo
    location: /var/db/repos/booboo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/booboo.git
    masters: gentoo
    volatile: False

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay
    masters: gentoo
    volatile: False

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver3 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=znver3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe"
GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.init7.net/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="it en it_IT en_US"
MAKEOPTS="--jobs 14 --load-average 15"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative djvu dri dri3 dts dvd dvdr elogind encode exif ffmpeg fftw flac fortran gdbm gif gles2 gpm gtk gui hidpi iconv icu id3tag ipv6 javafx jpeg kde kdesu kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs objc ogg opengl openmp opus pam pango pcre pcsc-lite pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline s3tc samba screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="*" VIDEO_CARDS="amdgpu radeonsi nvidia vesa v4l v4l2 modesetting fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Silvio 2023-11-01 11:12:58 UTC
Ok, I found a workaround.

Edit the file:

/usr/share/plasma/plasmoids/org.kde.plasma.lock_logout/contents/ui/lockout.qml

In the block
                Kirigami.Icon {
                id: iconButton
                width: items.iconSize
                height: items.iconSize
                anchors.centerIn: parent
                source: modelData.icon
                scale: tapHandler.pressed ? 0.9 : 1
                active: iconDelegate.containsMouse
            }



and change "Kirigami.Icon" with "PlasmaCore.IconItem" and it works again.

It belong to the package kde-plasma/plasma-workspace-5.27.9 so I'm going to change the subject of this bug.