0.9.2 «Put» plugin miscalculates available desktop area

Bug #674117 reported by Tobias Wolf
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz-fusion-plugins-main (Ubuntu)
Incomplete
Undecided
Sam Spilsbury

Bug Description

Binary package hint: compiz-fusion-plugins-main

This is a regression from 0.8.6

In the put plugin, when the Put East command is used to align the window to the center of the right edge of the desktop, the center of that edge should be the screen height *minus* the fixed panel on the top and bottom.

 Currently, it only uses the absolute screen height and shoves the window underneath the panel.

Revision history for this message
Tobias Wolf (towolf) wrote :
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Sam, can you have a look at that? Thanks!

Changed in compiz-fusion-plugins-main (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
Revision history for this message
Tobias Wolf (towolf) wrote :

By the way, what about compiz fusion’s extra plugins?
(Sorry for high-jacking)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I currently don't have the time to package it, if something wants to do it, she/he will be more than welcome :)

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 674117] [NEW] 0.9.2 «Put» plugin miscalculates available desktop area

I just checked this - the window is put in the correct position and
the code also says we're taking into account the panel width and
height.

There is no such option as "put east". Did you mean "put right" ?

On Fri, Nov 12, 2010 at 12:30 AM, Tobias Wolf <email address hidden> wrote:
> Public bug reported:
>
> Binary package hint: compiz-fusion-plugins-main
>
> This is a regression from 0.8.6
>
> In the put plugin, when the Put East command is used to align the window
> to the center of the right edge of the desktop, the center of that edge
> should be the screen height *minus* the fixed panel on the top and
> bottom.
>
>  Currently, it only uses the absolute screen height and shoves the
> window underneath the panel.
>
> ** Affects: compiz-fusion-plugins-main (Ubuntu)
>     Importance: Undecided
>         Status: New
>
> --
> 0.9.2 «Put» plugin miscalculates available desktop area
> https://bugs.launchpad.net/bugs/674117
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz-fusion-plugins-main in ubuntu.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Post your config file (use ccsm to export it) and I'll have a look.

On Fri, Nov 12, 2010 at 10:06 AM, Sam Spilsbury <email address hidden> wrote:
> I just checked this - the window is put in the correct position and
> the code also says we're taking into account the panel width and
> height.
>
> There is no such option as "put east". Did you mean "put right" ?
>
> On Fri, Nov 12, 2010 at 12:30 AM, Tobias Wolf <email address hidden> wrote:
>> Public bug reported:
>>
>> Binary package hint: compiz-fusion-plugins-main
>>
>> This is a regression from 0.8.6
>>
>> In the put plugin, when the Put East command is used to align the window
>> to the center of the right edge of the desktop, the center of that edge
>> should be the screen height *minus* the fixed panel on the top and
>> bottom.
>>
>>  Currently, it only uses the absolute screen height and shoves the
>> window underneath the panel.
>>
>> ** Affects: compiz-fusion-plugins-main (Ubuntu)
>>     Importance: Undecided
>>         Status: New
>>
>> --
>> 0.9.2 «Put» plugin miscalculates available desktop area
>> https://bugs.launchpad.net/bugs/674117
>> You received this bug notification because you are a member of compiz
>> packagers, which is subscribed to compiz-fusion-plugins-main in ubuntu.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~compiz
>> Post to     : <email address hidden>
>> Unsubscribe : https://launchpad.net/~compiz
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> Sam Spilsbury
>

--
Sam Spilsbury

Revision history for this message
Tobias Wolf (towolf) wrote : Re: [Compiz] [Bug 674117] [NEW] 0.9.2«Put»plugin miscalculates available desktop area

On Fr, 2010-11-12 at 02:06 +0000, Sam "SmSpillaz" Spilsbury wrote:

> There is no such option as "put east". Did you mean "put right" ?

Yes, sorry.

Revision history for this message
Tobias Wolf (towolf) wrote :

On Fr, 2010-11-12 at 02:08 +0000, Sam "SmSpillaz" Spilsbury wrote:
> Post your config file (use ccsm to export it) and I'll have a look.

[put]
s0_put_viewport_1_key = <Alt><Super>1
s0_put_viewport_2_key = <Alt><Super>2
s0_put_viewport_3_key = <Alt><Super>3
s0_put_viewport_4_key = <Alt><Super>4
s0_put_center_key = <Shift><Super>s
s0_put_left_key = <Shift><Super>a
s0_put_right_key = <Shift><Super>d
s0_put_top_key = <Shift><Super>w
s0_put_bottom_key = <Shift><Mod4>y
s0_put_topleft_key = <Shift><Super>q
s0_put_topright_key = <Shift><Super>e
s0_put_bottomleft_key = <Shift><Mod4>greater
s0_put_bottomright_key = <Shift><Super>x
s0_put_restore_key = Disabled
s0_put_pointer_key = <Super>w
s0_speed = 5.000000

Revision history for this message
Tobias Wolf (towolf) wrote :
Revision history for this message
Tobias Wolf (towolf) wrote :

So, I think the problem is just that it doesn’t take the decorations into account when calculating the center of the window.

See the following attachments.

Revision history for this message
Tobias Wolf (towolf) wrote :
Revision history for this message
pablomme (pablomme) wrote :

Unless I am very, very wrong, this has been the behaviour of pre-0.9 versions too: the window decorations have never been taken into account in the put plugin.

Revision history for this message
pablomme (pablomme) wrote :

...for put left/centre/right, I should add. Put top left/top/top right do take decorations into consideration.

Revision history for this message
Tobias Wolf (towolf) wrote :

But I used «put left/right» all the time before and this never occurred.

In fact, it doesn’t happen in my Maverick lab PC.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz-fusion-plugins-main (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Thank you for reporting this bug to Ubuntu. This Ubuntu release has reached EOL for Desktops.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.

Do feel free to report any other bugs you may find.

Changed in compiz-fusion-plugins-main (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.