History log of /haiku/src/servers/app/stackandtile/StackAndTile.cpp
Revision Date Author Comments
# ceafe5b4 14-Feb-2014 John Scipione <jscipione@gmail.com>

Fix 2 shortcut bugs, one in Web+, one in S&T

It's really 2 instances of the same bug, we only want to consider a
fixed set of modifier keys ignoring the lock keys and left/right keys.


# b9590dc9 06-Feb-2014 John Scipione <jscipione@gmail.com>

S&T: Activate S&T when only option down

and not any other modifier such as command or control or shift.

Fixes #10511

We need to be more strict here because Tracker defines Cmd+Opt+Up and
Cmd+Opt+Down shortcuts, S&T shouldn't override them.


# 8197db54 29-Jan-2014 John Scipione <jscipione@gmail.com>

S&T: Add the arrow key tab nav back

This undoes the partial fix to #9431, both sets of shortcuts are supported
for the time being. This mirrors the functionality of ctrl+arrows and
ctrl+tab/ctrl+shift+tab to cycle through apps and windows via Twitcher.

We really need system keybinding settings to fix #9431 properly.


# fb6ab24a 18-Jan-2014 John Scipione <jscipione@gmail.com>

Update S&T copyright headers


# 94d4c319 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Update S&T window group navigation

Partially fixes #9431

Cycle through tabs in current S&T group with option+tab and backwards
with option+shift+tab
Cycle through S&T groups with option+PgDn and backwards with option+PgUp

This change allows apps to once again use option+arrows when inside of a S&T group
The problem isn’t truely fixed though, just moved to different shortcuts that hopefully will
conflict in fewer applications.

I also made some improvements to how S&T cycling works.

A single window is now considered to be part of a S&T group for the purposes
of cycling through S&T groups.

We loop around when you get the last tab/group.

When you cycle through S&T groups it remembers the active tab in the group
instead of always activating the first tab.


# 5002366c 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server, a few more style fixes


# cdffe361 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Move empty destructor to header.


# 3779f5cf 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Style fixes only

* 80 char limit fixes
* remove leading tabs/spaces
* Add some helpful pragmas
* Add some newlines to separate stuff
* Compare pointers to NULL explicitly


# 27b76737 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Fix typo

WindowActitvated => WindowActivated


# 815ae798 25-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

StackAndTile: deferencing occuring before null check (CID 743845)


# 6078d891 06-Nov-2012 czeidler <haiku@clemens-zeidler.de>

Move stacked windows to a different workspace correctly.

When moving a window of a stacked window group to a different workspace all windows in the stack have to be moved. This fixes #8855.


# 24ad8261 05-Nov-2012 czeidler <haiku@clemens-zeidler.de>

Integrate patch from jessicah #8937. Thanks!

- navigate in a single S&T group using (win + left and right arrows)
- minor fixed to the patch
- enable switching between S&T groups on the same desktop again (win + up and down arrows)

Hope window key + arrow keys does not collide with to many apps?


# 83092a04 31-Aug-2012 czeidler <haiku@clemens-zeidler.de>

Fix hrev42632.

This really implements WindowSentBehind.


# d240743e 28-Nov-2011 czeidler <haiku@clemens-zeidler.de>

- The SATGroup has been deleted to early, that probably causes #8103. Holding a reference on the WindowArea (which hold a ref to the group) extends the lifetime till we are done.
- Fix some stayBelowMouse flags.


# f33cf3fd 13-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Activating all windows in a stack caused flickering. The reason to activate all windows was to get all windows form a stack into the upper window layers, otherwise it was possible that the top layer stack window is activated but another window in the stack is at the bottommost layer position. Sending this window to the back does not triggered sending the complete stack to the back. The send behind call is now redirected to the top most stack window to ensure the stack is send behind.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42632 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd67c205 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Only remove a window from the S&T group when the hide event is not triggered by a minimize call.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42611 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57e0263c 03-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Don't remove the window if there is only one window in the group. Fixes #7884.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55fbf11f 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

If a window is hidden remove it from the S&T group. This happens when MediaPlayer goes fullscreen. Maybe not optimal but at least consistent with terminal which also left the S&T group in fullscreen mode. This is because the terminal has no decorator in fullscreen mode and thus can't be stacked any more (maybe this should be solved in the future...). Fixes #7895, #7896.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 27f5d579 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix coding style pointed out by Axel. Thanks for the array trick haven't known this one :-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42539 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ceafe5b48a249b02738ad4ad22d95e74f94c9c8f 14-Feb-2014 John Scipione <jscipione@gmail.com>

Fix 2 shortcut bugs, one in Web+, one in S&T

It's really 2 instances of the same bug, we only want to consider a
fixed set of modifier keys ignoring the lock keys and left/right keys.


# b9590dc919f70131fcbb1b064175b9e9b13350a6 06-Feb-2014 John Scipione <jscipione@gmail.com>

