[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-08-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

 CC||macr...@gmail.com

--- Comment #11 from Nate Graham  ---
*** Bug 458204 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-08-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

 CC||pl...@mailbox.org

--- Comment #10 from Nate Graham  ---
*** Bug 457554 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-08-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.26|5.25.5

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-08-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |449ae169d823c24601625cc9c2f |f33070a0d94fe7d62fa19fe9ab8
   |3e4e838da7fe3   |864a719ec0ea1

--- Comment #9 from Nate Graham  ---
Git commit f33070a0d94fe7d62fa19fe9ab8864a719ec0ea1 by Nate Graham, on behalf
of David Edmundson.
Committed on 15/08/2022 at 16:15.
Pushed by ngraham into branch 'Plasma/5.25'.

[panelview] Avoid assert if max < min

Max and min are calculated from two completely different sources.

There's scope for them to not be the expected way round.

We have an assert reported on this line due to a subtle qBound ->
std::clamp porting difference on GCC with debug flags on.


(cherry picked from commit 449ae169d823c24601625cc9c2f3e4e838da7fe3)

M  +4-2shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/f33070a0d94fe7d62fa19fe9ab8864a719ec0ea1

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-08-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.25|5.26

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |VHI

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.25

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

 CC||d3dx12...@gmail.com

--- Comment #8 from Nate Graham  ---
*** Bug 457107 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=454064

David Edmundson  changed:

   What|Removed |Added

 CC||m...@abv.bg

--- Comment #7 from David Edmundson  ---
*** Bug 456385 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=454064

David Edmundson  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||449ae169d823c24601625cc9c2f
   ||3e4e838da7fe3

--- Comment #6 from David Edmundson  ---
Git commit 449ae169d823c24601625cc9c2f3e4e838da7fe3 by David Edmundson.
Committed on 29/07/2022 at 12:35.
Pushed by davidedmundson into branch 'master'.

[panelview] Avoid assert if max < min

Max and min are calculated from two completely different sources.

There's scope for them to not be the expected way round.

We have an assert reported on this line due to a subtle qBound ->
std::clamp porting difference on GCC with debug flags on.

M  +4-2shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/449ae169d823c24601625cc9c2f3e4e838da7fe3

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-07-29 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=454064

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1980

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-06-14 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=454064

Patrick Silva  changed:

   What|Removed |Added

Version|5.24.90 |5.25.0
   Keywords||regression

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-05-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454064

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-05-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=454064

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1756

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-05-21 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=454064

David Edmundson  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||k...@davidedmundson.co.uk

--- Comment #3 from David Edmundson  ---
Abort is in:

targetSize = QSize(std::clamp(m_contentLength, minSize, maxSize),
totalThickness());


presumably there's some assert in std::clamp that min < max that's not always
true with our code

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-05-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=454064

Nicolas Fella  changed:

   What|Removed |Added

 CC||niccolo.venera...@gmail.com

--- Comment #2 from Nicolas Fella  ---
Niccolò, you touched that code last, can you look at this?

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

[plasmashell] [Bug 454064] Plasma crashes when I set display scale to 125% on Wayland

2022-05-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=454064

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #1 from Nicolas Fella  ---
Please paste backtraces inline for better searchability

Thread 1 (Thread 0x7fa996e8e5c0 (LWP 22102)):
#0  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x7fa99b7723d3 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#2  0x7fa99b722838 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x7fa99da8f840 in KCrash::defaultCrashHandler(int) (sig=6) at
/usr/src/debug/kcrash-5.94.0/src/kcrash.cpp:633
#4  0x7fa99b7228e0 in  () at /usr/lib/libc.so.6
#5  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x7fa99b7723d3 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#7  0x7fa99b722838 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x7fa99b70c535 in __GI_abort () at abort.c:79
#9  0x7fa99b9c3002 in std::__glibcxx_assert_fail(char const*, int, char
const*, char const*) (file=file@entry=0x555c0abc48b8
"/usr/include/c++/12.1.0/bits/stl_algo.h", line=line@entry=3623,
function=function@entry=0x555c0abc4860 "constexpr const _Tp& std::clamp(const
_Tp&, const _Tp&, const _Tp&) [with _Tp = int]",
condition=condition@entry=0x555c0abc4653 "!(__hi < __lo)") at
/usr/src/debug/gcc/libstdc++-v3/src/c++11/debug.cc:60
#10 0x555c0ab7e8a0 in std::clamp(int const&, int const&, int const&)
(__val=, __lo=, __hi=) at
/usr/include/c++/12.1.0/bits/stl_algo.h:3621
#11 std::clamp(int const&, int const&, int const&) (__hi=: , __lo=: ,
__val=@0x555c0d0e0bd4: 2261) at /usr/include/c++/12.1.0/bits/stl_algo.h:3621
#12 PanelView::resizePanel() (this=this@entry=0x555c0d0e0b90) at
/usr/src/debug/plasma-workspace-5.24.90/shell/panelview.cpp:620
#13 0x555c0ab7fac5 in PanelView::setThickness(int)
(this=this@entry=0x555c0d0e0b90, value=) at
/usr/src/debug/plasma-workspace-5.24.90/shell/panelview.cpp:260
#14 0x555c0ab8417c in PanelView::restore() (this=0x555c0d0e0b90) at
/usr/src/debug/plasma-workspace-5.24.90/shell/panelview.cpp:661
#15 0x7fa99bde6791 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd3a8c01c0, r=, this=0x555c0db69b90, this=, r=, a=) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate(QObject*, int, void**) (sender=0x555c0c6cd180,
signal_index=3, argv=0x7ffd3a8c01c0) at kernel/qobject.cpp:3886
#17 0x7fa99c55fdf7 in QScreen::geometryChanged(QRect const&)
(this=, _t1=) at .moc/moc_qscreen.cpp:372
#18 0x7fa99c1b61ed in QScreenPrivate::emitGeometryChangeSignals(bool, bool)
(this=0x555c0c6cfde0, geometryChanged=,
availableGeometryChanged=) at kernel/qscreen.cpp:92
#19 0x7fa99c194787 in
QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent*)
(e=) at kernel/qguiapplication.cpp:3176
#20
QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent*)
(e=) at kernel/qguiapplication.cpp:3155
#21 0x7fa99c173945 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags)
(flags=...) at kernel/qwindowsysteminterface.cpp:1169
#22 0x7fa999a66fa5 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () at /usr/lib/libQt5WaylandClient.so.5
#23 0x7fa99a184163 in g_main_dispatch (context=0x555c0c6d1a30) at
../glib/glib/gmain.c:3417
#24 g_main_context_dispatch (context=0x555c0c6d1a30) at
../glib/glib/gmain.c:4135
#25 0x7fa99a1da9e9 in g_main_context_iterate.constprop.0
(context=context@entry=0x555c0c6d1a30, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/glib/gmain.c:4211
#26 0x7fa99a1816c5 in g_main_context_iteration (context=0x555c0c6d1a30,
may_block=1) at ../glib/glib/gmain.c:4276
#27 0x7fa99be007bc in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x555c0c6d1d80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x7fa99bdae79c in
QEventLoop::exec(QFlags) (this=0x7ffd3a8c0520,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x7fa99bdb92a9 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x7fa99c184fd2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#31 0x7fa99ca05e8a in QApplication::exec() () at
kernel/qapplication.cpp:2829
#32 0x555c0ab670e5 in main(int, char**) (argc=,
argv=) at
/usr/src/debug/plasma-workspace-5.24.90/shell/main.cpp:240

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