Generic Animations (BeGeneric ;-)

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

The "out of my mind" patch was just wrong, the current version contains the workaround anyway (it's still required) - Mar 12 2012
BeClock

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

The current version won't compile for you anymore - but i guess moving a few lines into #ifdefs will do.

Please look a one of the source files (.h, .cpp) and drop me a private mail. I'll send you versions with version branching until it compiles - since i don't have 4.6 around, that's far easier than uploading half a dozen fails here ;-) - Mar 05 2012
Generic Animations (BeGeneric ;-)

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

I can probably add a "proprietary" anchor to the effect on top of the class anchors, determining target rects is usually out of scope of the animation class.

To prevent misunderstandings: i doubt this particular effect will enter kwin, but instead many effects will be rewritten in JavaScript using the animation class being the working horse of this effect (since that is only about event interception, it will hardly be an issue) - what means that you can easily add such effect and even distribute it via GHNS - Mar 03 2012
Generic Animations (BeGeneric ;-)

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

By proper virtual desktop support i assume you mean to keep the changing window static (as if it as set to be on all desktops?)
That should be no problem for 4.9

Regarding proper minimization: in case that points "minimize to taskbar" that's rather out of scope, because
a) minimize to taskbar is usually broken on the taskbar not exporting the target rect - but that's actually said to be fixed in 4.8 (for plasma taskbars)
b) one would have to add a "iconRect" anchor for this purpose.

(b) would actually be possible right now, but pretty special casing (esp. since i don't use taskbars ;-)
Given that the sublying class will power easy-to-use JavaScript usage in 4.9, replacing several existent effects, i'm not sure whether it would make sense here (notably since you can just use the minimize effect instead) - Mar 02 2012
BeClock

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

there's just one state whether the clock is visible or not[1], there's likely been a collision in the counter (like chime ./. getAttention ./. countdown)

There's a shortcut to show/hide the clock - i think i defaulted it to shift+ctrl+f12 - at least that's configure here ;-)

[1] to answer your question: because the features grew on top of it ;-) - Feb 26 2012
BeClock

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

Nowhere, that's ununixish ;-)

You can cause a countdown whenever you want through dbus (there's afaik some plasmoid and i've a script/alias so i can "countdown m s" eg. from krunner, konsole or whatever. You could also create a kteatime clone, ie. a droplist with some preset timeouts.

I've added the chime to the setup (happens once per hour, but causes only ONE pulse) but you can use crontab or atq to schedule those pulses (and as many) whenever you want. - Feb 21 2012
BeClock

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

I think static, and the clock disappear and reappear after 4-5 seconds, no pulse

Yes, and yes there is - technically ;-)

> AttentionPeriod=9000
The value controls the period, ie 0.001/Hz - in other words, one "pulse" cycle lasts 9000 ms

Since the animation speed itself is static, this means "fade out - wait, wait longer - fade in"
Try to lower this value (the default is 3600, the minimum is 1500)

> CountDownAttention=16
So when the countdown finishes there will be 16 "pulses" within 2.4 minutes =) - Feb 20 2012
BE::MPC

Audioplayers by thomas12777 40 comments

Colors a "monochrome" - by default. There's however a setting for this (see the dark block in the upper right)

Global shortcuts are provided through the Desktop Environment, i cannot "just" add them (but by linking KDE and supporting KDE/kded only)

It would be possible to add random dbus hooks to be called by the systems hotkey -> action functions (what would require the application to become single instance though)

However, to control mpd by shortcuts, i just use mpc (the default CLI client) - has the advance that even BE::MPC doesn't have to be running. - Feb 19 2012
BeClock

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

It's supposed to perform a "pulse", ie. disappear and re-appear (several times in doubt)

Do you use the dynamic mode? (in doubt just post the BeClock settings from ~/.kde/kwinrc) - Feb 18 2012
BeClock

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