S&T: Activate S&T when only option down

and not any other modifier such as command or control or shift.

Fixes #10511

We need to be more strict here because Tracker defines Cmd+Opt+Up and
Cmd+Opt+Down shortcuts, S&T shouldn't override them.


# 8197db540bcac492f3920699209d6236d7cf642d 29-Jan-2014 John Scipione <jscipione@gmail.com>

S&T: Add the arrow key tab nav back

This undoes the partial fix to #9431, both sets of shortcuts are supported
for the time being. This mirrors the functionality of ctrl+arrows and
ctrl+tab/ctrl+shift+tab to cycle through apps and windows via Twitcher.

We really need system keybinding settings to fix #9431 properly.


# fb6ab24a07c7f4af3c5fec0f9abd083e6f8c098f 18-Jan-2014 John Scipione <jscipione@gmail.com>

Update S&T copyright headers


# 94d4c319129f9dd9e85fb7b3cebc1b09f61ae7e6 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Update S&T window group navigation

Partially fixes #9431

Cycle through tabs in current S&T group with option+tab and backwards
with option+shift+tab
Cycle through S&T groups with option+PgDn and backwards with option+PgUp

This change allows apps to once again use option+arrows when inside of a S&T group
The problem isn’t truely fixed though, just moved to different shortcuts that hopefully will
conflict in fewer applications.

I also made some improvements to how S&T cycling works.

A single window is now considered to be part of a S&T group for the purposes
of cycling through S&T groups.

We loop around when you get the last tab/group.

When you cycle through S&T groups it remembers the active tab in the group
instead of always activating the first tab.


# 5002366cf461010b277362314c805c9e73d3d785 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server, a few more style fixes


# cdffe36124e0efed8b9e982df8588117767192d8 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Move empty destructor to header.


# 3779f5cff792521b4bf926cea2611a307a225573 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Style fixes only

* 80 char limit fixes
* remove leading tabs/spaces
* Add some helpful pragmas
* Add some newlines to separate stuff
* Compare pointers to NULL explicitly


# 27b76737931b1df5d239358ae119d818bf3bf0d2 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Fix typo

WindowActitvated => WindowActivated


# 815ae7984861c287a8f5a3da4062d7a0927c57c7 25-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

StackAndTile: deferencing occuring before null check (CID 743845)


# 6078d891b4d0a31a04e00095fb123021685e4029 06-Nov-2012 czeidler <haiku@clemens-zeidler.de>

Move stacked windows to a different workspace correctly.

When moving a window of a stacked window group to a different workspace all windows in the stack have to be moved. This fixes #8855.


# 24ad8261a9e60661a01331a1d350c47567c6f018 05-Nov-2012 czeidler <haiku@clemens-zeidler.de>

Integrate patch from jessicah #8937. Thanks!

- navigate in a single S&T group using (win + left and right arrows)
- minor fixed to the patch
- enable switching between S&T groups on the same desktop again (win + up and down arrows)

Hope window key + arrow keys does not collide with to many apps?


# 83092a04a4ada9f91e8b45194da7de2c6183752a 31-Aug-2012 czeidler <haiku@clemens-zeidler.de>

Fix hrev42632.

This really implements WindowSentBehind.


# d240743e9be7d720aadedd5a0185a61a907bca74 28-Nov-2011 czeidler <haiku@clemens-zeidler.de>

- The SATGroup has been deleted to early, that probably causes #8103. Holding a reference on the WindowArea (which hold a ref to the group) extends the lifetime till we are done.
- Fix some stayBelowMouse flags.


# f33cf3fd44d0877037b3cf8f82c2b40f4189bf28 13-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Activating all windows in a stack caused flickering. The reason to activate all windows was to get all windows form a stack into the upper window layers, otherwise it was possible that the top layer stack window is activated but another window in the stack is at the bottommost layer position. Sending this window to the back does not triggered sending the complete stack to the back. The send behind call is now redirected to the top most stack window to ensure the stack is send behind.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42632 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd67c205ff3aae882046fc96fc181e3b601be500 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Only remove a window from the S&T group when the hide event is not triggered by a minimize call.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42611 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57e0263ceb294333a641d49b312b9483bde1bc0b 03-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Don't remove the window if there is only one window in the group. Fixes #7884.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55fbf11fd7ac3b4c6002b4d8ff3ec2372fa5e8c4 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

If a window is hidden remove it from the S&T group. This happens when MediaPlayer goes fullscreen. Maybe not optimal but at least consistent with terminal which also left the S&T group in fullscreen mode. This is because the terminal has no decorator in fullscreen mode and thus can't be stacked any more (maybe this should be solved in the future...). Fixes #7895, #7896.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 27f5d579244cd1e43a1469782e08642fdc14b7f2 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix coding style pointed out by Axel. Thanks for the array trick haven't known this one :-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42539 a95241bf-73f2-0310-859d-f6bbb57e9c96