Thomas Lübking
14d1fdf63f
desktop grid: zoom hovered window
...
To indicate that the window is "active" ie. can
be dragged or activated (like in present windows)
There was either a bug or a forum post complaining
about the inability to activate windows from DG
2015-10-29 23:36:10 +01:00
Thomas Lübking
d1cf29f6b2
desktop grid: vector instead of qhash for buttons
...
They're only traversed and QHash is unordered - so
the worst container. Also we have complete control
over the maintained class, so we can just keep the
mapped EffectWindow there
2015-10-29 23:36:10 +01:00
Thomas Lübking
c0e61c3e1a
desktop grid: offset buttons from screen edge
...
mostly aesthetical but also to keep them away
from the (potentially) assigned electric border
2015-10-29 23:36:10 +01:00
Thomas Lübking
fbfc573a8a
desktop grid: add option to hide buttons
...
one does indeed not change the desktop count
that often...
BUG: 352588
FIXED-IN: 5.5
REVIEW: 125228
2015-10-29 23:36:10 +01:00
Thomas Lübking
4fc9f44d2a
desktop grid: use -/+ text buttons
...
esp. the list-remove icon looks like "delete" and
can cause worries about what happens to the windows
as a bonus, the buttons now follow the DPI. are a
little smaller (presently might fit touch devices? but
is way to huge on "normal" desktops with ordinary DPI)
and the buttons have nice visible animations on pressing
BUG: 354131
FIXED-IN: 5.5
2015-10-29 23:36:10 +01:00
l10n daemon script
75f3964db7
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-25 10:45:05 +00:00
Martin Gräßlin
c408e9ccec
Drop remaning code for ShowDashboard
...
Removes the ElectricAction for ShowDashboard and the relevant code
in screenedges and the KCM.
Also a leftover in the glide effect.
REVIEW: 125700
BUG: 353928
2015-10-21 08:12:01 +02:00
Martin Gräßlin
126263b6db
Drop the Dashboard Effect
...
Basically dead code given that Plasma doesn't have a dedicated dashboard
mode anymore and also doesn't set the required window role for it to
work.
By deleting we save one string comparison for each newly opened window.
REVIEW: 125686
2015-10-19 13:56:46 +02:00
Thomas Lübking
7a38b21f49
do not reinterpret_cast insufficient data
...
BUG: 341010
FIXED-IN: 5.5
REVIEW: 125513
2015-10-05 23:41:16 +02:00
l10n daemon script
c342be5961
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-03 11:20:49 +00:00
Martin Gräßlin
044e2a05b2
[effects] Properly announce/remove support in blur/contrast if shader fails
...
Following the approach how it's done for X11: only create the interface
if the shader succeeded to compile and remove support again if it failed
to compile after a reconfigure.
REVIEW: 125444
2015-10-01 11:12:09 +02:00
Thomas Lübking
1ab663436d
Merge branch 'Plasma/5.4'
2015-09-14 21:02:41 +02:00
Thomas Lübking
584850f160
ensure to "hide" desktop buttons
...
before, hiding the buttons relied on the effect
seeing a paint event for the (with a low timeline
value) what's too wonky at least for instant animations
(certain failure) or when effect exits immediatey
(due to screen edge invocation issues or whatever)
BUG: 351869
FIXED-IN: 5.4.2
REVIEW: 124970
2015-09-14 21:01:22 +02:00
Thomas Lübking
57f8c6d5f8
recreate presentwindows grids from desktopgrid
...
Theory:
----------
because PresentWindowsEffect::screenCountChanged() is shortcut
for "if (!isActive())", but the desktopgrid doesn't call
PresentWindowsEffect::setActive (or at least
PresentWindowsEffect::screenCountChanged), so the effect can
"miss" the increasing screen count change (it sees the signal,
but ignores it) and when desktopgrid calls it, it assumes the
m_gridSizes array is big enough (but it isn't)
Steps:
----------
1. effects are loaded, 1 screen present
2. 2nd screen gets added, but inactive effects ignore that
3. desktop grid gets activated, updates according to screen count,
calls presentwindows for screen #2
4. presentwindows data is only prepared for one screen from step 1
=> BOOM
BUG: 351724
CCBUG: 326032
FIXED-IN: 5.4.2
REVIEW: 124960
2015-09-14 21:01:01 +02:00
Marco Martin
5a55727056
support the slide protocol
...
take and apply thhe informations from the wayland slide
protocol in the sliding popups effect
REVIEW:125120
2015-09-14 16:39:39 +02:00
Marco Martin
d3053fab58
support the kwayland contrast protocol
...
support wayland as well in the background contrast effect
REVIEW:125035
2015-09-03 17:00:24 +02:00
Marco Martin
3f5bf65a9e
Use the kwayland blur protocol in the blur effect
...
use the new blur protocol to fetch information about the
region of blur behind to apply to windows like Plasma::Dialog
REVIEW:125017
2015-09-02 14:43:44 +02:00
l10n daemon script
5eb8fc28b2
SVN_SILENT made messages (.desktop file)
2015-08-31 13:32:03 +00:00
l10n daemon script
3bcd24b009
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-08-31 11:22:32 +00:00
l10n daemon script
c0716491ac
SVN_SILENT made messages (.desktop file)
2015-08-28 12:34:25 +00:00
l10n daemon script
ba3d4228f5
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-08-28 10:22:49 +00:00
Thomas Lübking
0c71d514ce
blur transparent 24bit windows
...
also stretch blur opacity a bit (ie.
slightly transparent windows get more
blur compared to their opacity)
REVIEW: 124148
2015-08-27 22:22:50 +02:00
Thomas Lübking
0f4c51936e
Use shader traits for magnifer effect
...
adapted from the zoom effect patch which
was broken likewise in KWin/5
REVIEW: 124942
2015-08-27 22:17:27 +02:00
l10n daemon script
e148fc5bc9
SVN_SILENT made messages (.desktop file)
2015-08-26 12:42:36 +00:00
l10n daemon script
c8ec8ceae2
SVN_SILENT made messages (.desktop file)
2015-08-25 14:56:19 +00:00
Thomas Lübking
c240f7a012
do the hide-is-move dance w/ desktopgrid buttons
...
the (old) button effect windows used to be unreferenced
with the re-invocation of the effect. because we stopped
deleting/recreating the window, this approach failed and
the effect window was never deleted.
Unreferencing the window at proper occasion (see new hide
location) coked up - guess what - the exact same "texture is
junk" issue as for the QtQuick close button in present windows...
So we resort to the exact same stupid "hide by moving" solution
as we have there.
BUG: 348577
FIXED-IN: 5.4
REVIEW: 124136
2015-08-15 01:35:24 +02:00
Martin Gräßlin
b8e433d0a9
[effects] Properly set the componentDisplayName on the KActionCollection
...
Without the componentDisplayName the shortcut dialog takes the name of
the application e.g. Systemsettings or "KDE Control Module", but we want
it to be KWin.
REVIEW: 124706
2015-08-12 09:40:55 +02:00
Martin Gräßlin
125cc5082f
Change default logging category to QtCriticalMsg
...
Less noisy KWin by default.
2015-07-31 13:29:58 +02:00
Martin Gräßlin
53004b95ff
Port left over qDebug to qCDebug
2015-07-31 13:25:51 +02:00
Martin Gräßlin
e476cbc0d2
[effects/cube] Drop warnings if not with shader support
...
We require shaders nowadays for the Cube effect.
2015-07-31 10:56:24 +02:00
Aleix Pol
6f345f4915
Clean debug output
...
Removes endl in the end of qDebug.
Removes the \n in the end of opengl output.
REVIEW: 124320
2015-07-20 13:36:27 +02:00
l10n daemon script
726b1addd2
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-07-09 11:30:25 +00:00
l10n daemon script
b5b8dee854
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-28 10:04:21 +00:00
Martin Gräßlin
1f6c0c07f7
[effects] Support blitScreenshot on OpenGLES
...
As OpenGL ES 3.0 supports framebuffer blit, we don't have to ifdef it
any more.
2015-06-24 09:40:53 +02:00
l10n daemon script
4b8fabca40
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-22 10:30:10 +00:00
Boudewijn Rempt
9c2b53dd04
Warnings--: remove set-but-unused variable
...
Maybe something left over from debugging?
2015-06-12 17:51:02 +02:00
Boudewijn Rempt
1a18eb97ad
Remove icon size calculation
...
The resulting variable wasn't used anywhere, and there weren't any
side-effects from getting the icon size.
2015-06-12 17:50:53 +02:00
Thomas Lübking
cc9a95df5d
evenly distribute windows into all corners
...
If the user has only maximized windows or all
windows crammed into one region of the screen
the effect would not resemble an aperture at all
this ensures a maximum amount of corners is used
while seeking to still use shortest paths
BUG: 348709
FIXED-IN: 5.4
2015-06-10 08:50:17 +02:00
Thomas Lübking
f887c7d4ee
Merge branch 'Plasma/5.3'
2015-06-03 21:40:08 +02:00
Thomas Lübking
12fec3f7f5
Maximize effect: skip crossfadign on user resizes
...
a) close to pointless
b) the target resolution texture is invalid if the resize effect is enabled (as the window was not actually resized)
REVIEW: 123901
2015-06-03 21:17:54 +02:00
l10n daemon script
d07fd3a140
SVN_SILENT made messages (.desktop file)
2015-06-01 11:58:20 +00:00
l10n daemon script
99237c9b3f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-01 10:08:03 +00:00
l10n daemon script
d0e5e86a30
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-05-26 13:53:12 +00:00
l10n daemon script
5d473e37ca
SVN_SILENT made messages (.desktop file)
2015-05-23 12:49:14 +00:00
l10n daemon script
cdf5ef113a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-05-23 11:09:17 +00:00
Martin Gräßlin
0258748eb5
Merge branch 'Plasma/5.3'
2015-05-21 13:33:53 +02:00
Thomas Lübking
ae31aaaa13
fix presentwindows crash on disabling closebuttons
...
m_closeWindow "dangles" and protects m_closeView access
in postPaintScreen
REVIEW: 123865
2015-05-21 09:42:57 +02:00
Thomas Lübking
12358f839a
no VBO upload for zero vertex count
...
causes out of bounds segfault
BUG: 347900
REVIEW: 123865
FIXED-IN: 5.3.1
2015-05-21 09:42:29 +02:00
Martin Gräßlin
efdd9c762b
Merge branch 'Plasma/5.3'
2015-05-20 15:17:17 +02:00
Martin Gräßlin
00dd1ad0fa
[effects] Fix loading of trackmouse effect textures
...
Logic error preventing the textures from loading.
REVIEW: 123862
2015-05-20 14:47:23 +02:00
l10n daemon script
7724edac14
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-05-20 09:47:00 +00:00
Thomas Lübking
8ba16371e7
stall wobbling while screen is transformed
...
transformed screens prevent hardware clipping
leading through filtering subquads
This requires to subquad in the painting pass
what is not supported for non rectangular
qauds ands presently aborts (in debug builds)
if any quad is transformed (as by eg. the wobbling)
REVIEW: 123733
BUG: 338972
2015-05-15 23:55:28 +02:00
Thomas Lübking
c56d64b837
desk grid: do not recreate DesktopButtonsViews
...
Same issue as with present windows closers: qml is slow
Interestingly "hide" means "hide" here and there're also
no visual artifacts.
BUG: 347339
REVIEW: 123668
2015-05-15 23:55:27 +02:00
Thomas Lübking
0da58680fc
window aperture always needs to cancel
...
even if the window is invisible
fade out instead of NOOP or "restorage"
BUG: 347174
REVIEW: 123636
2015-05-15 23:55:26 +02:00
Thomas Lübking
7a6ee1c7bb
break desktopshowing state from cover & flipswitch
...
REVIEW: 123550
CCBUG: 346837
2015-05-15 23:55:26 +02:00
Thomas Lübking
82e0601af9
stall wobbling while screen is transformed
...
transformed screens prevent hardware clipping
leading through filtering subquads
This requires to subquad in the painting pass
what is not supported for non rectangular
qauds ands presently aborts (in debug builds)
if any quad is transformed (as by eg. the wobbling)
REVIEW: 123733
BUG: 338972
2015-05-15 22:02:47 +02:00
Thomas Lübking
0b334f2a70
desk grid: do not recreate DesktopButtonsViews
...
Same issue as with present windows closers: qml is slow
Interestingly "hide" means "hide" here and there're also
no visual artifacts.
BUG: 347339
REVIEW: 123668
2015-05-15 21:59:00 +02:00
Thomas Lübking
e0c3b4eed3
window aperture always needs to cancel
...
even if the window is invisible
fade out instead of NOOP or "restorage"
BUG: 347174
REVIEW: 123636
2015-05-15 21:58:41 +02:00
Thomas Lübking
7a7d79a168
break desktopshowing state from cover & flipswitch
...
REVIEW: 123550
CCBUG: 346837
2015-05-15 21:58:30 +02:00
l10n daemon script
f0e0568b37
SVN_SILENT made messages (.desktop file)
2015-05-15 12:12:44 +00:00
l10n daemon script
cea4b7faeb
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-05-15 10:25:45 +00:00
Sergio Martins
e283bda8e5
Fix unintentional no-op, unite() doesn't change the object
...
REVIEW: 123618
2015-05-03 22:31:23 +01:00
l10n daemon script
88a15d10ae
SVN_SILENT made messages (.desktop file)
2015-04-27 12:17:37 +00:00
l10n daemon script
dc19c0ed02
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-27 10:23:00 +00:00
l10n daemon script
3b93e2e826
SVN_SILENT made messages (.desktop file)
2015-04-25 11:59:16 +00:00
l10n daemon script
f4e2e0e2e9
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-25 10:26:32 +00:00
l10n daemon script
5aeedeb8e9
SVN_SILENT made messages (.desktop file)
2015-04-24 11:33:58 +00:00
l10n daemon script
7c747e1591
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-24 09:53:59 +00:00
l10n daemon script
e8a070ac30
SVN_SILENT made messages (.desktop file)
2015-04-23 11:53:06 +00:00
l10n daemon script
7037327ec4
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-23 10:15:53 +00:00
l10n daemon script
d4af45da2d
SVN_SILENT made messages (.desktop file)
2015-04-21 14:57:25 +00:00
l10n daemon script
a00f1f3ad4
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-21 13:24:50 +00:00
l10n daemon script
0a6668c53b
SVN_SILENT made messages (.desktop file)
2015-04-18 11:59:40 +00:00
l10n daemon script
5cd7658930
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-18 10:28:01 +00:00
l10n daemon script
d18b931f55
SVN_SILENT made messages (.desktop file)
2015-04-17 13:13:21 +00:00
Lasse Liehu
5f9a6278d0
Add disambiguation context
...
REVIEW: 123396
2015-04-17 15:56:58 +03:00
l10n daemon script
ef748afe63
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-17 11:43:23 +00:00
l10n daemon script
5a093d134c
SVN_SILENT made messages (.desktop file)
2015-04-14 15:25:55 +00:00
l10n daemon script
53392ea009
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-14 13:53:56 +00:00
l10n daemon script
8b1f42314c
SVN_SILENT made messages (.desktop file)
2015-04-12 12:16:24 +00:00
l10n daemon script
63a0b4133e
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-12 10:31:39 +00:00
l10n daemon script
1a1a6cd8bf
SVN_SILENT made messages (.desktop file)
2015-04-11 12:07:56 +00:00
l10n daemon script
cb08f61786
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-11 10:29:16 +00:00
l10n daemon script
c05e355003
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-10 10:24:56 +00:00
l10n daemon script
c8de289e6f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-09 10:02:17 +00:00
Thomas Lübking
fb39fafc71
add eye On Screen effect for showing desktop
...
resembles the homescreen effect on "eye" OS
REVIEW: 122679
2015-04-07 23:59:18 +02:00
Thomas Lübking
0103b0fee6
Add Window Aperture effect for showing the desktop
...
It moves windows to nearest corners
2015-04-07 23:59:18 +02:00
Thomas Lübking
0b6a804701
break showingDesktop w/ tabbox/PW/DG
...
This is now crucial, because while before
(the minimized) windows were conditionally
shown, but are now always behind the desktop.
Also, it makes the tabbox more consistent.
BUG: 344083
REVIEW: 122679
2015-04-07 23:59:17 +02:00
l10n daemon script
262da1b7c9
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-07 13:20:00 +00:00
Mika Allan Rauhala
e1e437135b
Fix Background Contrast during Present Windows
...
We already set WindowForceBlurRole for docks during Present Windows. This also sets
WindowForceBackgroundContrastRole.
REVIEW: 122904
BUG: 341926
2015-04-01 16:48:22 +02:00
Nick Shaforostoff
da5328953a
fix memleak in mouseclick effect
...
REVIEW: 123114
2015-03-25 00:02:24 +00:00
Thomas Lübking
d1063b2507
Merge branch 'Plasma/5.2'
2015-03-21 01:26:53 +01:00
Thomas Lübking
e26a3db030
Fix closeview hiding: move it outside rootgeometry
...
The closeview is not hidden because that causes
invalid textures (apparently QML related) and
deleting/recreating causes massive I/O overhead
on effect invocation.
As last resort, the window is "hidden" by moving
it out of the root window geometry.
Jonathan, please RESPIN kwin - sorry for the trouble
... again.
BUG: 345159
REVIEW: 123035
CC: riddell@gmail.com
2015-03-21 01:22:36 +01:00
Martin Gräßlin
7c3197b1eb
Use new ctors for KXMessages and KSelectionOwner
...
Allows to pass the connection and rootWindow and doesn't depend on
QX11Info.
2015-03-17 10:20:19 +01:00
Hrvoje Senjan
3b1f345f4d
Merge remote-tracking branch 'origin/Plasma/5.2'
2015-03-13 15:52:24 +01:00
Thomas Lübking
ac3aef8dfc
do not delete and recreate close button
...
loading the QML/view is not very efficient
BUG: 344676
FIXED-IN: 5.2.2
2015-03-09 00:40:31 +01:00
Alex Richardson
b275daa576
Fix FreeBSD build: std::tan() requires #include <cmath> instead of <math.h>
2015-03-06 03:41:04 +00:00
l10n daemon script
a59a89d36c
SVN_SILENT made messages (.desktop file)
2015-02-22 11:32:22 +00:00
l10n daemon script
a14e62dadc
SVN_SILENT made messages (.desktop file)
2015-02-22 10:26:29 +00:00
Martin Gräßlin
e96c86e045
Remove unused #include <KWindowSystem>
2015-02-17 13:35:30 +01:00