open a terminal and enter
qdbus org.kde.kwin /BeClock getAttention 1

This should also happen on every hour change if you activate that option.

Now type
qdbus org.kde.kwin /BeClock countdown 10

When the countdown is done you get n attentions. If not, there's an issue with getting the texture translucent (ie. trying to use shaders while they're not supplied or not using shaders while they control the appearance) - Feb 18 2012
BE::MPC

Audioplayers by thomas12777 40 comments

Sorting in general is there (click on the icon left to the searchline)

I implemented and now test merging artist & albumArtist locally and will in doubt include it with the next update. - Feb 15 2012
BeClock

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

ldd `which kwin` > kwin.libs
please mail me the file (kwin.libs) - Feb 15 2012
BeClock

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

What does
ls /usr/lib/libkwingl*
resp.
ls /usr/lib64/libkwingl*

print? - Feb 14 2012
BE::MPC

Audioplayers by thomas12777 40 comments

you need libmpd and libmpdclient alongside their -dev packages. - Feb 14 2012
BeClock

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

See some comments up - i've never approached. The problem is, that it doesn't seem to be belong anywhere.

Certainly not KWin, since it's not about window managing
Certainly not Plasma(-desktop/-applets) since it's no plasmoid.

One could possibly move it standalone to extragear, but that wouldn't change anything. And as long as your distro has a binary there's ultimately no difference through some "approved by KDE" tag anyway. - Feb 12 2012
BeClock

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

> If it's feasible the effect could use JavaScript
> and thus be downloadable without compilation.

Hehe - "no", it's quite beyond that ;-)

But one could possibly implement general OSD functionality in the compositor, eg. usable from amaroks "tune changed" osd, for the existing solutions have their issues - no idea how i'd implement the circle painting in JS though (having 720pngs is probably a lousy solution :-) - Feb 12 2012
BeClock

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

24h preselection is valid, but i picked the date format for being the only non stupid one ;-)

