Commit graph

10724 commits

Author SHA1 Message Date
Thomas Lübking
66ffd9f0f6 input window: ensure input shaping is supported
BUG: 320459
FIXED-IN: 4.11.2
REVIEW: 112623
2013-09-24 00:50:54 +02:00
l10n daemon script
7c09fb5af2 SVN_SILENT made messages (.desktop file) 2013-09-21 06:50:39 +00:00
Antonio Larrosa
f9109a3d4b Make kwin not crash under qemu due to failing glx call
This fixes a kwin crash that happened under qemu when running kwin for
the first time (subsequent runs had glx already disabled)
2013-09-17 19:06:40 +02:00
l10n daemon script
24f68febf1 SVN_SILENT made messages (.desktop file) 2013-09-09 06:48:54 +00:00
Thomas Lübking
a61002224f re-read dashboard kcfg on reconfigure
BUG: 324034
FIXED-IN: 4.11.2
REVIEW: 112280
2013-09-08 23:47:53 +02:00
Thomas Lübking
2a5861faef highlight effect: windowAdded false positive exits
When a window is added while the effect is running
it shall either be highlighted or hidden, but not exit
the effect what happened, because the property notification
is invoked to test whether the window has a highlight
property (questionable since the effect is running, but
valid - could be different X11 client) and that routine
exits the effect if no property is found (assuming it was
withdrawn)

REVIEW: 112494
2013-09-08 23:43:57 +02:00
Thomas Lübking
0dcdcf48eb copy and paste timebomb
bug as old as kwin compositing ....
BUG: 323688
FIXED-IN: 4.11.2
REVIEW: 112436
2013-09-08 23:43:45 +02:00
Thomas Lübking
f1346494f6 connect iconChanged to decoration
broke with 9eaee286c55717d26535d3dc9e543c0285740d9a

BUG: 324355
FIXED-IN: 4.11.2
REVIEW: 112435
2013-09-08 23:43:19 +02:00
Thomas Lübking
140c4856b7 ignore minimized windows in scalein effect
BUG: 324326
FIXED-IN: 4.11.2
REVIEW: 112425
2013-09-08 23:43:13 +02:00
Thomas Lübking
3859f67862 glsl is not supported on indirect contexts
and fglrx yells an invalid_enum error when being asked
for the version

BUG: 323527
FIXED-IN: 4.11.2
REVIEW: 112419
2013-09-08 23:43:04 +02:00
Thomas Lübking
ef351070e7 snap max'd windows to maximize, not movement area
Because that's where it's placed. Notable esp. when there're panels on opposing sides.
Since snapping keeps max'd windows in position, it should preferably keep it in the proper position ;-)

REVIEW: 112322
2013-09-08 23:41:55 +02:00
l10n daemon script
8a8ccc2afa SVN_SILENT made messages (.desktop file) 2013-09-05 06:42:08 +00:00
Martin Gräßlin
b01f9ca077 Only create ColorCorrection if it is enabled in the options
According to massif just creating the ColorCorrection costs 2 MiB, so
it makes sense to not create it if it is not used.

REVIEW: 111604
DIGEST: Smaller memory footprint in KWin 4.11.2 if color correction is disabled
2013-09-04 14:42:45 +02:00
Michael Chang
f62162eb41 Correctly detect mouseChanged between polls.
REVIEW: 112392
BUG: 323979
FIXED-IN: 4.11.2
2013-09-04 14:39:44 +02:00
Thomas Lübking
29e230dca3 enforce reactivation threshold to be 50ms bigger
than actication threshold.
Things don't work otherwise.

BUG: 323588
FIXED-IN: 4.11.1
REVIEW: 112125
2013-08-27 07:53:02 +02:00
Thomas Lübking
7d6d80351c align zero corner placement to client, not deco
BUG: 318107
FIXED-IN: 4.11.1
REVIEW: 112102
2013-08-27 07:53:02 +02:00
Thomas Lübking
2568fcb149 guide partially max'd windows against corner snaps
BUG: 323598
FIXED-IN: 4.11.1
REVIEW: 112124
2013-08-27 07:53:02 +02:00
Thomas Lübking
9001af8e5a reset custom cube shaders on screen change
the reset/setup invokes the viewport dimensions...

