BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

Häähh? There's no libkwinglutils with KDE 4.7 - that's afaik a 4.8 thing.
GLTexture was defined in libkwineffects [1] before.

Either you've a git version in the way and try to link the wrong lib or your distro messed... backported stuff.... *shrug*

[1] readelf -sW /usr/lib/libkwineffects.so | grep -i gltexture
- Oct 28 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

0.15 on git master, i assume. OpenGL 2.0 shaders, right?

There seems either a bug in the shader or the shader manager then (it didn't happen here)

can you look into the sources, around line 541 and check whether the "shader" is not NULL while you close a window? - Oct 28 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

I've a PKGBUILD and a binary:

just put it as PKGBUILD into the sourcedir
-----------------

pkgname=beclock
_realname=beclock-kwin-fx
pkgver=0.15
_upstream_ver=15
pkgrel=1
pkgdesc="A simple clock, implemented as KWin Effect"
arch=('i686' 'x86_64')
url="http://kde-look.org/content/show.php?content=117542&forumpage=0"
depends=('kdebase-workspace>=4.6.0')
makedepends=('cmake' 'automoc4' 'gcc')
license=('GPL')

build()
{
cd ..
for name in *; do ln -s "../$name" "src/$name"; done
cd src
rm -f src pgk
./configure
cd build
make || return 1
make DESTDIR=$pkgdir install
}

-----------------

the PKGBUILD will be in the next release as well, but i've no idea where to upload the binary (not to mention that 4.8 will require two of them ;-) - Oct 27 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

it should be added but fails on either
- version mismatch (i ddin't really look up the first git master version tag to contain those libs)
- gles/gl issue (GLutils is not added when GLES is found but GLESutils)

The version check isn't really correct anyway (will fail with first 4.8 release) but could you please add some "MESSAGE("STUFF") code to the version check and the GLES check in CMakeList.txt to figure why it fails precisely? Thanks.
- Oct 27 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

IIRC yakuake sets the slidingPopups property just like the plasma popups, so that should be no problem.
-> come up with a case, i'll solve it either way ;-) - Oct 21 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

try putting the below into your ~/.kde/share/config/kwinrc (close the config dialog before!)

[Effect-GenericAnimations]
ActivationAnimations=289:Scale:0:500:1,1.1:5:0:
AddAnimations=65535:Opacity:0:300::1:0:0,0;33:Scale:0:300::2:0:0,0;2048:Scale:528:300::2:0:0,0;17408:Scale:66:300::2:0:0,0
CloseAnimations=65535:Opacity:4096:600:0,0:2:0:;2048:Scale:528:600:0,0:1:0:;17408:Scale:2:600:0,0:1:0:
DeactivationAnimations=
EnteringDesktopAnimations=65535:Position:2304:500::2:0:-1,0
LeavingDesktopAnimations=65535:Position:8194:300:-1,1:0:0:
MinimizeAnimations=33:Position:4:600:0,-1:6:0:
UnminimizeAnimations=33:Position:128:400::2:0:0,-1 - Oct 18 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

--- snip ----
[Colors:View]
BackgroundAlternate=248,247,246
BackgroundNormal=255,255,255
--- /snip ---

The background color for Views, ie. QPalette::Base is white - since it's the assigned role, you get what's configured :P - Oct 17 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

select one of the events on the left and press the "+" button. (i guess i should set some defaults ;-) - Oct 17 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

The ColorRole for both items (active tab, hovered menu item) is "9" aka. QPalette::Base - judging from the lineedit in the second screenshot, that's some sort of bright color (near or white)

The tarball unfortunately doesn't include a colorscheme (the subtar is just empty) to verify that from here.

a) check the color roles in the "Tabs" & "Menus" pages
b) in doubt, store your current setting as a preset, export it and mail it to me (or upload it, preferably on pastebin or so - not on mediafire ;-) - Oct 17 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

Those are just warnings and they all mean:
"hey thomas, you've still not implemented animations for window maximization!"
what's expectable since that needs additions to kwin -> 4.8

You can simply ignore those messages. - Oct 17 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

"sigh" - and i had hoped to not have written the first two lines of the description for the dumpster :P

Anyway, there should be like a bazillion clocks for the various desktop widget systems out there and iirc plasma supports virtually all of them.

