Re: Main window position

"George L. Yermulnik" <[email protected]> Thu, 29 Dec 2011 15:36:11 +0200
Newsgroups gmane.network.licq.general
Message-ID <[email protected]>
Hello!

On Thu, 29 Dec 2011 at 14:19:27 (+0100), Anders Olofsson wrote:

> >>>> If it's not too bad-mannered, I'd like to ask you to take a look at
> >>>> another issue I have here on my sendbox. It's not a fault or something
> >>>> like that, but is very annoying: after upgrading from 1.3.x to 1.5.x
> >>>> each time I open the main contact list window from a systray it goes up
> >>>> vertically for exactly half a centimeter. Maybe it's not because of any
> >>>> Licq components. So I'm just asking for your opinion =)

> >>> Did you use Qt4-Gui with 1.3.x so you can tell if the problem appeared
> >>> with the new Licq version and not the switch to Qt4?

> >> I can't recall which Qt version I had been using before upgrading to
> >> 1.5.x =( That happened along with installing my new workstation from
> >> scratch. But I surely remember that this behaviour appeared exactly
> >> after upgrading to 1.5.0.

> >>> Which window manager are you using?

> >> Enlightenment (E16) 1.0.10

> Never used it. I'll install it and see if I get the same behavior.

Ok, thanx a lot.

> >>> Does it happen if you just minimize and restore it normally to the taskbar?

> >> Nope, it doesn't. It happens only when left-clicking on Licq tray icon
> >> to show/hide main window.
> >> I've noticed another "side effect": with main window opened first tray
> >> icon click sets window to sticky state and only the second click hides
> >> the window.
> >> Log message is:
> >> <timestamp>  [INF] qt4 gui: Setting Sticky state of window 0x28000ca to true

> >> It's not that critical and I almost got used to this behavior. So If I'm
> >> the only one reporting such a "bug", guess it doesn't worth your
> >> attention as it might be because of some misconfiguration of my WM or
> >> anything like that =)

> The logic when clicking the system tray is to hide the main window only 
> if it is already the active window. So if the main window is visible, 
> but not active, it will only be raised. The sticky flag is always set 
> when showing regardless if the window was hidden before.

Oh, I see. Then everything is ok and works as it is supposed to =)

> Do you need to click twice even when the main window already is in focus 
> or is there something else in focus when you see this behavior?

Everything works as you described above: first click focuses the window
and second one hides the window. Only one click needed if the main
window already has focus. Is it a new behavior in 1.5.x? I can't
remember that in 1.3.x. So that made me think this is some kind of "bug"
=)

> If you disable the "Sticky main window" setting, does the main window 
> still get placed too high?

Yes, it does =(

> >>>> And a feature request =) Is it possible to add possibility to toggle
> >>>> main contact list window state (open/close) via licq_fifo?

> I've added fifo commands "ui_showuserlist" and "ui_hideuserlist" as new 
> features for future Licq 1.7.0.

Thanx! =)
May I ask you for a diff to try it with my 1.5.1?

> >> And one more "feature" request =)
> >> Can you please add "//IGNORE" for `tocode' of iconv_open() in src/licq-osd.cpp ?
> >> It should make iconv silently discard unconvertable chars instead of
> >> failing itself at all.

> Fixed, also for 1.7.0.

Thank you very much =)

> > I catched some kind of "crash" with my mailbox, so I'd like to ask if I
> > missed your answer or there were no answer yet? =)

> No, you didn't miss anything. I was away during christmas and just 
> forgot this thread so it's a good thing you reminded me.

=)
Happy New Year and Marry Christmas =) And thank you one more time for
your help =)

> /Anders

-- 
George L. Yermulnik
[YZ-RIPE]