BUG: 323311
FIXED-IN: 4.11.1
REVIEW: 112133
2013-08-27 07:53:02 +02:00
Thomas Lübking
809d261067 align GUI object name to kcfg name
BUG: 315866
FIXED-IN: 4.11.1
REVIEW: 112237
2013-08-25 17:05:37 +02:00
Thomas Lübking
e4d386b76e print active screen strategy, blocking for retrace
REVIEW: 112162
2013-08-25 17:05:37 +02:00
Thomas Lübking
1d778f4600 c++ cannot invoke other constructors
BUG: 324004
FIXED-IN: 4.11.1
BUG: 112274
2013-08-25 17:05:37 +02:00
Thomas Lübking
4ba6764a57 make plastik use PlainText captions
BUG: 323798
FIXED-IN: 4.11
REVIEW: 112180
2013-08-21 21:54:28 +02:00
Thomas Lübking
a3357695a7 make stacking_order exclusive during shutdown
Client::releaseClient() deletes all Client objects
referenced by stacking_order, thus those pointers
dangle and everything trying to touch it died an ugly death.

REVIEW: 112020
BUG: 323383
2013-08-13 21:39:17 +02:00
l10n daemon script
3b2f744b49 SVN_SILENT made messages (.desktop file) 2013-08-13 07:25:19 +00:00
Fredrik Höglund
3363f4f9ed kwin: Don't set the forward-compatible bit
This flag seems to be ignored by several OpenGL implementations,
so don't set it for now.  Mesa may also stop accepting this flag
until forward-compatible contexts are fully supported.
2013-08-07 23:14:06 +02:00
Thomas Lübking
5c207e9a15 poll mouse at 20Hz
required until there's a dynamic poll rate, because 10Hz is too
low for magnifiers (lag), mousemark (paints too edgy), mouseclick
(often fails because it's easy to cycle the button state within 100ms)
- and the bouncing icon lags behind the mouse as well ;-)

REVIEW: 111909
2013-08-06 23:26:51 +02:00
Thomas Lübking
65a476d638 crossfade for resize effect
REVIEW: 111383
2013-08-06 23:26:51 +02:00
Thomas Lübking
772486511a implement crossfading on xrender
REVIEW: 111383
2013-08-06 23:26:51 +02:00
Fredrik Höglund
a61009b152 kwin: Make PaintRedirector work without NPOT texture support
BUG: 321865
2013-08-06 14:45:19 +02:00
Martin Gräßlin
bdc1883fcf Better activation check in KillWindow
If the grab keyboard fails we better do not activate the window killer
otherwise we are in an inconsistent state.

CCBUG: 323191
REVIEW: 111903
2013-08-06 14:44:02 +02:00
Thomas Lübking
ee45592d85 validate screens w/o direct update
largely reverts b164e9912c9b5f9c9ae619bbd79355d317174115
which prevented the crash but due to early screen updating
causes issues with scene/overlay update on at least intel chips

BUG: 322970
FIXED-IN: 4.11
CCBUG: 322156
REVIEW: https://git.reviewboard.kde.org/r/111811/
2013-08-06 10:29:21 +02:00
Thomas Lübking
127cf45626 protect kwin against broken tabbox installation
This happens because some distros ship broken installations
of KWin and KWinActive, but could also appear to QML hacking users

BUG: 322830
FIXED-IN: 4.11
REVIEW: 111732
2013-08-06 09:12:16 +02:00
Thomas Lübking
b92ebe02aa add synthetic repaint after crossfade finished
prevents glitches after crossfading translucent window

REVIEW: 111888
2013-08-06 09:12:05 +02:00
Thomas Lübking
fbac18a635 Hotfix GL crossfading
Not correct crossfading
Purpose of the hotfix is to manipulate opacities of the "semi-crossfaded™"
pixmaps so that on a quick animation and sloppy check it looks somehow
believable (instead of bumping the window to full opacity)

REVIEW: 111888
2013-08-06 09:10:53 +02:00
Thomas Lübking
76f7ee6bff write back unsupported (kwin-intel) unredirection
to have a minimal hint on "this does not work"

