Hey folks,
I've been working on adding a feature to twin which will allow us to do Mac like switching. This has already been a boost in my productivity since completing the patch
For those unfamiliar with the concept, on an Apple computer, they have ALT+Tab and ALt+`. Alt tab functions similarly to ours, but the really good feature is the ALT+`. It allows you to switch between windows of the same application. Instead of having to scroll through a many different applications, you just see the ones on the same type. Example: you want to switch to the Firefox "download" window, and you are currently focused on your main firefox window. A quick Alt+` will switch you back and forth between two, like Alt+Tab operates, to see the tab box hold down Alt+` to view of the same type, and switch between multiple ones you then do the regular old Alt+Tab.
I hope I didn't ramble to much, but it's an very useful feature! Just try it out and see!
I have attached the patches to the bug tracker.
http://bugs.trinitydesktop.org/show_bug.cgi?id=869
Calvin
On 04/16/2012 03:50 PM, Calvin Morrison wrote:
Hey folks,
I've been working on adding a feature to twin which will allow us to do Mac like switching. This has already been a boost in my productivity since completing the patch
For those unfamiliar with the concept, on an Apple computer, they have ALT+Tab and ALt+`. Alt tab functions similarly to ours, but the really good feature is the ALT+`. It allows you to switch between windows of the same application. Instead of having to scroll through a many different applications, you just see the ones on the same type. Example: you want to switch to the Firefox "download" window, and you are currently focused on your main firefox window. A quick Alt+` will switch you back and forth between two, like Alt+Tab operates, to see the tab box hold down Alt+` to view of the same type, and switch between multiple ones you then do the regular old Alt+Tab.
I hope I didn't ramble to much, but it's an very useful feature! Just try it out and see!
I have attached the patches to the bug tracker.
http://bugs.trinitydesktop.org/show_bug.cgi?id=869
Calvin
err lost the subject there, maybe this will make you guys look at it :-)
Calvin
I've been working on adding a feature to twin which
will allow us to do Mac like switching. This has already been a boost in my productivity since completing the patch
For those unfamiliar with the concept, on an Apple
computer, they have ALT+Tab and ALt+`. Alt tab functions similarly to ours, but the really good feature is the ALT+`. It allows you to switch between windows of the same application. Instead of having to scroll through a many different applications, you just see the ones on the same type. Example: you want to switch to the Firefox "download" window, and you are currently focused on your main firefox window. A quick Alt+` will switch you back and forth between two, like Alt+Tab operates, to see the tab box hold down Alt+` to view of the same type, and switch between multiple ones you then do the regular old Alt+Tab.
I hope I didn't ramble to much, but it's an very useful
feature! Just try it out and see!
I have attached the patches to the bug tracker.
I can add this patch to my build sessions.
I'm confused about applying. Which apps are a good test environment?
In Firefox I use Ctrl-Page Up and Ctrl-Page Down to move through tabs. Likewise in Konsole and Konqueror. In Kate I use Alt-Left Arrow and Alt-Right Arrow. Yet all of those are self-contained or MDI apps.
If I am using KWrite, which is SDI, and one of the KWrite windows has the focus, the Alt-` shortcut allows me to cycle through only the KWrite windows?
If I understand correctly, then I if I have a dozen windows open, I use Alt-Tab to focus on the app and then switch to Alt-` to cycle until I find the specific KWrite window I want?
Darrell
I can add this patch to my build sessions.
I'm confused about applying. Which apps are a good test environment?
All applications are good for testing!
In Firefox I use Ctrl-Page Up and Ctrl-Page Down to move through tabs. Likewise in Konsole and Konqueror. In Kate I use Alt-Left Arrow and
Alt-Right Arrow.
Yet all of those are self-contained or MDI apps.
Yes they are self contained but they do not manage windows. This use case gets really important across multiple screens. Firefox can be all in one window, more often than not it is more. Same goes for kate and konsole. I often keep a Konsole open for building, another for all my ssh sessions and so on.
If I am using KWrite, which is SDI, and one of the KWrite windows has the focus, the Alt-` shortcut allows me to cycle through only the KWrite windows?
Yes. Well actually, Initially hit Alt+`, this will let you do the quick switch between two. Once the tab box comes up, you then need to continue to hold down alt, and use tab to rotate.
If I understand correctly, then I if I have a dozen windows open, I use Alt-Tab to focus on the app and then switch to Alt-` to cycle until I find the specific KWrite window I want?
Yes, but you would actually need to let go of the alt button. It's a one way street. You start with Alt+Tab, you're going to be cycling through all the windows. if you start with Alt+` you'll be cycling through just the windows of one type.
The best way to understand it is by trying it out :-)
Calvin
Yes. Well actually, Initially hit Alt+`, this will let you do the quick switch between two. Once the tab box comes up, you then need to continue to hold down alt, and use tab to rotate.
Yes, but you would actually need to let go of the alt button. It's a one way street. You start with Alt+Tab, you're going to be cycling through all the windows. if you start with Alt+` you'll be cycling through just the windows of one type.
I tested this enhancement. The shortcut works. Good job!
There is one noticeable and distinctive difference. Whereas with Alt-Tab I press and hold the Alt key and need release only the Tab key to cycle to each window, I have to release both the Alt and ` key to cycle to the next window. For consistency, I would think the two shortcuts would work the same. That is, I should be able to press and hold Alt and then only release the ` key to cycle through the similar windows. I think you're alluding to that behavior in your previous post, but I'm unsure.
Did not matter whether I started with Alt-Tab to find the app I wanted and then switched to Alt-` or I started directly with Alt-`. I did release the Alt key when wanting to move from Alt-Tab to Alt-`. I found the difference confusing at first and then found the behavior frustrating. Probably 20 years of using Alt-Tab has me expecting that I do not have to release the Alt key and should only release the ` key.
Is there a way to update that behavior? Probably (hopefully) a one one-liner adjustment somewhere is all that is needed?
I want to push to GIT but I'd like to see that behavior fixed, if possible. Overall I like the new shortcut. :) Using the backtick key, which is next to the Tab key is nice too. Is that your idea or the way the Mac shortcut works?
Darrell
On 16 April 2012 23:22, Darrell Anderson humanreadable@yahoo.com wrote:
Yes. Well actually, Initially hit Alt+`, this will let you do the quick switch between two. Once the tab box comes up, you then need to continue to hold down alt, and use tab to rotate.
Yes, but you would actually need to let go of the alt button. It's a one way street. You start with Alt+Tab, you're going to be cycling through all the windows. if you start with Alt+` you'll be cycling through just the windows of one type.
I tested this enhancement. The shortcut works. Good job!
There is one noticeable and distinctive difference. Whereas with Alt-Tab I press and hold the Alt key and need release only the Tab key to cycle to each window, I have to release both the Alt and ` key to cycle to the next window. For consistency, I would think the two shortcuts would work the same. That is, I should be able to press and hold Alt and then only release the ` key to cycle through the similar windows. I think you're alluding to that behavior in your previous post, but I'm unsure.
I'm confused here.
Did not matter whether I started with Alt-Tab to find the app I wanted and then switched to Alt-` or I started directly with Alt-`. I did release the Alt key when wanting to move from Alt-Tab to Alt-`. I found the difference confusing at first and then found the behavior frustrating. Probably 20 years of using Alt-Tab has me expecting that I do not have to release the Alt key and should only release the ` key.
Is there a way to update that behavior? Probably (hopefully) a one one-liner adjustment somewhere is all that is needed?
I think we need to make them operate the same way. It will some time
No one liner, I need to look into it further .
I want to push to GIT but I'd like to see that behavior fixed, if possible. Overall I like the new shortcut. :) Using the backtick key, which is next to the Tab key is nice too. Is that your idea or the way the Mac shortcut works?
I won't pretend I invented it. Apple did one thing right with that shortcut :-)
Calvin
Is there a way to update that behavior? Probably
(hopefully) a one one-liner adjustment somewhere is all that is needed?
I think we need to make them operate the same way. It will some time
No one liner, I need to look into it further.
Ok. Thanks. I'll join the bug report distribution so I know when you post updates.
My apologies that my request means more work. What you have is great work!
Darrell
On 04/16/2012 11:22 PM, Darrell Anderson wrote:
Yes. Well actually, Initially hit Alt+`, this will let you do the quick switch between two. Once the tab box comes up, you then need to continue to hold down alt, and use tab to rotate.
Yes, but you would actually need to let go of the alt button. It's a one way street. You start with Alt+Tab, you're going to be cycling through all the windows. if you start with Alt+` you'll be cycling through just the windows of one type.
I tested this enhancement. The shortcut works. Good job!
There is one noticeable and distinctive difference. Whereas with Alt-Tab I press and hold the Alt key and need release only the Tab key to cycle to each window, I have to release both the Alt and ` key to cycle to the next window. For consistency, I would think the two shortcuts would work the same. That is, I should be able to press and hold Alt and then only release the ` key to cycle through the similar windows. I think you're alluding to that behavior in your previous post, but I'm unsure.
Did not matter whether I started with Alt-Tab to find the app I wanted and then switched to Alt-` or I started directly with Alt-`. I did release the Alt key when wanting to move from Alt-Tab to Alt-`. I found the difference confusing at first and then found the behavior frustrating. Probably 20 years of using Alt-Tab has me expecting that I do not have to release the Alt key and should only release the ` key.
Is there a way to update that behavior? Probably (hopefully) a one one-liner adjustment somewhere is all that is needed?
I want to push to GIT but I'd like to see that behavior fixed, if possible. Overall I like the new shortcut. :) Using the backtick key, which is next to the Tab key is nice too. Is that your idea or the way the Mac shortcut works?
Darrell
Okay I've made a patch that should operate normally!
One gimmie though... it does _NOT_ reverse scroll! I can't figure it out... ALT+SHIFT+` does NOT work! i am perplexed. If I change the settings under keyboard shortcuts to ALT+1 or anything else, it works :|
Any ideas? Tim, maybe you know :-)?
Patch is attached. please test
Calvin
Okay I've made a patch that should operate normally!
Oof! That was quick! I have much on my plate for today but I'll test as soon as practical.
One gimmie though... it does _NOT_ reverse scroll! I can't figure it out... ALT+SHIFT+` does NOT work! i am perplexed. If I change the settings under keyboard shortcuts to ALT+1 or anything else, it works :|
Any ideas? Tim, maybe you know :-)?
No ideas from me. Empathy. I have seen oddball quirks like through the years.
Darrell
One gimmie though... it does _NOT_ reverse scroll! I can't figure it out... ALT+SHIFT+` does NOT work! i am perplexed. If I change the settings under keyboard shortcuts to ALT+1 or anything else, it works :|
Any ideas? Tim, maybe you know :-)?
Calvin,
I'm poking in the dark, but I notice some files in tdelibs that reference Al+Tab and Alt+Shift+Tab:
tdelibs/kutils/kdeglobals.kcfg tdelibs/tdeui/kshortcutdialog_simple.ui
I notice in tdebase/twin there are several files referencing the text strings "AltTabMode" and "AltTabStyle." Possibly the new shortcut needs some similar declarations and references?
I hope that helps. I'm rebuilding now to test the updated patch.
Darrell
Okay I've made a patch that should operate normally!
One gimmie though... it does _NOT_ reverse scroll! I can't figure it out... ALT+SHIFT+` does NOT work! i am perplexed. If I change the settings under keyboard shortcuts to ALT+1 or anything else, it works :|
Any ideas? Tim, maybe you know :-)?
Patch is attached. please test
I tested the updated patch. The guinea pig says squeek, squeek, A-OK.
Only thing remaining then is get the Shift key to work?
Darrell
It might be a qt3 flaw, like they don't handle the key code. I need go look into it more On Apr 17, 2012 11:01 PM, "Darrell Anderson" humanreadable@yahoo.com wrote:
Okay I've made a patch that should operate normally!
One gimmie though... it does _NOT_ reverse scroll! I can't figure it out... ALT+SHIFT+` does NOT work! i am perplexed. If I change the settings under keyboard shortcuts to ALT+1 or anything else, it works :|
Any ideas? Tim, maybe you know :-)?
Patch is attached. please test
I tested the updated patch. The guinea pig says squeek, squeek, A-OK.
Only thing remaining then is get the Shift key to work?
Darrell
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
It might be a qt3 flaw, like they don't handle the key code. I need go look into it more
Ok. Guinea pig standing by.
I presume you saw my previous "poking in the dark" post.
Darrell
I would make sure that there is no other action bound to the keys that you are trying to use, either in Qt or TDE (both call them "Actions"). IIRC it is not possible to use modifier keys (http://en.wikipedia.org/wiki/Modifier_key) alone to trigger an Action due to the way X11 and Qt handle input. This could possibly be fixed, but it would take some work in the Qt Action handler code.
Hope this helps!
Tim
Am 16.04.2012 22:56, schrieb Calvin Morrison:
I have attached the patches to the bug tracker.
http://bugs.trinitydesktop.org/show_bug.cgi?id=869
Calvin
err lost the subject there, maybe this will make you guys look at it :-)
guys, I'm pretty unhappy that you still continue to develop on the KWin fork. This is a functionality recently added to KWin and it is really disappointing to see that our all spare time is wasted by the duplicated efforts.
Can't we try to at least work a little bit together? E.g. if you want to add some functionality to your fork to at *at least* check with us whether we have the functionality? And would it be asked too much if you *at least* try to upstream changes? The complete Alt+Tab functionality in modern KWin is decoupled from KWin core, you could just copy and paste the files and call it a day.
Still I want to point out that the best solution would be to join efforts and dropping the KWin fork in TDE. It would save so much work and KWin master can as of today be build without any further dependencies to kde-workspace, we will soon be able to compile KWin with a different name (already used by Kubuntu for KWin in Plasma Active) and after our feature freeze I will make it possible to create a custom KWin without compiling anything from kde-workspace. That sounds great, doesn't it?
So please let us work together and coordinate the work on the worlds best window manager :-)
Cheers Martin Gräßlin Maintainer of the window manager you forked
On Thu, Apr 19, 2012 at 9:51 PM, Martin Gräßlin mgraesslin@kde.org wrote:
Am 16.04.2012 22:56, schrieb Calvin Morrison:
I have attached the patches to the bug tracker.
http://bugs.trinitydesktop.**org/show_bug.cgi?id=869http://bugs.trinitydesktop.org/show_bug.cgi?id=869
Calvin
err lost the subject there, maybe this will make you guys look at it :-)
guys, I'm pretty unhappy that you still continue to develop on the KWin fork. This is a functionality recently added to KWin and it is really disappointing to see that our all spare time is wasted by the duplicated efforts.
Can't we try to at least work a little bit together? E.g. if you want to add some functionality to your fork to at *at least* check with us whether we have the functionality? And would it be asked too much if you *at least* try to upstream changes? The complete Alt+Tab functionality in modern KWin is decoupled from KWin core, you could just copy and paste the files and call it a day.
Still I want to point out that the best solution would be to join efforts and dropping the KWin fork in TDE. It would save so much work and KWin master can as of today be build without any further dependencies to kde-workspace, we will soon be able to compile KWin with a different name (already used by Kubuntu for KWin in Plasma Active) and after our feature freeze I will make it possible to create a custom KWin without compiling anything from kde-workspace. That sounds great, doesn't it?
That does sound great. Any more dependencies that could only interest KDE4, despite not the core, or would this actually be cleaner now?
Best regards, Tiago
So please let us work together and coordinate the work on the worlds best window manager :-)
Cheers Martin Gräßlin Maintainer of the window manager you forked
------------------------------**------------------------------**--------- To unsubscribe, e-mail: trinity-devel-unsubscribe@** lists.pearsoncomputing.nettrinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.** pearsoncomputing.net trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.** pearsoncomputing.net/ http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.** pearsoncomputing.net/mailing_**lists/#top-postinghttp://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Am 22.04.2012 01:44, schrieb Tiago Marques:
guys, I'm pretty unhappy that you still continue to develop on the KWin fork. This is a functionality recently added to KWin and it is really disappointing to see that our all spare time is wasted by the duplicated efforts.
Can't we try to at least work a little bit together? E.g. if you want to add some functionality to your fork to at *at least* check with us whether we have the functionality? And would it be asked too much if you *at least* try to upstream changes? The complete Alt+Tab functionality in modern KWin is decoupled from KWin core, you could just copy and paste the files and call it a day.
Still I want to point out that the best solution would be to join efforts and dropping the KWin fork in TDE. It would save so much work and KWin master can as of today be build without any further dependencies to kde-workspace, we will soon be able to compile KWin with a different name (already used by Kubuntu for KWin in Plasma Active) and after our feature freeze I will make it possible to create a custom KWin without compiling anything from kde-workspace. That sounds great, doesn't it?
That does sound great. Any more dependencies that could only interest KDE4, despite not the core, or would this actually be cleaner now?
sorry, I don't get the question.
Martin
On 04/16/2012 02:50 PM, Calvin Morrison wrote:
I hope I didn't ramble to much, but it's an very useful feature! Just try it out and see!
no - I guess it's like th F6 and shift+F6 used to be? In mozilla apps, I can still F6 through the different element (like plain tab/shift+tab)
That's kind of the next level down from:
Walk Through Desktops=Win+Tab Walk Through Desktops (Reverse)=Win+Shift+Tab Walk Through Windows=default(Alt+Tab) Walk Through Windows (Reverse)=default(Alt+Shift+Tab) ... Walk Through Dialogs=Alt+. Walk Through Dialogs (Reverse)=Alt+Shift+.
The only problem is it will conflict with the file manager 'Alt+.' show hidden files...
On 04/18/2012 03:20 PM, Darrell Anderson wrote:
Perhaps I misunderstood your post, but Calvin's shortcut is "Alt-`" (backtick --- just above the Tab key) and not "Alt-.".
:)
Darrell
Nope, you understood my post correctly -- I misread Calvin's. Hmm 'Alt+`'. Oh now I see how I did it, my dyslexic mind saw the 'end of sentence' Alt+`. and it registered as a '.' :-)
Nope, you understood my post correctly -- I misread Calvin's. Hmm 'Alt+`'. Oh now I see how I did it, my dyslexic mind saw the 'end of sentence' Alt+`. and it registered as a '.' :-)
I empathize. I have occasional dyslexic moments. :)
Probably all people occasionally have such moments.
Darrell