If none of them fits you, you're free to rip this code and turn it into a plasmoid (shouldn't be a major issue) - but the /only/ reason i wrote this clock plugin was to have a clock _above_ all windows - not below where i usually can't see it anyway. - Oct 16 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

The compiler output is from BeShadowed, NOT from Bespin.
BeShadowed itself won't work with KDE >= 4.7 but Bespin has support for the new KWin shadows. - Oct 14 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

No plans, no. Detecting a particular client is required for fixing rules but
a) usually windows of the same kind should more or less animate the same
b) there's some level of abstraction between the effectwindows and the x11 clients.

Is there a particular issue driving this question (besides the effect completely ignoring the sliding out plasmoids so far, that will be fixed with the next release)

I'm holding mentioned release back until i've an answer (so i can consider it) - or 23:59 CET, 10/16/2011 (not considering anything) - Oct 13 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

No idea about eclipse, but FF shows a similar behavior (quite immediately turns translucent, nvidia) regardless of the gtk+ engine. Other gtk+ menus are not affected.

I guess that's not even a real kwin issue but FF just actively clears the drawable before withdrawing the window (so you see what FF wants you to see, but that's just not what you expect to see ...) - Oct 07 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

sounds like a renderer bug (since theres still sth. fading out)
a) can you try the xrender backend ("kcmshell4 kwincompositing", 3rd tab)
b) do pot. you have any interfering effects (eg. "fade") activated?
c) please specify your gpu/driver (esp. in case this is a GL issue)
d) please ensure it's "opacity" and not "brightness" ;-) - Oct 05 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

It's "broken" because of performance optimizations in kwin which more or less prevent random painting on the scene w/o forcing the expensive unoptimized mode.
I'll try to figure a solution for this but at this time i can not promise that it will ever work with KDE > 4.7, sorry. - Oct 04 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

The UI bug is fixed (among others) - the comboboxes are somehow neither comboboxes nor dropdowns, so it's likely a kwin bug (the 4.8 implementation of window matching will be different anyway but i had to export a property for this ;-) - Oct 04 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Yes, i had figured the same, but didn't want to say ;-P - Oct 03 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Yes, for the changes in KWin 4.7 you now need QRGB support for the round corners. The pro is that they're smooth now.

I thought i had set ARGB to be enabled by default - gonna check. Sorry in case i did not :S - Oct 03 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Works for me, however there's always a chance for side effects ;-)

a) w/ or w/o compositing?
b) best mail me your ~/.config/Bespin/Style.conf

No, bespin didn't move - i just didn't push anything since some time (focused on other things, hey: it's not my fault that slavery is forbidden these days ;-) - as a proof i just committed the only real recent local change to r1412 - Oct 03 2011
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

I'm sorry but i'm not sure what you mean.
Having mousebutton shortcuts for eg. zooming etc. is a different issue (and actually currently discussed on the k-c-d and kwin mailing lists - again)
It's mostly about general mouse shortcut support.

If you mean mouse entering/leaving windows causing some animation: yes, that's possible.
Would require polling atm. but i'd try to export the event from kwin for 4.8 then. - Oct 03 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

There's also a gui item in "bespin config", "position indicators" page.

Most presets are also pretty much out-of-date :-( - Sep 30 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Oh, it's still hardcoded in I see.

I should probably port the generic windowmenu support to the plasmoid... :-S

The main problem is that the first entry will always be named "Plasma" - no matter what's in it... - Sep 27 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

This is an incredibly stupid, windows-worthy suggestion, but what you describe is completely beyond me, so:

Did you try a clean rebuild (ie. remove build and re ./configure) after adding the header?

(That's simply not necessary but atm. i'd even suggest to reboot to have the system remount that disk - what's an even more stupid and pointless suggestion...) - Sep 11 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

please check the output of "kde4-config --path include" and also the permissions on that file "stat /usr/include/kwineffects.h" - should be like 644 or so.

You cannot get the very same output if the file is present. If you downloaded the marked up version or so you'd get an output about an invalid header or sth. but not that the file isn't there... - Sep 10 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

the header is just missing.
either you dropped the kdebase-workspace-dev package or ran into a Ubuntu version where the header is (temporarily, was apparently due to a misunderstanding between packagers and developers) absent.
In the latter case you'll have to update to a Ubuntu version where the header is present or download it and palce it into /usr/include by hand (and watch out on the next upgrade, package systems often don't like present files they didn't put there)

https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/v4.7.0/changes/kwin/libkwineffects/kwineffects.h - Sep 10 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

FYI: i've just checked and according to this:
http://packages.ubuntu.com/natty/i386/kdebase-workspace-dev/filelist

kdebase-workspace-dev /does/ contain the required header in "natty" - it's apparently only absent in some "oneiric" alpha.

So if you don't use such alpha and have the package installed, the file should be there.
If you do use such alpha you can probaly just download the linked file and copy it to /usr/include

In doubt compile and then remove it again (or at least remove it before upgrading to oneiric) - Sep 07 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

"kde4-config --path include"
ensure it's the exactly right version (i linked 4.7.0 - 4.7.1 is current since yesterday or so) and try to get the header through the package system (otherwise you'll have to ensure to keep it up-to-date by hand...)

Are you using (that particular) Ubuntu? - Sep 05 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

The header was temporarily removed in some (development) version(s) of Ubuntu 10.10 but should meanwhile be re-added.

You can download it (v4.7.0) from eg. here:
https://projects.kde.org/projects/kde/kdebase/kde-workspace/repository/revisions/v4.7.0/changes/kwin/libkwineffects/kwineffects.h - Sep 04 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

kdebase-workspace-dev (or whatever it's called in your distro) - Sep 04 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

Yes.
The problem here is that KLocale allows you to set any kind of ...stuff.. as short date format while i need quite some control on the dimensions of the string.

So i had to pick a format and chose the international big endian one since:
a) it's the international one ;-)
b) it's not completely stupid (middle endian - MM/DD/YYYY)
c) it's not logically reverse =)
d) it requires completeness (ie. 2011-09-04, not 4. 9. 2011)
e) it uses the dash as a strong single char separator