REVIEW: 111772
CCBUG: 252817
2013-08-05 20:43:28 +02:00
Thomas Lübking
971fe0107c support fps counter text on xrender
BUG: 323006
FIXED-IN: 4.11
REVIEW: 111878
2013-08-05 20:43:28 +02:00
Thomas Lübking
e9e73f1134 add XRenderPicture(QImage) constructor
was implicitly present for QPixmap::toImage

REVIEW: 111878
2013-08-05 20:43:28 +02:00
Thomas Lübking
18f8493dee no layer repaints for the window geometry labels
insufficient since there can be windows/content on top of the
moved window and the labels are painted on top of the scene

BUG: 318390
FIXED-IN: 4.11
REVIEW: 111861
2013-08-05 20:43:28 +02:00
Thomas Lübking
37279504cb bind unredirection change to unredirection update
when the option changes, the compositor needs to update
the state as it will later not act (in the disabled case)
and should to reflect the option change.

REVIEW: 111867
BUG: 322633
FIXED-IN: 4.11
2013-08-05 20:43:28 +02:00
Thomas Lübking
93ef0226ba add configRequest rule update
REVIEW: 111193
2013-08-05 20:43:27 +02:00
Thomas Lübking
3c593f4357 remove nvidiahack lib
1. it apparently is ineffective
2. if it was effective, it's current behavior would be not exactly helpful
   (sets __GL_YIELD to NOTHING, causing busy waits on doublebuffer swapping)
3. it does for sure pollute the doublebuffer/usleep detection (setenv is set to override),
   ie. the overehad detection code gets a different opinion on __GL_YIELD than libGL

REVIEW: 111858
CCBUG: 322060
2013-08-05 20:43:27 +02:00
l10n daemon script
71a4814f4c SVN_SILENT made messages (.desktop file) 2013-08-05 06:54:55 +00:00
Thomas Lübking
90615561e4 desk-grid: bind sc editor keyChange to kcm changed
BUG: 316177
FIXED-IN: 4.11
REVIEW: 111812
2013-08-02 22:07:10 +02:00
Thomas Lübking
6c420f2b11 don't require geometry changes for quick max/tile
the present check can break quick everything depending
on screen snapping settings.
It so far. only worked for quick maximization due to horizontal
"judder" and failed whenever that judder was not possible
(due to screen snapping on left and/or right edge)

BUG: 322852
FIXED-IN: 4.11
REVIEW: 111740
2013-08-02 22:04:28 +02:00
Thomas Lübking
ac32664dc1 keep buffer swap pref automatic until GPU detected
enforce to "e" (cheap) when driver is still unknown after
detection must be assumed to have run, so a sane value is available
when the context is up

BUG: 322355
FIXED-IN: 4.11
REVIEW: 111548
2013-08-02 22:03:54 +02:00
Thomas Lübking
2f5ceb15e4 exit cube on doubleclick
more natural than (preserved) rmb exit and also for
single touch devices

REVIEW: 111730
2013-08-02 22:02:42 +02:00
Thomas Lübking
bc80d2417a re-fix bouncing startup feedback
BUG: 304253
FIXED-IN: 4.11
REVIEW: 111729
2013-08-02 22:01:25 +02:00
Thomas Lübking
f4827fbac9 update packing logics to honor activities and tabs
at the same time using MaximizeArea instead MoveArea

ratio:
movearea allows to pack windows under panels and while
one can expect users of packing to know alt+lmb, we usually
do not allow to loose the titlebar

Moreover this relies on packing against dock windows what
fails with "virtual" struts as input shaping panels
(eg. cairo-dock?) might use (ie. we we would also have packed
against plasma panel shadows - back then ;-)

BUG: 180084
REVIEW: 111603
FIXED-IN: 4.11
2013-08-02 22:00:45 +02:00
Thomas Lübking
50e3e909da prevent yield/swap cpu overhead on nvidia
CCBUG: 322060
REVIEW: 111663
2013-08-02 22:00:33 +02:00
Thomas Lübking
bac8dc095f fix rendertarget warning on xrender
accidental GL call in non GL compositing
2013-08-02 21:59:55 +02:00