Bug 506653 - Button "Terminate Process" doesn't fit in window
Summary: Button "Terminate Process" doesn't fit in window
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-05 21:32 UTC by Alexander Potashev
Modified: 2025-08-23 21:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.5
Sentry Crash Report:


Attachments
screenshot ru_RU (102.61 KB, image/png)
2025-07-05 21:32 UTC, Alexander Potashev
Details
screenshot ru_RU (385.61 KB, image/png)
2025-08-20 21:08 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2025-07-05 21:32:21 UTC
Created attachment 182988 [details]
screenshot ru_RU

SUMMARY
Button "Terminate Process" doesn't fit in window.

STEPS TO REPRODUCE
1. Select some processes.
2. Press Delete.
3. 

OBSERVED RESULT
Confirmation dialog has button "Terminatee Process", however it's not fully visible.

EXPECTED RESULT
Button should be visible.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.2
Kernel Version: 6.13.11-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor 1: Intel® HD Graphics 530
Graphics Processor 2: NVIDIA GeForce GTX 960M


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-08-20 18:28:15 UTC
In this state, if you make the window wider, does the dialog become larger and make enough room to fit the buttons?
Comment 2 Alexander Potashev 2025-08-20 21:08:30 UTC
Created attachment 184301 [details]
screenshot ru_RU

Yes, it fits in a wider window.
Comment 3 Nate Graham 2025-08-22 18:36:14 UTC
Right, makes sense. I see what's going on here. The dialog does allocate enough space for itself to show all the buttons during normal situations, but when the window is reduces in size, it has to reduce in size too, so the buttons get cut off.

The problem is there would actually be more space if the popup centered on the window, not on the view. Probably simplest to just do that.
Comment 4 Nate Graham 2025-08-22 19:02:49 UTC
Should be fixed with https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/380.
Comment 5 Nate Graham 2025-08-23 20:22:39 UTC
Since the Bugzilla bot is still not working, this was fixed by me with https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/1c7872b300e516d38e123fc988a69690af7ac8eb in Plasma 6.4.5.
Comment 6 Nate Graham 2025-08-23 21:37:00 UTC
Git commit cecf2ca1cc76f3bb0979abfac972e4a33d21554a by Nate Graham.
Committed on 23/08/2025 at 20:20.
Pushed by ngraham into branch 'Plasma/6.4'.

Center "Kill process/application" dialog in window, not view

When it's centered on the view, there may not be enough room to fit all
the buttons if the user makes the window small when usign a language
with long words, like Russian.
FIXED-IN: 6.4.5


(cherry picked from commit 1c7872b300e516d38e123fc988a69690af7ac8eb)

Co-authored-by: Nate Graham <nate@kde.org>

M  +2    -0    src/table/KillDialog.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/cecf2ca1cc76f3bb0979abfac972e4a33d21554a
Comment 7 Nate Graham 2025-08-23 21:37:47 UTC
Git commit 1c7872b300e516d38e123fc988a69690af7ac8eb by Nate Graham.
Committed on 22/08/2025 at 18:46.
Pushed by ngraham into branch 'master'.

Center "Kill process/application" dialog in window, not view

When it's centered on the view, there may not be enough room to fit all
the buttons if the user makes the window small when usign a language
with long words, like Russian.
FIXED-IN: 6.4.5

M  +2    -0    src/table/KillDialog.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/1c7872b300e516d38e123fc988a69690af7ac8eb