I promise that it's only by incident the official German format (nobody really writes that here and i didn't know until when i just looked up date format usage[1])

So it's not ignorance nor a political statement, but in a way required and just happened ;-)

I could add a config entry (to be more precise: just did - release after fixing some GL issues with kwin 4.7) to set a special format string but just relying on KLocale being "sane" is too wonky in this regard.

[1] http://en.wikipedia.org/wiki/Date_format_by_country - Sep 04 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

No. That's expectable.
The problem is more or less that translucent regions cause artifacts with the way the transition works atm. - Sep 03 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Unfortunately I dont know whether there are plans for compiz of the kde4-window-decorator to ever support that shadows :-(

As for your kwin issues:
try "KWIN_NVIDIA_HACK=0 kwin --replace&" this should eventually lower the GPU drain.
another thing would be to raise the FPS capping:

kwriteconfig --file kwinrc --group Compositing --key MaxFPS 100
sets it to min 100 (instead of min 60 - rounded up to match the screen fps)

Otherwise i'd disbale the cube (i think there's a major bug that causes permanent CPU load) and as for non fluid animations: afaics the compiz timeline (heavily exponential speed eg. in the cover flow) is just better than ... anything QTimeline offers ;-)

If you just want shadows & transparency, try the xrender backend (works fine with nvidia gpus here) - Sep 02 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

No. Unfortunately.

