https://bugs.kde.org/show_bug.cgi?id=522767
Bug ID: 522767
Summary: oxygen panel opens half-height on 4K monitor with high
dpi
Classification: Plasma
Product: Oxygen
Version First 6.7.2
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
On my 28" 4K monitor with DPI set to 157x161 and global scale 100%, the oxygen
panel opens half-height so that it doesn't extend to the bottom of the screen
and cuts off the information meant to be shown in the panel. It opens
full-height after a system update, but after that, it's half-height.
STEPS TO REPRODUCE
1. Install the Oxygen theme (from the Arch Linux Extra repo) with default
settings.
2. Reboot a couple of times
3. View it on a 4K monitor with dpi 157x161 and global scale 100%
OBSERVED RESULT
The panel is half-height so that it doesn't reach the bottom of the screen,
cutting all information (including icons) in half that should be shown in the
panel.
EXPECTED RESULT
Full-height panel that shows all the information
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): Arch Linux
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
Microsoft Copilot came up with the following solution, which works perfectly on
my system:
sudo mkdir -p
/usr/share/plasma/look-and-feel/org.kde.oxygen/contents/plasmoidsetups
create
/usr/share/plasma/look-and-feel/org.kde.oxygen/contents/plasmoidsetups/panel.qml
with the following in it:
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
Item {
// Force a fixed panel height regardless of DPI
implicitHeight: 40
height: 40
// Required background item for Plasma 6 panels
Plasmoid.fullRepresentation: PlasmaCore.FrameSvgItem {
imagePath: "widgets/panel-background"
anchors.fill: parent
}
}
However, I just noticed that I lost the open-window underline indicator in the
icons-only task manager.
--
You are receiving this mail because:
You are watching all bug changes.