(It's btw. also the official European & German date format, believe it or not. Maybe not the most used, but still the official one: http://de.wikipedia.org/wiki/Datumsformat#ISO_8601_und_EN_28601 )

On burn in or (rather) not:
jumping around is no option, far too distracting.
I added an hour chime (so once per hour the clock pulses once)
However, while a hour signal might be a good idea, doing so to save your screen is delusion: If the area around (under) the clock does not update you'd have a similar issue for every (non uniform colored) wallpaper.
But burning in is really gone (but for plasmas) and only the cheapest and/or oldest of all screens will suffer from (usually not unrevertible) image persistence (that is NO burn in, trust me ;-)

About Hands: no way. Fork it =P

Timezones are a matter of it's own. While principally no major issue, they've the tendency to crowd the desktop (what becomes an issue for the overlay character) - i'll see whether i can come up with a usable idea to provide timezone changes in one clock, though i've never understood the need of this, i know it's 6h earlier in NY - and passed elementary school :-P

About KDE SC - that's likely never gonna happen.
The reason is that a WM plugin that has really nothing to do with WM has somehow no proper location in the SC and the tendency is to get "toys" out of KWin.
Maybe if there's ever a side package "Fun with compositing" *shrug* - Feb 11 2012
BeClock

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

sigh, yes.

in the last third of CMakeLists.txt you'll find three OPENGLES_FOUND related statements, replace them with ENABLE_GLES

Got an idea for a a reasonable feature update, so i don't have to make another maintenance tarball? - Feb 06 2012
Bespin / Flynn

Be-Shell/Bespin by thomas12777 4 comments

Nope, sorry. Unreleased Desktop shell. - Feb 03 2012
BeClock

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

Ok, that one's been a little more nasty ;-)

Thanks for the notice, i rewrote the janus compilation script. Should work fine now + you get an option to dis/enable gles which defaults to the presence of kwinglesutils.so - Feb 03 2012
BeClock

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

scroll 5 comments up - the issue is that GLES is installed (thus found) but kwin_gles is not (i'll add a script looking for that lib with the next version) - Feb 03 2012
Bespin / Flynn

Be-Shell/Bespin by thomas12777 4 comments

Just as the url says as "flynn.bespin" (while that's not really important)

It's a preset for the bespin UI style where you can just import it (ensure to have bespin installed, run "bespin config" import and load the preset. done. The blue halo must be set up in the bespin kwin decoration (kcmshell4 kwindecoration, select bespin and click configure)

The wallpaper is from a place in the internet where rules #1 & #2 forbid to talk about it ;-)

So there's no persistent link, sorry. I can't distribute it (have no rights on it) but if you drop me a mail i'll attach it back. - Jan 30 2012
Generic Animations (BeGeneric ;-)

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

Thanks, it's most likely this
http://bugs.kde.org/show_bug.cgi?id=292614

which ends up in an unresolvable pure virtual function call, but might be a stack corruption and could be related to this fix
https://git.reviewboard.kde.org/r/103733/

and will (in case) ultimately be resolved by this one
https://git.reviewboard.kde.org/r/103742/


For now, please try to alter animationeffect.cpp:~664

void AnimationEffect::_windowDeleted( EffectWindow* w )
{
Q_D(AnimationEffect);
d->m_animations.remove( w );
}

to

void AnimationEffect::_windowDeleted( EffectWindow* w )
{
Q_D(AnimationEffect);
d->m_zombies.remove( w );
d->m_animations.remove( w );
}

Recompile and check whether the bug still occurs.
This is important. - Jan 30 2012
Generic Animations (BeGeneric ;-)

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

You don't - the custom installation will just override the files installed by the package - the package system doesn't notice that at all.
When you uninstall the package, all files of the custom install will be removed as well (or rather instead)

Otherwise you can just manipulate the configure script and change the build type there. - Jan 30 2012
Generic Animations (BeGeneric ;-)

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

please recompile aside the package manager.
call configure; cd build; ccmake .
there replace "Release" by "Debug", press, "c", "g" and "q"
then make && sudo make install

restart kwin, wait for the crash and post the backtrace (this one just says "crashes in this library", but not because of what) - Jan 30 2012
Generic Animations (BeGeneric ;-)

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

-> backtrace.
Everything else is just text ;-)

The entire thing sounds strage, though - is it a 64bit system? - Jan 30 2012
Generic Animations (BeGeneric ;-)

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

yupp, but in case you had it installed aside the package manager before, you'd get an error on pacman -U (cause there're unmanaged files in place)

The only thing left would be a wrong header (not matching the one for the actual kwin implementation) leading to different ABI versions.

grep -i version /usr/include/kwineffects.h
should print sth. about "182" - Jan 29 2012
Generic Animations (BeGeneric ;-)

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

> I use Archlinux and installed KDE 4.8 a few hours
ago.

Did you use makepkg to create a package and installed it via pacman -U?

Path for the lib is /usr/lib/kde4

Does actually the effect fail or the config dialog? - Jan 29 2012
Generic Animations (BeGeneric ;-)

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

- installed to correct path?
- if you had an outdated lib in place when kwin started, the Qt plugin system it might not touch that lib again (so restart "kwin --replace")
- run kbuildsycoca4
- run "kcmshell4 kwincompositing" from konsole and watch for lines containing generic animations

Just recompiled it yesterday evening when my distro shipped 4.8 - worked out of the box (and should, since i've used it to do the class for KWin 4.8 - so it's been in my 4.8 installation all the time) - Jan 29 2012
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

As mentioned over there: "used to be a Qt bug" (in 4.6 i think?) but isn't reproducable here.
Please check the sf.net entry for a request regarding more information (-> Qt version + backtrace) - Jan 28 2012
BeClock

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

When you got this message you probably noticed that you did not get an informing mail, because i could not replay to your post - long story short: for kde-look, don't hook on other threads but start new ones. The forum cannot deal with deep threads.

The problem seems that while you've GLES installed, you don't have kwin_gles installed but latter isn't checked (not sure whether there's a macro) but assumed if gles is generally available.