I refused to add the shadows-inside-decoration to bespin (includes some weird extra padding, widgets arent widgets, etc - don't ask ;-) but added support for the shadows which are now painted by the kwin code as provided on the window by decoration or client.
Since this will probably and ultimately become the only way shadows are done in kwin, i'm certainly not gonna add for the deco built-in shadows now.

The warning is because kde4-window-decorator doesn't implement windowId() from the kwin deco api (afaik it would be just returning widget()->winId() the way the decorator works) but that doesn't solve the issue.

Compiz (and afaik no plugin?!) doesn't interpret the shadow hint at all, so even if it was correctly set on the proper X11 window (this i can do by replacing windowId() as above in the compiz case) nothing would care about the shadows there :-(

Stupid question OT: what works better in compiz "because you use an nvidia card"? - Sep 01 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Should be shipped - more or less.
I think i used "equilibrium", lowered the window opacity and added the air circles.
You'll likely have to do some other adjustments (eg. slider width) since a few options with deviating defaults were possibly added since then. - Sep 01 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

*sigh* - worked around the panel in r1402
(ok: the Bespin part wasn't perfect either ;-)

Thanks for the hint. - Aug 26 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

I'm certainly not gonna include Xdefs.h just in order to fix it afterwards ;-)

Please try r1401 which juggles the include order in hacks.cpp to avoid the issue.
(the issue doesn't occur here, so i can unfortunately not test myself :-( - Aug 17 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Ok, next try: r1400. Just call on if it still fails. I've one combination left... - Aug 15 2011
BeReflected

Various KDE 1.-4. Improvements by thomas12777 36 comments

I've started porting it, but so far it does only work with XRender (one can't see anything in OpenGL...)

Sorry - you'll have to wait a bit.
(I need to find a way to grow two more arms. A second head would probably help as well ;-) - Aug 15 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Thanks, please try r1398 and up and report. - Aug 15 2011
BeReflected

Various KDE 1.-4. Improvements by thomas12777 36 comments

Sorry for the out-time.

"3) why don't you submit new screens for bespin?"

"too lazy", "i don't bump the kde-look entry anyway", ...
In addition I would have to patch a very nasty "That's not plasma and no, you cannot have it" comment on them ;-)


"4) do you know how to bespin Firefox and gtk(2) apps without using orta?"

Short version: "no"
GTK2 is not capable of esp. swapping colors (there faar too many handcrafted widgets with hardcoded colors in the wild. Some don#t even work with dark schemes - sigh)

About orta colors: have a look at
/usr/share/themes/Orta/gtk-2.0/gtkrc
if you're not afraid of an text editor, you can change color values, but here's a good hint:
ensure contrast between all backgrounds and all foregrounds. - Aug 15 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

How did you obtain the clock? Binary from SuSE?
(There've been various changens between the 4.6 and 4.7 API. Notably the mouse poll is now a SIGNAL/SLOT relation.

Please start kwin from konsole and ensure there no "no such sginal/slot mouseChanged(.)" message.

Another change is on the GL blending and backends (VBO caused) and i've only tested one GL backend (no GLES, no GL 2.0 shaders)
So please try the xrender backend (kcmshell4 kwincompositing) and check whether hide-on-hover works there.

There's right now no way to have two clocks (thus nor to set an individual timezone)
I'll keep it in mind, but don't promise anything ;-) - Aug 15 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

I got your message about the header return - even though kde-look seems to have eaten it?

However, thanks alot. Actually the whole thing seems to have happened on a misunderstanding between some distro folks and the kwin developers. So *you* prevented a nasty issue that could easily have affected several distros. Be proud =) - Aug 15 2011
BeShadowed

Various KDE 1.-4. Improvements by thomas12777 73 comments

In other words you don't like the oxygen shadows?
-> much fun discussing with the oxygen team then ;-)

(though this could be covered by an overriding effect on the new shadow system) - Aug 07 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

WARNING: 0.4 has a BUG which will crash kwin everytime you close an inactive window (and activate on click)

This is likely because windowRaised is not slot, but window closed is (off by one event cycle)

I'll find, write and upload a fix asap. Until then consider to DEACTIVATE BeFaded 0.4

Sorry. - Aug 07 2011
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

Many thanks for the info, i'll try to sort that out with the Ubuntu guys. - Aug 07 2011
BeFaded

Various KDE 1.-4. Improvements by thomas12777 19 comments

There you go.
In case you wonder: bedropped is gonna take a little longer since i'll rebase it on a generic animation effect which will -with a little luck- end up as 4.8 class to allow easy and safe animtion effect generation. - Aug 07 2011
BeShadowed

Various KDE 1.-4. Improvements by thomas12777 73 comments

The better approach would be to improve/fix the new shadow system. Any specific requests?
(It's a known issue that several windows -like gtk+ popups- do not get shadows.

There're efforts to extend the new shadow system in this regard and in doubt i was about to write a plugin that lets you apply -bespin- shadows to selectable windows (Type & Class matches etc.) as interim solution at least (since the Oxygen gtk+ style afaik provides new shadows as well) - Aug 07 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

There's an example shipped with the bespin sources:
http://cloudcity.svn.sourceforge.net/viewvc/cloudcity/XBar/MainMenu.xml?revision=1044&view=markup - Aug 06 2011
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

here you go:
http://lists.kde.org/?t=131166573200001&r=1&w=2

There's even a claim for 4.7 but that could be due to a backport. I've never seen _this_ bug so far (though rarely use a multiscreen setup either) - Aug 06 2011