Version: (using Devel) OS: Linux Installed from: Compiled sources KMessageBox forces the ScrollArea to have a transparent background (for example to fit with custom backgrounds like the oxyegn gradient). Unfortunately also the scrollbars are affected and especially Plastique's but also Oxygen's scrollbars don't look as expected. Instead only the viewports palette should be modified, if at all. examples: kdialog --msgbox "`cat Makefile`" --style=plastique kdialog --msgbox "`cat WhateverFile`" --style=oxygen
Created attachment 28145 [details] patch from KDE/kdelibs/kdeui Here's a proposal patch
Patch looks good to me. Though I'm not sure if this line is required at all: + if (messageScrollArea->viewport()) + { (if it is, please write as: + if (messageScrollArea->viewport()) { )
Created attachment 28161 [details] updated patch You're right, that check doesn't make much sense :) I was just a bit paranoid :P
SVN commit 876135 by huynhhuu: Fix graphical errors with some styles. We only need to set the viewport transparent, not the scrollbars. BUG: 173546 M +1 -1 kmessagebox.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=876135