GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Dec 21, 2014 6:53 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Problem with vertical spacing (GTK2)
PostPosted: Sat Feb 04, 2012 5:06 am 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
I've taken a screen-shot of application (text editor) a week ago (left window) and the same application now (right window):

http://i.imgur.com/kKjCs.png

New appearance is no good, rows are too condensed. It's not just problem in particular editor but i.e. Firefox 10 dropdown address-bar history is condensed and lower edges of font (~1px) is cut. It's same in Eclipse too, and Nautilus side panel (places pane). Probably elsewhere also. Something has changed vertical spacing globally

I'm on Ubuntu 11.04.
I first thought it's some setting in current theme's gtkrc, but changing themes does not change this unwanted behaviour, unless using some spartan non GTK2 theme, so there is problem

Any pointers much appreciated
Thanks


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sat Feb 04, 2012 7:44 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 799
Location: UK
Hi,

The most likely things to affect the appearance of anything globally are theme settings, font settings etc.

You have not stated what changes have happened to your system apart from a date gap of one week. This is not really enough information to help anyone. For example - Have you recently upgraded your system? Have you changed some setting some where with out knowing?, Have you changed the type of desktop you are now using? Have you switched to using Unity?

_________________
E.


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sat Feb 04, 2012 8:22 am 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
I didn't wanted to suspect as it would complicate things, plus I feel stupid I've done that
I tried to install gnome-shell - for who knows what reason - from gnome3 launchpad PPA:

Code:
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gnome-shell
sudo apt-get install gnome-session


After I realised I made mistake, I purged:

Code:
ppa-purge ppa:gnome3-team/gnome3
sudo apt-get update


and reverted system system to previous state. Everything seems fine except this problem, and I don't know where to look as it could be just anything

I thought that maybe there is some global setting accessible through gconf or similarly, but I'm afraid there is no such setting


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sat Feb 04, 2012 2:16 pm 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
I deleted:

Code:
~/.gnome/
~/.gnome2/
~/.gconf/
~/.gconfd/


so that settings are reset, but without solving this issue


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sun Feb 05, 2012 7:42 am 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
Well, does someone maybe know how I can set "row" height in gtkrc file?


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sun Feb 05, 2012 11:06 am 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hi.

Have you tried switching your theme? This should give you some indication whether the problem lies with GTK+ settings or theme-related stuff. I must say I'm not too familiar with Ubuntu (the patch GTK+ too much for my taste), so there could be other issues as well.

Cheers,
Tadej


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sun Feb 05, 2012 12:44 pm 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
Yes, I wrote in first post, it's same with any theme

I reset also dconf setting by deleting relevant folders in ~/.config, but no luck

Currently I managed to solve one issue - Nautilus side pane vertical spacing, by editing current theme gtkrc file and adding:

Code:
GtkTreeView::vertical_separator = 2

I would like to know how can I do the same for GTK widgets that are responsible for text editors and additionally for inputbox control and Firefox dropdown addressbar history :D

One other thing also, if it's not obvious, if I run GUI application as root, there are no issues, same as with guest session
I don't know what other setting in my profile folder can affect this things. I think that I reset everything that was obvious to me, but without desired result

Here is screenshot of same editor run at current profile (left) and as root (right):

Image


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sun Feb 05, 2012 1:13 pm 
Offline
Familiar Face

Joined: Mon Aug 01, 2011 3:57 pm
Posts: 10
errol wrote:
The most likely things to affect the appearance of anything globally are theme settings, font settings etc.


Thanks God I re-read this thread more carefully and noticed errol mentioning font setting. That was the issue and not my gnome-shell adventure, which happened in same day

I got Google font pack and used Font Manager to browse it. I added folder in Font Manager w/o knowing that these fonts would be treated as installed. And I'm talking about 1GB font pack of "various" quality which I imagine must have influenced my OS performance (thou I didn't noticed it)

So after removing this folder from Font Manager everything got back to normal

Happy cube again :)

Cheers


Top
 Profile  
 
 Post subject: Re: Problem with vertical spacing (GTK2)
PostPosted: Sun Feb 05, 2012 6:10 pm 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 799
Location: UK
:) Always a good idea to keep track of what you have done to your system!

_________________
E.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group