As a quick workaround, edit the CMakeLists.txt and find the line that says:

find_package(OpenGLES)

comment it like this

# find_package(OpenGLES)

remove the build folder (or ensure to wipe the cache) and recompile, should work.

If distros generally ship kwin_gles separately yet install GLES, i shall at least add a config option in the next version...
- Jan 28 2012
Generic Animations (BeGeneric ;-)

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

It's not like i could read that, but if google translate didn't fail me, it seems you attempted to install the -dev package for KDE 4.7 - maybe they (that ppa?) don't ship dev pacakges for 4.8? (*shrug*, i know hardly anything about ubuntu) - Jan 27 2012
BeClock

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

It looks like it attempts to build the gles variant but libkwinglesutils.so is either no present, not linked or doesn't contain the relevant symbols (ie. is a dummy or so)

Please say

VERBOSE=1 make 2>&1 | tee beclock_make.log

and mail me the beclock_make.log file (you'll find an address in every header, do not post that here - it's miles long ;-) - Jan 26 2012
Generic Animations (BeGeneric ;-)

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

kde-workspace-dev
The file was removed in some versions of ubuntu, though. - Jan 25 2012
Generic Animations (BeGeneric ;-)

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

you mean like a file saying:
"~/.configure; make; sudo make install" ?? - Jan 20 2012
Generic Animations (BeGeneric ;-)

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

Yes, figured that as well. I pretty much know why this happens, but it will take some to fix it (translation and scaling have separate calculations for the demanded geometry, resulting in an insufficient damage area - i somehow need to merge them) - Jan 20 2012
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

First of all:
wishes, bug reports etc. best go on cloudcity.sf.net - the kde-look forum doesn't nearly match the needs of a bugtracker.

About your wish:
"kcmshell4 kwindecoration", click "configure decoration", see the "style" page.
You should be able to configure special titlebar looks for any decoration, even matching the client (chromium in your case) seamless and *precisely*
Your current observation is just the look configured as "Default" and used for everything that doesn't carry a hint by the Bespin UI style (eg. gtk+ applications like chromium)

Therefore last and also ftr: QupZilla forces nothing ;-)
(In fact, the application could prevent loading certain UI styles, but once loaded, the UI style is actaully far more powerful than the application when it comes to visual stuff - the fluid "hacks" and "workarounds" in the bespin config do precisely this: force down and override the applications original look.)

Exporting the current colors and gradients of the client to the decoration is a feature of the Bespin style (ie. any Qt application using bespin tells the bespin decoration: "please use this color and this kind of look") - this can to a certain degree be configured in "bespin config"/"kwin hints" and is by default honored by the decoration (while the decoration config has still an option to just ignore those calls and always use the "Default" look )

This also implies that you can configure entirely different looks for any application styled by bespin, (configure a preset, assign it to the application/s) and still will get matching decorations for each. - Jan 14 2012
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Partially. Main issue is paddings, therefore it works if the regular combobox padding is NOT smaller than the toolbutton one (sunken & relief = small padding, inlay & raised = big padding; ie. your particular case is covered)

See rev. 1463 - Jan 09 2012
BeClock

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

mesa/mesa-dev package - Jan 02 2012
Generic Animations (BeGeneric ;-)

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

No idea, sorry. - Jan 01 2012
Generic Animations (BeGeneric ;-)

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

You lack the headers for X11 (and likely Qt and KDE as well)
Install the "-dev" packages for xlib, qt, kdelibs and kde-workspace. Then reconfigure and compile. - Jan 01 2012
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

No stupd at all - this is some kind of auto feature.

If you
a) configure the decoration to show buttons on inactive windows
b) cofigure the decoration (in doubt through hints from the style) to look exactly the same (same eytra gradient and colors)

