discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Tooltips problem on Gnome 3


From: Fred Kiefer
Subject: Re: Tooltips problem on Gnome 3
Date: Mon, 9 Jan 2017 08:25:45 +0100

> Am 09.01.2017 um 08:17 schrieb Germán Arias <germanandre@gmx.es>:
> 
> I run the application with "--GNU-Debug=Frame" and I notice a
> difference when the tooltip is displayed and when this don't happen.
> When the tooltip is displayed the terminal show messages like:
> 
> XW2OW ...
> Window 477383, offsets ........
> 
> But when the tooltip is not displayed the message is:
> 
> XW2OW ...
> 
> and after a half minute (more or less) the terminal show the message
> "Window 83884, offsets ..." and then the tooltip is displayed.

This message comes from the method styleoffsets::::: and just means that the 
window is going to be displayed, for this we need the window border.

> El dom, 08-01-2017 a las 22:25 +0100, Fred Kiefer escribió:
>> It definitely isn’t the architecture or the operation system. I am
>> using OpenSuse (Factory) on AMD 64 as well.
>> The issue here must be the interaction with the window manager. I am
>> using Kein, the KDE window manager and things work alright.
>> 
>> 
>>> Am 08.01.2017 um 07:12 schrieb Germán Arias <germanandre@gmx.es>:
>>> 
>>> OK, finally I tried with WindowMaker and the problem is still
>>> present.
>>> So, this is not a problem related with window managers. Maybe a
>>> problem
>>> with the architecture of my machine? The problem is present in my
>>> laptop with an AMD 64 bits processor (OpenSUSE leap 42.1). But my
>>> desktop PC, an old Intel machine of 32 bits, don have problems.
>>> 
>>> El mar, 20-12-2016 a las 19:55 -0600, Germán Arias escribió:
>>>> El dom, 27-11-2016 a las 19:06 +0100, Fred Kiefer escribió:
>>>>>> Am 27.11.2016 um 07:26 schrieb Germán Arias <
>>>>>> germanandre@gmx.es>:
>>>>>> The value of level in line 2989 at XGServerWindow.m is 101.
>>>>>> The
>>>>> 
>>>>> That is the correct level, we use NSPopUpMenuWindowLevel = 101
>>>>> for
>>>>> tool tips.
>>>>> 
>>>> 
>>>> If I use NSMainMenuWindowLevel instead, this seems to solve the
>>>> problem. Although I don't tested it in other desktops.
>> 
>> This really looks like we need to rework the code in setWindowLevel::
>> to suit modern window managers. I think, I reworked this aboutn ten
>> years ago for the last time. 
>> 
>> 
>> As for this older statement:
>> 
>>> I try changing the options when level == NSPopUpMenuWindowLevel, at
>>> line 3453 at XGServerWindow.m. But I notice all this code is not
>>> execute, the "if" condition at line 3375 is skipped. 
>> 
>> This happens the second time the same window level gets set on a
>> window, as there is nothing to do. If this already happens the first
>> time we set the window level this could be the root of the problem.
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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