Not logged in. · Lost password · Register
Forum: Community Bugs RSS
Focus issues

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
x656b694d #1
Member since 01/2008 · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: Focus issues
Hello,

we discussed several focus issues here:
http://forum.psi-im.org/post/33990
they are annoying bugs, so i'm writing here.

I noticed that the issue with switching focus to the newly opened chat window by hitting Enter on a contact works, thanks for that!!
But new incoming messages opened by shortcuts still not in focus.

Thanks!
-Mike
Avatar
michalj (Moderator) #2
Member since 04/2004 · 2277 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Could you please check whether these focus issues still exist in newly released Psi-0.12-RC4?
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
x656b694d #3
Member since 01/2008 · 18 posts
Group memberships: Members
Show profile · Link to this post
It does.
I'm at revision 1172 and still have to switch manually to the chat window every time a message arrives.
BTW, i experience this problem not only when using shortcuts, but also by clicking on the popup notification window.

Psi v0.12-RC4, Ubuntu 8.10, Qt 4.4.0.

Regards,
-Mike
Avatar
infiniti (Administrator) #4
Member since 09/2002 · 1434 posts · Location: California, USA
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
I have similar issues on my system, Ubuntu 8.04.  What's weird is that if you already have a chat window open with a contact, but it does not have focus, if you press Enter on the contact in your roster then the chat window gets focus but is not raised.  If you double click on the contact in the roster then the chat window flags itself for attention in the taskbar, but does not raise or take focus.  Why the mouse and keyboard create different effects, I don't know, since the code in Psi is surely the same either way.

I have a feeling this is Qt and the window manager battling.  I'll see what I can do.
-Justin
debianuser #5
Member since 01/2007 · 86 posts
Group memberships: Members
Show profile · Link to this post
I'll see what I can do.
Great! I have the same problem. (Debian SID)
I have a feeling this is Qt and the window manager battling.
Yes, I think so, too. I use Gnome here and here are many focus problems with Psi. :(
Two examples: If I do not set "Roster window always on top" then I cannot see the roster when another window is full-screen. Even if this window has no focus.
If I set "Roster window always on top" and try to add a new account then the "new account" window appears directly behind the "accounts" window, so I cannot see, that there is a new window.
debianuser #6
Member since 01/2007 · 86 posts
Group memberships: Members
Show profile · Link to this post
And one more issue:
"Everything" depends on the "Roster window always on top" option.
If "Roster window always on top" is enabled and I close the Psi roster and click on the docklet Psi appears again. Psi is in the foreground. If I click then on another application (e.g. liferea or rhythmbox) I minimizes before that to the panel that application should maximize and fulfill the screen. But then appears the same problem as with the chat windows. I can't see them, because they appear behind all other windows and I only see them on the bottem panel, where the title is shown. It should appear on the foreground but only behind the Psi roster.
If "Roster window always on top" is not enabled and I click on liferea or so then everything works as expected. (liferea gets focus).
I think this has to do with the chat windows issue.
debianuser #7
Member since 01/2007 · 86 posts
Group memberships: Members
Show profile · Link to this post
This belongs to the issue (I want to be able to edit my posts :$ ):
If "Roster window always on top" is not enabled  and I have another window open, a browser or a folder, and this has the focus and the window is on the place, where Psi should appear and I click on the Psi docklet, Psi appears behind this oher window. Psi should appear in front of the other windows, but has to go to the background if I click on another window. So does every software behave.
If "Roster window always on top" is not enabled Psi goes automatically as far as in the background aspossible. That is wrong I think.
Is it kind of clear what I try to say? If not, say something and I can create a video to show the issues.
Thanks!

(Hopefully 0.12 gets released soon so work on 0.13 can begin, I am not sure if its a good idea to change focus code so near to a release. And obviously not everyone has these issues.)
debianuser #8
Member since 01/2007 · 86 posts
Group memberships: Members
Show profile · Link to this post
And I just found out, that the option "show roster as a "tool window"" or similar has to be enabled. If this is disabled (If Psi has a normal window) then it works as expected. Sorry for so many posts :(
x656b694d #9
Member since 01/2008 · 18 posts
Group memberships: Members
Show profile · Link to this post
Hi,

The enter-on-contact problem is back. When i press enter on a contact i then have manually change focus to the chat window.
I'm at revision 1197 now and still have the issues i mentioned in the first post of this thread. So sad :(

Ubuntu 8.10, Qt 4.4.1 here.

Regards,
-Mike
This post was edited 2 times, last on 09-12-2008, 18:25 by x656b694d.
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 10-11-2008, 22:04:54 (UTC -04:00)