the lines will show on active windows to distinguish them from the inactive ones.

An explicit setting has never existed, but when i added hiding buttons and (iirc ;-) made different colors and an extra gradient the default settings, this look dropped from the out of the box appearance. - Dec 26 2011
BeClock

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

KWin GLES? - I'd have to admit to not have tested that backend so far.

Does the cmake run say it's compiling for 4.8?

Does it work with the xrender backend? - Dec 26 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

It's the titlebar hack and more or less intended, (while the black of a fully black foregroundcolor is too dark - i'm likely gonna play on the result anyway)

The "white" background is a regression, because i deleted the former workaround which used to remove it before - sorry for that. r1440 - Dec 23 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Yes, theoretically it gains you more performance, but not if it crashes and yes, this is the source of your crashes - google "kwin intel bug", the number 252817 will show up for sure :)

Also suspending compositing altogether (shift+alt+f12) will get you much more resources (memory, cpu) and you can setup rules (kcmshell4 kwinrules) to make certain windows block compositing automagically (eg. you run quake and compositing is suspended until quake ends. bespin has "hacks" for vlc & smplayer to trigger this when entering fullscreen mode, but actually this could -in theory- be extended to any application if you've a candidate. Best would be such applications would do this internally. Got to get in touch with their developers...) - Dec 18 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

"kcmshell4 kwincompositing", 3rd tab. is "suspend compositing for fullscreen applications" checked?
in case, uncheck it.
the intel driver can't (for whatever reason and apparently it hits xrender as well?!) - at least on ubuntu (we've tons of bug reports at bugs.kde.org, but it works fine here as well)

Bespin uses the new shadow kwin system on 4.7 what means there should be no such border. It's a clipping relict (ie. the window is masked) what i haven't seen but is similar to the "borders NOT clipped" issue this longer thread started with ;-) - Dec 18 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

r1439, hacked it :-P - Dec 17 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

No, actually it's not. I cannot define the look i want because the widget implicitly changes )or apparently not all times) the type of it's qlabels (plain -> rich, richtext colors and their management is not one of the most shiny parts in Qt)

So that's it, i've got to runtime control their behaviour - time for a hack >-) - Dec 17 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

> The glassy window effect goes back
Sounds like the bug in the xrender implementation of the the driver was never really fixed but just covered by avoiding the driver and using the raster system isntead - if you prefer the glassy effect, you should keep the raster system except for kwin (ensure ~/bin is in your $PATH env, add a script named "kwin" there calling:

#!/bin/sh
/usr/bin/kwin --graphicssystem native $* &

chmod +x ~/bin/kwin

that should do - using the full path in the script is mandatory, otherwise the script will call itself over and over again.

About the shdows: ubuntu is still shipping KDE 4.6 and so this is BeShadowed? - Dec 16 2011
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

I guess ubuntu is doing it wrongly (t quote a dead man) - i posses a gma for a while and neither X11 nor kwin have ever crashed (except for bug in my develoment code ;-)

Anyway, use XRender. It is *not* slow. I tried it on a gma/1366x768/atom combo and the performance is ok.
The reason why it's slow is that debian/ubuntu compiles Qt on the raster graphicssystem, what is not very helpfull for a XRender compositor.
See here:
https://git.reviewboard.kde.org/r/103430/

(Sidenote: bespin was written when kwin didn't work on the raster graphicssystem at all and force the native one, makes direct use of xrender for that reason and is extra-slow on the raster system for the moment. I'll try to do some on this this WE)

You want to run "kwin --replace --graphicssystem native &" or put "export QT_GRAPHICSSYSTEM=native" into a ~/.kde/env/ script - the latter one will affect all all applications an probably free you some RAM, it can still be overwritten by "--graphicssystem raster" for few applications which really profit alot of it (eg. plasma-desktop is a candidate) - Dec 16 2011