View Full Version : Scale Add on plugin
mikedee
June 6th, 2007, 04:49 PM
This is a new plugin which requires a recent version of git.
It currently shows text over the thumbnails (you need the text plugin loaded).
Load after scale.
You can pull directly from git here
git clone git://anongit.opencompositing.org/compcomm/plugins/scaleaddon
Or you can use this script to pull and install all plugins.
http://forum.compiz.org/viewtopic.php?p=8928
delfick
June 7th, 2007, 02:31 PM
very nice, thankyou :D
is it possible to add middle click close and right click zoom aswell please ?? :D
lagorgy
June 7th, 2007, 03:10 PM
compiz segfaults if i activate scaleaddon
maniac
June 7th, 2007, 05:39 PM
very nice, thankyou :D
is it possible to add middle click close and right click zoom aswell please ?? :D
Middle click close should be possible, right click zoom is way harder. I will have a look at it.
compiz segfaults if i activate scaleaddon
Can you provide a backtrace written by the crashhandler plugin?
delfick
June 8th, 2007, 02:39 AM
very nice, thankyou :D
is it possible to add middle click close and right click zoom aswell please ?? :D
Middle click close should be possible, right click zoom is way harder. I will have a look at it.
awsome, thnx :D
lagorgy
June 8th, 2007, 05:21 AM
its working for me now, i just pulled latest compiz and scaleaddon changes.
maniac
June 8th, 2007, 07:32 AM
very nice, thankyou :D
is it possible to add middle click close and right click zoom aswell please ?? :D
Middle click close should be possible, right click zoom is way harder. I will have a look at it.
awsome, thnx :D
Ok, I just added both of them. Zoom with right click currently has some focus fade drawing issues, I will have to talk to cornelius about that.
EDIT: I've fixed the focus fade problems in animation :)
delfick
June 8th, 2007, 11:14 AM
very nice, thankyou :D
is it possible to add middle click close and right click zoom aswell please ?? :D
Middle click close should be possible, right click zoom is way harder. I will have a look at it.
awsome, thnx :D
Ok, I just added both of them. Zoom with right click currently has some focus fade drawing issues, I will have to talk to cornelius about that.
EDIT: I've fixed the focus fade problems in animation :)
thankyou! :D
finally so much easier to close windows again :D (my close button is too small, since i changed themes after giving up hope of being able to have blur at 0 opacity, and i have expo at the same corner where the x is)....
another wish for the plugin, how easy would it be for you to enable scaling minimised windows ?? :D
mikedee
June 8th, 2007, 11:35 AM
another wish for the plugin, how easy would it be for you to enable scaling minimised windows ?? :D
Please do not stress out developers by asking them to hack input redirection into a plugin :)
We are literally a few months away from this sort of thing being very easy (and bug free). If things like this are added now, they will cause problems later.
Having said that, people are free to add whatever features they like ;)
delfick
June 8th, 2007, 12:30 PM
another wish for the plugin, how easy would it be for you to enable scaling minimised windows ?? :D
Please do not stress out developers by asking them to hack input redirection into a plugin :)
oh, didn't realise that was needed for it (especially since switcher can switch to minimised windows .... :D)
We are literally a few months away from this sort of thing being very easy (and bug free). If things like this are added now, they will cause problems later.
finally!! :D, can't wait
Having said that, people are free to add whatever features they like ;)
in that case some direction wouldn't hurt :P http://www.opencompositing.org/viewtopic.php?f=44&t=185
mikedee
June 8th, 2007, 01:52 PM
another wish for the plugin, how easy would it be for you to enable scaling minimised windows ?? :D
Please do not stress out developers by asking them to hack input redirection into a plugin :)
oh, didn't realise that was needed for it (especially since switcher can switch to minimised windows .... :D)
Dont worry about it ;)
We are literally a few months away from this sort of thing being very easy (and bug free). If things like this are added now, they will cause problems later.
finally!! :D, can't wait
Yes, its been a long wait :) - David is just finalizing the changes for the server and thats due for release in August.
Having said that, people are free to add whatever features they like ;)
in that case some direction wouldn't hurt :P http://www.opencompositing.org/viewtopic.php?f=44&t=185
Direction is always good ;)
Thats a long list... Ill try to split them up so that you know who to pester about what and your chances for getting each one.
1) Just done - although might be better if the options were close_button=3 etc rather than forcing buttons 2 and 3
2) Sounds like a good idea, but might be difficult from a usability point of view (to get right).
3) Hmmm good idea, but it might be for another plugin. Did you see the python plugin minime? It could be adapted to something like that. You know any python?
4) You can already do this cant you? If you mean drag and drop between scaled windows whilst they are scaled, then wait for IR - it will be done easily.
5) Maybe it is desired behaviour since you have sloppy focus on? Doesn't turning this off solve that problem?
6) All things for an addon plugin. Python supports scale enhancing now so maybe you could have a go yourself ;)
7) Doesn't the speed setting make this better? I highly doubt this feature would be added.
8) Don't know about this one. Its a user interface problem I think (ie. how to make it usable and intuitive)
9) Good idea - totally separate plugin though. Do you mean desktops, or do you mean viewports?
10) No - doesn't make sense :)
11) Not sure thats a very good idea - what do you mean remove the cube? The cube isn't visible when in scale?
12) If the scaleaddon plugin does not do that, then it should be reported as a bug.
13) Not sure about that - what if the user thinks they have >1 window open. They will wonder why scale isnt working. I had a similar problem with cube unfold (it does not work with < 4 hsize)
14) The python minime does that already - I use it every day and its a bit buggy but very useful. 14a is a very interesting idea.
15) Maybe a different plugin, possibly wait for input redirection before looking at this.
16) Xrandr 1.2 should help here.
17) Done :)
18) ???
19) a is done, b could be added to scaleaddon easily. c see 21.
20) Minime?
21) Input redirection.
22) Dunno :)
23) A feature request for this plugin.
24) Is it a bug in scale?
25) Are you repeating some of these to make the list bigger?
26) This is minime
27) Don't think this is very possible, it might be, but I wouldn't hold your breath :)
You should try to break that list down and direct them as individual requests, you have more chance of getting them done.
delfick
June 8th, 2007, 02:57 PM
damit, pressed edit instead of quote
and i had gone through that list.....arrgghhhh
i'll go through it again sometime, must return to study now.....
but main points
this is a wishlist started when the beryl forums were made, thread over here http://forum.beryl-project.org/viewtopic.php?f=40&t=26&
so some things in the list aren't valid anymore, some were made by other people in the original thread and when i copied it to the opencompositing forums, some of the links didn't work
like in 10), THIS is meant to point to http://i27.photobucket.com/albums/c199/d3v1aNt_0n3/snapshot3-1.png seeing the picture makes that wish make so much more sense :D
as for the bug where closing the last window doesn't deactivate scale i made this just then, http://bugs.opencompositing.org/show_bug.cgi?id=22
though the bugzilla thing needs to be updated for more components to select from..
unless there is a different bugzilla/trac thing i should be using ??
i haven't heard of minime, and i don't know how to program in python
and i'll go through the list and clean it up after exams (only a couple of weeks :D)
maniac
June 8th, 2007, 03:28 PM
12) If the scaleaddon plugin does not do that, then it should be reported as a bug.
That's not correct. scaleaddon just closes the window, it's the job of scale to reenumerate its list of windows and properly terminate the scale mode when there are no windows left.
I've closed the bugzilla entry accordingly ;)
mikedee
June 8th, 2007, 04:18 PM
12) If the scaleaddon plugin does not do that, then it should be reported as a bug.
That's not correct. scaleaddon just closes the window, it's the job of scale to reenumerate its list of windows and properly terminate the scale mode when there are no windows left.
I've closed the bugzilla entry accordingly ;)
Yeah - I suppose you are right, it shouldn't be too hard to add either way.
You should be busy enough with number 6 anyway ;)
mikedee
June 8th, 2007, 05:18 PM
i haven't heard of minime, and i don't know how to program in python
Minime is included with the python plugin (since you need it to run it). Maybe one day it will be good enough to stand on its own ;)
http://forum.compiz.org/viewtopic.php?t=814
Its always a good idea to keep an eye on the plugin development section. I might split out a category just for plugin announcements so that people are aware of new plugins.
maniac
June 9th, 2007, 12:22 PM
1) Just done - although might be better if the options were close_button=3 etc rather than forcing buttons 2 and 3
Done - both are normal bindings now :)
19) a is done, b could be added to scaleaddon easily. c see 21.
I have also just done b) - if the button binding for close/zoom is used, the hovered window is closed/zoomed, otherwise the selected window is closed/zoomed.
andqso
June 12th, 2007, 04:24 AM
Minor bug I just noticed - the size of the text over a window is not updated until the mouse goes outside that window. So if you have a fullscreen window and you zoom in on it, the caption doesn't expand. It's barely detectable, because the only time you'd run into it is on terminals with really long titles assigned to them.
maniac
June 12th, 2007, 07:08 AM
Minor bug I just noticed - the size of the text over a window is not updated until the mouse goes outside that window. So if you have a fullscreen window and you zoom in on it, the caption doesn't expand. It's barely detectable, because the only time you'd run into it is on terminals with really long titles assigned to them.
That's correct - I just fixed it :)
Thanks for spotting this!
defer
June 13th, 2007, 10:48 PM
Maybe i'm missing something obvious but I can't get it to compile, it seems to require compiz-text.pc but it doesn't get installed when installing the text plugin, any thoughts?
lagorgy
June 13th, 2007, 10:52 PM
Maybe i'm missing something obvious but I can't get it to compile, it seems to require compiz-text.pc but it doesn't get installed when installing the text plugin, any thoughts?
same problem here.
rememo
June 13th, 2007, 11:43 PM
try:
BUILD_GLOBAL=true make
BUILD_GLOBAL=true sudo make install
(replace sudo with appropriate method for your distro)
it worked for me.
You will also need compiz-scale, but should be there when using compiz-git (it's missing in Treviņo's compiz-git dev-packages, which I'm using).
However this will install text plugin, headers and pkg-config to /usr which could be a problem when using /usr/local. Alternatively you could also run only the first command and copy compiz-text.pc and the text.h header file to the appropriate places of your compiz installation.
EDIT: ok, forget the above, it installs everything correctly to the directory of your compiz installation when using BUILD_GLOBAL , just had a look at the make file.
Haisen
June 18th, 2007, 07:42 PM
How to install text plugin?
$ make
compiling : scaleaddon.c -> build/scaleaddon.loPackage compiz-text was not found in the pkg-config search path.
Perhaps you should add the directory containing `compiz-text.pc'
to the PKG_CONFIG_PATH environment variable
No package 'compiz-text' found
etc
I have downloaded text plugin from compcomm and typed 'make install'.
mikedee
June 18th, 2007, 07:49 PM
Try typing this in the text directory, it will install it globally rather than in the ~/.compiz/plugins directory.
BUILD_GLOBAL=true sudo make install
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.