emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X resource leak?


From: Óscar Fuentes
Subject: Re: X resource leak?
Date: Tue, 20 Jan 2009 13:02:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

Jan Djärv <address@hidden> writes:

>>> Can you tell us if you run KDE with gtk-engine?
>>
>> I use KDE 4.1.3 (on Kubuntu x86_64) and Emacs is configured for using
>> the gtk widgets. It has
>>
>> #define USE_GTK 1 
>>
>> and
>>
>> #define USE_TOOLKIT_SCROLL_BARS 1
>>
>>> Is the toolbar enabled and if so does disabling it make any
>>> difference? Ditto for the scrollbar and menuar.
>>
>> Bingo! After disabling the scroll bar with M-x scroll-bar-mode emacs
>> stops allocating X resources.
>>
>> Switching on/off the menu bar and the tool bar shows no change on
>> the X resource allocation problem, so it is the scroll bar the only
>> culprit.
>
> What is the name of the theme you are using?

I guess you mean the KDE theme. It's the default one (Oxygen) with
desktop effects off, with Cleanlooks widget style.

On System Settings -> Appearence there is a "GTK Styles and Fonts"
group. There, it is selected "Use my KDE style in GTK
applications". After selecting "Use another style:" and in the nearby
option list "Raleigh", the problem goes away (for new emacs sessions,
not for the existing ones). If I choose Qt4 instead of Raleigh, the
problem persists.

Having a workaround for this is great, as Emacs segfaults when the X
resources grow too high, which is after several days of use for me.

OTOH, if I can do something to further diagnose the problem, I'll be
glad to help.

Thanks Jan.

-- 
Oscar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]