Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem with rounded corners using QtCurve
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Thu Jan 10, 2013 5:25 pm    Post subject: [SOLVED] Problem with rounded corners using QtCurve Reply with quote

After ten years as happy gentoo user, time has come to activly ask on this forum: :)

Since a few weeks I'm having the following strange problem with QtCurve:
Rounded corners (of buttons or input boxes) and radiobuttons look strange/
wrong/ugly in GTK applictions (like Qalculate).
They do look correct in KDE applications.

Sample Screenshot: http://imgur.com/SqpIC

Steps to reproduce:
1. emerge x11-themes/gtk-engines-qtcurve x11-themes/qtcurve-qt4
2. set KDE widget style to "QtCurve"
3. load QtCurve preset "Flat" (also happens with other presets)
4. set gtk2 theme to "QtCurve"
5. start Qalculate, Firefox or Thunderbird

I had this problem on my old gentoo installation on this computer. When I did a
complete new installation last month, I encountered this problem again.

My current installation is up to date. I did an "emerge -vuND world" this morning.
"revdep-rebuild" did not complain anything. "dispatch-conf" does not list
outstanding replacements.

I do not use any portage overlays nor have I installed unstable packages.

Testing this issue with a kubuntu live DVD on my computer worked flawless.
So it does not seem to be a hardware problem or a problem with KDE 4.9.x and
QtCurve in general.

Moving the mouse cursor over the radiobuttons triggers a hover event and the radio
buttons get redrawn. After this, the radiobuttons look nice.
This does not work for the "rounded corners".

Any ideas, how to fix this or at least how to investigate further?


Last edited by palbr on Sun Jan 13, 2013 9:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3205

PostPosted: Fri Jan 11, 2013 3:36 am    Post subject: Reply with quote

They look fine here, see http://i.imgur.com/MPG3p.jpg

The applications other than the qtcurve and kde setting dialog are all gtk applications - rox, lxappearance, and a font dialog. Maybe you need to set a system wide antialiasing from your graphics drivers?
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sat Jan 12, 2013 11:34 am    Post subject: Reply with quote

Thanks for your reply!
Nice to see, it is neither a gentoo-specific bug.

I've been searching for an hour about turning on anti-alias. But all I get are ways to enable font-anti-alias.
But fonts already look anti-aliased in GTK applications.

It confuses me that the radiobuttons look nice after the get repainted due to a mouse hover event.

Another point:
- Radiobuttons in the default GTK 3 theme "Emacs" also do not look nice: http://imgur.com/D3lR9
(although mouse hover events do not heal those)
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3205

PostPosted: Sat Jan 12, 2013 11:48 am    Post subject: Reply with quote

palbr wrote:
I've been searching for an hour about turning on anti-alias. But all I get are ways to enable font-anti-alias.
But fonts already look anti-aliased in GTK applications.
I am not sure how to turn it on for other drivers. For binary nvidia drivers there are options to turn on antialising and texture sharpening for all applications, irrespective of the individual application settings. I suppose it makes some difference. I don't know if it internally sets only the font antialiasing.

It might also be some compile time setting. I am not sure how or why you are getting those aliased edges. If it helps you, here are the USE flags output from emerge --info:
Code:
USE="X a52 aac accessibility acl acpi akonadi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl curlwrappers cxx dbus djvu dri dts dvd dvdr encode exif fam fbcon ffmpeg flac fontconfig ftp fuse g3dvl gdbm gif gnutls gphoto2 gpm gstreamer gtk iconv ieee1394 imagemagick jpeg lame latex lcms ldap libsamplerate lzma mad mmap mmx mmx2 mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses networkmanager nls nptl ogg opengl openmp oss pam pango pch pcmcia pcre pdf plasma png policykit ppds pppd qt3support qt4 readline replaygain samba savedconfig sdl session smp speex spell sqlite srt sse sse2 ssl ssse3 svg system-sqlite taglib tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vim-syntax vorbis wicd wifi wmf x264 xattr xcf xcomposite xft xinerama xml xosd xpm xv xvid yv12 zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sat Jan 12, 2013 2:01 pm    Post subject: Reply with quote

Thanks for your USE-Flag list. I compared them to mine. But I could not find difference which look graphics-related. Best candidates were "xft" and "mmap". But these are not used by my installation.

I could compare the whole installed package tree, but this would be a bit too much. ;)

Could you post your output of "eselect mesa list", please?
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sat Jan 12, 2013 2:03 pm    Post subject: Reply with quote

Another interesting point:
The oxygen-gtk theme also does not work flawless on my system. Again the radio buttons (and the checkboxes) in GTK do not look as those in KDE.

See screenshot: http://imgur.com/L73kM

On my Kubuntu LiveDVD those two Control look exactly the same.

Compared to Kubuntu, the GTK controls are "wrong".
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3205

PostPosted: Sat Jan 12, 2013 2:32 pm    Post subject: Reply with quote

I don't know what's up with all that. Looks like a generic problem on your system. Try setting up a new test user and check if you have similar problems with the new user.
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sat Jan 12, 2013 9:13 pm    Post subject: Reply with quote

ppurka wrote:
Try setting up a new test user and check if you have similar problems with the new user.

A new created test user suffers from the same problem.

ppurka wrote:
I don't know what's up with all that.

No problem. Luckily it is only an little (but annoying) optical problem.

But thanks a lot for your time and ideas!
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sat Jan 12, 2013 9:32 pm    Post subject: Reply with quote

I asked for help at: QtCurve's webpresence at kde-look.org
Back to top
View user's profile Send private message
CkoTuHa
n00b
n00b


Joined: 27 Mar 2009
Posts: 74

PostPosted: Sun Jan 13, 2013 3:06 pm    Post subject: this solves it Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=444258
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3205

PostPosted: Sun Jan 13, 2013 3:15 pm    Post subject: Re: this solves it Reply with quote

CkoTuHa wrote:
https://bugs.gentoo.org/show_bug.cgi?id=444258
Wow. So, it was indeed a driver bug!
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
palbr
n00b
n00b


Joined: 10 Jan 2013
Posts: 8

PostPosted: Sun Jan 13, 2013 9:03 pm    Post subject: Re: this solves it Reply with quote

CkoTuHa wrote:
https://bugs.gentoo.org/show_bug.cgi?id=444258

Indeed: I had version 2.20.13 installed. And emerging x11-drivers/xf86-video-intel-2.20.15 solved my problem.
(Version 2.20.14 is no more in the portage tree.)

Code:
 _____ _                 _                  _       _   _
|_   _| |__   __ _ _ __ | | _____    __ _  | | ___ | |_| |
  | | | '_ \ / _` | '_ \| |/ / __|  / _` | | |/ _ \| __| |
  | | | | | | (_| | | | |   <\__ \ | (_| | | | (_) | |_|_|
  |_| |_| |_|\__,_|_| |_|_|\_\___/  \__,_| |_|\___/ \__(_)

Thanks a lot! This bug drove me almost crazy!

This forum is great! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum