compiz: initiation of scale plugin doesn't work correctly

Bug #281911 reported by Joe_Bishop
48
This bug affects 2 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When press key which is mapped to "initiate window picker" in scale plugin (I use F12 for this), it doesn't work as it should: all windows should be decreased in sizes, were shown on the screen and waits for the user choice with just one F12 key press (press = touch the key, then release it) . But now it works only if F12 key is held (touch then hold), single F12 key press is not enough.

Revision history for this message
Mattias Eriksson (snaggen) wrote :

Previously it worked better: Press and release got in to the selection mode. Then it required a selection or the escape key to exit the selection mode.

Now as stated above it is just unusable since you have to hold the key down during the selection. Release of the key will cause the selection mode to abort.

The best solution would be to work as the old behaviour with the slight modification to accept the same keypress to exit the selection mode as you use to enter it.

If you have f12 to get in to selection mode I see this workflow:
f12 (press and release) gets you to the selection mode.
Select a window or f12 (press and release) exits the selection mode. I can see that escape might be good to accept also.

I think this bug is quite urgent since it makes the scale plugin totally useless.

Revision history for this message
Mattias Eriksson (snaggen) wrote :

By looking at the compiz code it seems that both KeyPress and KeyRelease will cause scaleInitiate to be called. But there are no way for that function to determine which one of them where used. If the type was provided it would be easy to just ignore one or the other.

src/event.c
and
plugins/scale.c

seems to be the related files.

Note: I only spent 5 mins looking at this and I don't know the compiz code so I may be totally wrong here...

Revision history for this message
Khashayar Naderehvandi (khashayar) wrote :

Confirming this issue, which is really annoying and renders the scale plugin (which i previously found the most useful) completely useless for me.

Changed in compiz:
status: New → Confirmed
Revision history for this message
recognition101 (darklightmw) wrote :

It appears that the compiz team is aware of this bug and someone's created a fix:

http://forum.compiz-fusion.org/showthread.php?p=67739

all we need now is for an ubuntu dev to integrate his patch.
This is coming from this forum post: http://ubuntuforums.org/showthread.php?p=6126675

Revision history for this message
fatalGlory (fatalglory) wrote :

It's been a little while, can we get any acknowledgement from a package maintainer somehow? I'm unsure of the procedure once the bug report is here and it's still not getting integrated, do we contact the package maintainer?

Revision history for this message
Joe_Bishop (denis-cheremisov-gmail) wrote : Re: [Bug 281911] Re: compiz: initiation of scale plugin doesn't work correctly

And what about it? I don't like current situation: one of the most important
features (mb the most important) doesn't work.

2008/11/26 fatalGlory <email address hidden>

> It's been a little while, can we get any acknowledgement from a package
> maintainer somehow? I'm unsure of the procedure once the bug report is
> here and it's still not getting integrated, do we contact the package
> maintainer?
>
> --
> compiz: initiation of scale plugin doesn't work correctly
> https://bugs.launchpad.net/bugs/281911
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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

This bug was fixed in the package compiz - 1:0.7.8-0ubuntu5

---------------
compiz (1:0.7.8-0ubuntu5) jaunty; urgency=low

  [ Michael Vogt ]
  * patch cleanup with compiz upstream, removed:
    - 0001-Make-sure-that-unredirected-fullscreen-windows-are-f.patch
    - 0003-Move-input-focus-back-to-the-active-window-after-red.pat
    - 015-disable-glib-plugin.patch
    - 019_fix_wnck_2.19.4.patch
    - 022_fix_session_managment.patch
    - 024_add_config_notify.patch
    - 031_add_compiz_common.patch
    - 038_from_git_fix_incomplete_rotate.patch
    - 043-blur-plugin-fix-from-git.patch
    - 043-new-gnome-session.patch
  * removed no longer applied patches from the repo too
  * debian/rules
    - fix build failure with latest control center
  * debian/control:
    - add missing libgnomeui-dev build-depends
  * rebuild against latest libgnome-desktop-dev

  [ Christopher James Halse Rogers ]
  * debian/patches/050-scale-keybinding-toggle.patch
    - Allow setting the scale initiate keybinding as a toggle (LP: #281911).
      Patch from upstream git.
  * debian/patches/051-new-kde4-plasma-api.patch
    - PanelSvg has been renamed to FrameSvg in KDE 4.2. Upstream bug is
      https://bugs.freedesktop.org/show_bug.cgi?id=18637

 -- Michael Vogt <email address hidden> Wed, 17 Dec 2008 21:19:13 +0100

Changed in compiz:
status: Confirmed → Fix Released
Revision history for this message
Alexander Butenko (avb) wrote :

can this fix be backported to intrepid-updates or intrepid-updates?

Revision history for this message
Christian Theune (ctheune) wrote :

I second Alex' request. IMHO this bug deserves a backport to Intrepid.

Revision history for this message
darkangel88 (tipat88) wrote :

Any updates on this bug ? Would be great to see this fix in the backport !!

Revision history for this message
marianne (marianne-promberger) wrote :

I'd also be very happy about a backport to Intrepid. Please? For me, "scale" via a key press is the single most useful feature of Compiz.

I also really like Mattias' new suggestion of having it exit selection mode when pressing the key again. Don't know if that's been implemented in the fix.

Thanks for all who do all the hard work of fixing bugs and updating packages!

Revision history for this message
Jason Gullifer (jgull8502) wrote :

I'd also be happy to see this fixed! It's been a few months since scale has worked properly, and I eventually forgot about it until now.

Revision history for this message
stylishgnome (stylishgnome) wrote :

Another supporter for Intrepid backport... this was a very useful tool when it worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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