[systemsettings] [Bug 515602] Clicking on "Switch to power profile" combobox freezes systemsettings

2026-02-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=515602

Nate Graham  changed:

   What|Removed |Added

  Version First|master  |6.6.80
Reported In||
Version||Frameworks 6.24
  Fixed/Implemented||
 In||
 CC||[email protected]

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

[systemsettings] [Bug 515602] Clicking on "Switch to power profile" combobox freezes systemsettings

2026-02-06 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=515602

Akseli Lahtinen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/qqc2-desktop-style/-
   ||/commit/78b1e6c66e8f0b8c85f
   ||4c75089d3c5884e51df76
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Akseli Lahtinen  ---
Git commit 78b1e6c66e8f0b8c85f4c75089d3c5884e51df76 by Akseli Lahtinen.
Committed on 06/02/2026 at 11:44.
Pushed by akselmo into branch 'master'.

Menu: Calculate implicitHeight from visibleChildren

We should not assign height to implicitHeight. Instead,
iterate through the visibleChildren of the contentItem
and calculate the exact needed space.

Compare it to contentHeight, and select the smaller value:
Our iterator returns the smaller value if some items are hidden,
otherwise contentHeight is correct.

M  +4-3org.kde.desktop/Menu.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/78b1e6c66e8f0b8c85f4c75089d3c5884e51df76

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

[systemsettings] [Bug 515602] Clicking on "Switch to power profile" combobox freezes systemsettings

2026-02-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=515602

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/506

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

[systemsettings] [Bug 515602] Clicking on "Switch to power profile" combobox freezes systemsettings

2026-02-06 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=515602

Akseli Lahtinen  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
   Assignee|[email protected]|[email protected]
 Ever confirmed|0   |1

--- Comment #2 from Akseli Lahtinen  ---
Related MR https://invent.kde.org/plasma/powerdevil/-/merge_requests/605

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

[systemsettings] [Bug 515602] Clicking on "Switch to power profile" combobox freezes systemsettings

2026-02-06 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=515602

--- Comment #1 from Akseli Lahtinen  ---
Backtrace

0x7761a94b in QQuickItem::implicitHeight (this=) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7643
7643return d->getImplicitHeight();



Thread 56 (Thread 0x7fffc83286c0 (LWP 131108) "QQmlThread"):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x7458b16c in __internal_syscall_cancel (a1=,
a2=, a3=, a4=, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x7458b1b4 in __syscall_cancel (a1=, a2=, a3=, a4=, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x74605a36 in __GI_ppoll (fds=fds@entry=0x7fffcc60,
nfds=nfds@entry=1, timeout=, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x71e39784 in ppoll (__fds=0x7fffcc60, __nfds=1, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=,
context=0x7fffc059b9f0, timeout_usec=, fds=0x7fffcc60,
n_fds=1) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fffc059b9f0,
block=block@entry=1, dispatch=dispatch@entry=1, self=) at
../glib/glib/gmain.c:4485
#7  0x71e39865 in g_main_context_iteration (context=0x7fffc059b9f0,
may_block=1) at ../glib/glib/gmain.c:4556
#8  0x74ef9cb2 in QEventDispatcherGlib::processEvents
(this=0x7fffc03e2a30, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
--Type  for more, q to quit, c to continue without paging--c
#9  0x74c20cf6 in QEventLoop::processEvents (this=0x7fffc8327980,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fffc8327980, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x74d3c77e in QThread::exec (this=) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x74ddbc7a in operator() (__closure=) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:448
#13 (anonymous
namespace)::terminate_on_exception >
(t=) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:373
#14 QThreadPrivate::start (arg=0x5603ddf0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:422
#15 0x7458e98b in start_thread (arg=) at
pthread_create.c:448
#16 0x74612a0c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 55 (Thread 0x7fff9affd6c0 (LWP 131089) "Thread (pooled)"):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x7458b16c in __internal_syscall_cancel (a1=,
a2=, a3=a3@entry=32, a4=, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x7458b7dc in __futex_abstimed_wait_common64 (private=0,
futex_word=0x5565a678, expected=32, op=,
abstime=0x7fff9affc8d0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5565a678,
expected=expected@entry=32, clockid=clockid@entry=1,
abstime=abstime@entry=0x7fff9affc8d0, private=private@entry=0,
cancel=cancel@entry=true) at futex-internal.c:87
#4  0x7458b83f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5565a678, expected=expected@entry=32,
clockid=clockid@entry=1, abstime=abstime@entry=0x7fff9affc8d0,
private=private@entry=0) at futex-internal.c:139
#5  0x7458e0a8 in __pthread_cond_wait_common (cond=0x5565a658,
mutex=0x5565a630, clockid=, abstime=0x7fff9affc8d0) at
pthread_cond_wait.c:421
#6  ___pthread_cond_timedwait64 (cond=0x5565a658, mutex=0x5565a630,
abstime=0x7fff9affc8d0) at pthread_cond_wait.c:478
#7  0x74de02a5 in QWaitConditionPrivate::wait_relative
(this=0x5565a630, deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:58
#8  QWaitConditionPrivate::wait (this=0x5565a630, deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:66
#9  QWaitCondition::wait (this=, mutex=0x568123d8,
deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:146
#10 0x74d3b189 in QThreadPoolThread::run (this=0x581b3870) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadpool.cpp:120
#11 0x74ddbc7a in operator() (__closure=) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:448
#12 (anonymous
namespace)::terminate_on_exception >
(t=) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:373
#13 QThreadPrivate::start (arg=0x581b3870) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:422
#14 0x7458e98b in start_thread (arg=) at
pthread_create.c:448
#15 0x74612a0c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone