Bug 162228 - Yakuake focus to switch between split-screen sessions as in KWin (e.g. focus under mouse)
Summary: Yakuake focus to switch between split-screen sessions as in KWin (e.g. focus ...
Status: RESOLVED FIXED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-17 19:39 UTC by Matija Šuklje
Modified: 2020-01-18 17:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2008-05-17 19:39:34 UTC
Version:            (using KDE 3.5.9)
Installed from:    Gentoo Packages

I've been trying to use Yakuake for several times and have always been turned off by the same thing.

When I use terminal emulators I tile them (either in KDE using Quadkonsole or several terminal windows open in a tiling WM) and dedicate one desktop to only that. This is to have a better overview over all the terminals and to quickly go from one to another. For this I use in KWin (and other WMs) focus following the mouse.

From what I saw, a full-screen always-on-top Yakuake with split-screen bound to only one desktop would be perfect for my needs ...if it wasn't for the focus on left-click.

What happens now:
* I need to left-click into the session/part of the screen in order to get its focus

What I would expect:
* Focus between split-screen sessions should follow the mouse cursor. Or better yet, follow the same focus rules as the user set in the KWin settings.
Comment 1 Eike Hein 2008-05-21 14:53:23 UTC
SVN commit 810725 by hein:

* Add an option to focus individual sub-terminals as the mouse pointer is
  moved over them.
BUG:162228
* Correct some includes.


 M  +3 -1      ChangeLog  
 M  +18 -18    app/config/behaviorsettings.ui  
 M  +7 -0      app/config/yakuake.kcfg  
 M  +1 -1      app/skin.cpp  
 M  +3 -3      app/tabbar.cpp  
 M  +9 -2      app/terminal.cpp  
 M  +3 -3      app/titlebar.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=810725
Comment 2 Matija Šuklje 2008-05-22 00:49:46 UTC
Thanks :)
Comment 3 Eike Hein 2008-05-22 11:56:37 UTC
FWIW, I decided against reading out the kwin setting because:

a) ... it would create a dependency against an external config file name and config key staying the same. The likelyhood that it will is high, but there's still a risk of it breaking.

b) ... the application-local setting would have been needed anyway since not everyone is using Yakuake in KDE and might not have kwin or System Settings/KControl around, or maybe they want to use this mode independently of their window manager setting.

So, it's an option under "Behavior" in the config dialog.
Comment 4 Matija Šuklje 2008-05-22 12:09:28 UTC
Thanks for the explanation. It does make more sense to put it outside KWin, when you think about it. I just found another reason: some users might want to use the focus under mouse inside Yakuake sessions, but still use e.g. focus on click in their KWin settings.
Comment 5 Eike Hein 2008-05-22 12:16:01 UTC
Yeah, that was the "or maybe they want to use this mode independently of their window manager setting" in my last sentence :P :).
Comment 6 Matija Šuklje 2008-05-22 12:40:42 UTC
Whoops ...I really need to start going to sleep earlier O_o