Michail Vourlakos
df3118fc98
Revert "remove workaround for X11 struts !compositing gap"
...
This reverts commit 37b708ef52
.
2019-06-15 15:43:23 +03:00
Michail Vourlakos
359b120360
Revert "remove workaround for struts gap"
...
This reverts commit 137cd36547
.
2019-06-15 15:43:12 +03:00
Michail Vourlakos
137cd36547
remove workaround for struts gap
...
--consider always the maskThickness when
settings struts in order to avoid gaps
at all cases
2019-06-15 10:55:38 +03:00
Michail Vourlakos
37b708ef52
remove workaround for X11 struts !compositing gap
2019-06-15 10:02:23 +03:00
Michail Vourlakos
a4764024db
consider mask thickness for struts
2019-06-15 09:59:08 +03:00
Michail Vourlakos
4535ee03c2
REAL maxOpacity from plasma panel backgrounds
...
--Plasma::ExtendedTheme class now provides maximum
opacity provided by panel backgrounds
2019-06-14 16:21:46 +03:00
Michail Vourlakos
1d5bce41d4
improve roundness algorithm
...
--during searching the plasma theme roundness,
opacity values for pixels > 200 are considered
to be in panel background part. This fixes also
the Oxygen theme case and provides a better roundness
value now
2019-06-12 23:02:45 +03:00
Michail Vourlakos
734c08ffda
improve plasma theme roundness discovery
2019-06-12 22:26:59 +03:00
Michail Vourlakos
1051372e04
expose to qml builtin activity/vds switching
...
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
2019-06-10 17:49:21 +03:00
Michail Vourlakos
d312598f60
provide builtin Activity,VDs switching
...
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
2019-06-10 17:30:25 +03:00
Michail Vourlakos
c16251f743
add buffer size for LastActiveWindow
2019-06-09 13:06:06 +03:00
Michail Vourlakos
35752bbc2f
proceed with implementation of LastActiveWindow
2019-06-09 12:47:10 +03:00
Michail Vourlakos
29bbba1730
improve View::currentScreenWindowsTracking
2019-06-09 02:51:00 +03:00
Michail Vourlakos
ef3db56ce7
fix Tracker::AllScreens init signaling on startup
2019-06-09 02:33:01 +03:00
Michail Vourlakos
353f7119cc
move Tracker::Enabled to View::WindowsTracker
...
--previously it was found in the consumers of
View::WindowsTracker (CurrentScreenTracker and
AllWindowsTracker)
2019-06-08 18:11:02 +03:00
Michail Vourlakos
4cc4bfd6de
REFACTOR WindowsTracker to provide more information
...
--View::WindowsTracker now provides all the time
information about CurrentScreen and AllScreens!
This way all consumers (Latte::Containment, Applets etc.)
can choose whatever suits them best.
2019-06-08 17:36:14 +03:00
Michail Vourlakos
7deef41015
move View::WindowsTracker to own directory
2019-06-08 16:20:43 +03:00
Michail Vourlakos
607dbac4cf
update WindowsTracker to track AllScreens windows
...
--by using a Layouts perspective in order to accomplish
that
2019-06-08 16:08:35 +03:00
Michail Vourlakos
0aa5c520dc
add Layouts Tracking in WindowsTracking
2019-06-08 15:25:45 +03:00
Michail Vourlakos
e57ff695ed
ignore LastActiveWindow tracking for !enabled
2019-06-08 14:19:45 +03:00
Michail Vourlakos
7decc54ddf
introduce TrackedLayoutInfo
2019-06-08 14:16:27 +03:00
Michail Vourlakos
2b316aa728
improve trackedinfo(s)
2019-06-08 13:43:50 +03:00
Michail Vourlakos
96c081e076
remove View from TrackedGeneralInfo
2019-06-08 11:12:25 +03:00
Michail Vourlakos
6d1ac0bfe2
remove deprecated references
2019-06-08 10:50:42 +03:00
Michail Vourlakos
c2bfda46d3
make WindowsTracking activity filtering accurate
2019-06-08 01:38:27 +03:00
Michail Vourlakos
1b5de7d859
remove irrelevant windows from Track::History
...
--last active windows that were minimized OR
changed screen must be removed from last active
window history
2019-06-08 01:03:03 +03:00
Michail Vourlakos
59a4d63ca6
improve activities and desktops WM filtering
2019-06-08 00:31:30 +03:00
Michail Vourlakos
c7eb97a879
update WindowInfo to contain desktops/activities
2019-06-07 23:45:42 +03:00
Michail Vourlakos
79ae6a6de4
initial support History for LastActiveWindow
2019-06-07 18:07:19 +03:00
Michail Vourlakos
4ae9b1b91c
update LastActiveWindow with signals
2019-06-04 23:08:05 +03:00
Michail Vourlakos
c0e3004717
add LastActiveWindow debug records
...
--in DebugWindow
2019-06-04 20:08:30 +03:00
Michail Vourlakos
a0226e1de9
split trackedinfo to general and view
2019-06-04 19:49:43 +03:00
Michail Vourlakos
c9ab9a1dbe
dont equalize WindowInfo icon and appName
...
--icon and appName are constly functions and
should be called only when are really needed
2019-06-04 19:17:41 +03:00
Michail Vourlakos
e5673a9cfa
fix type for DodgeMaximized
2019-06-03 19:20:06 +03:00
Michail Vourlakos
3f3560aab5
update dodgeAllWindows on startup properly
2019-06-03 19:16:48 +03:00
Michail Vourlakos
2c33ad52b6
support file paths for Indicator::Resource::svgs
2019-06-03 19:09:08 +03:00
Michail Vourlakos
149812080f
move View/Indicator in its own directory
2019-06-03 18:36:45 +03:00
Michail Vourlakos
f75605d78d
introduce Resources for Indicators
2019-06-03 18:31:42 +03:00
Michail Vourlakos
51c11071dd
support toggle onAllDesktops for LastActiveWindow
2019-06-02 01:57:03 +03:00
Michail Vourlakos
af609ca53f
X11:track more LastActiveWindow properties
...
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
2019-06-02 01:33:34 +03:00
Michail Vourlakos
f3eacf169e
add actions for LastActiveWindow
2019-06-02 01:16:44 +03:00
Michail Vourlakos
6898623bd6
identify PlasmaDesktop on startup under X11
...
--this was only an issue during startup but
add the same time is a good place to add a check
for plasma desktop
2019-06-01 11:04:23 +03:00
Michail Vourlakos
342d4a1a00
move window funcionality to lastactivewindow
2019-06-01 10:55:03 +03:00
Michail Vourlakos
a03655f176
new heuristic to identify plasma desktop window
2019-06-01 03:49:57 +03:00
Michail Vourlakos
54f1e3576e
ignore Desktops under X11
2019-06-01 02:57:47 +03:00
Michail Vourlakos
d44809eb25
enable drag dialog-child windows of skiptaskbar
2019-06-01 02:48:07 +03:00
Michail Vourlakos
c45aa3f56c
make xwindowinterface checks lighter
...
--use the windowsTracker in order to check
a window validity. No need to check again
and again in the window type is valid
2019-06-01 02:43:30 +03:00
Michail Vourlakos
8a8eb632b7
accept Gtk2+ dialogs for tracking
...
--Gtk2+ dialogs under X11 appear as
type Splash and PopUp at the same time.
This is a messy situation let's live
with this
2019-06-01 02:33:44 +03:00
Michail Vourlakos
3cbc4a5daf
support AppName for WindowInformation
...
--use plasma libtaskmanager code and way
in order to obtain properly the AppName and
the Icon for its window
2019-06-01 01:20:54 +03:00
Michail Vourlakos
d45ebf9a34
add application name to WindowInformation
2019-05-31 20:50:08 +03:00
Michail Vourlakos
53d24fe2c6
forward LastActiveWindow to QML
2019-05-31 19:12:34 +03:00
Michail Vourlakos
e07cee3862
support icon for LastActiveWindow
2019-05-31 17:59:52 +03:00
Michail Vourlakos
25c96d0d3a
support isOnAllDesktops for LastActiveWindow
2019-05-31 17:44:04 +03:00
Michail Vourlakos
eea213a5c0
add isOnAllDesktops to WindowInformation
2019-05-31 17:36:47 +03:00
Michail Vourlakos
2d2f7b172d
add more properties at LastActiveWindow
2019-05-31 17:31:29 +03:00
Michail Vourlakos
dbed45b2c7
introduce TrackedInfo and LastActiveWindow
2019-05-31 16:58:42 +03:00
Michail Vourlakos
99ec9cb2fd
move WM:Trackers in its own directory
2019-05-31 14:52:16 +03:00
Michail Vourlakos
2a6620853b
fix crash when updating Indicators packages
2019-05-28 19:02:04 +03:00
Michail Vourlakos
b6520b1cd8
Improve WindowTracker CPU usage
...
--add a Timer in order to not sent too many
batch signals for windowChanged with no reason
and send only one at the end of the Timer::trigger
2019-05-27 20:09:48 +03:00
Michail Vourlakos
97332cc8cf
introduce Display and Icon for WindowInfoWrap
2019-05-27 19:26:28 +03:00
Michail Vourlakos
b251ea7b8e
protect visibility destructor
...
--this protects a crash when closing Latte
immediately after startup
2019-05-27 10:57:16 +03:00
Michail Vourlakos
a8a19bb550
support VirtualDesktops for kwayland>=5.52
...
--This of course needs Plasma>=5.15
BUG: 398106
2019-05-26 00:58:42 +03:00
Michail Vourlakos
61e9e629c5
rename some global shortcuts texts
...
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
2019-05-25 18:05:24 +03:00
Michail Vourlakos
96b86f4c49
remember lastConfigViewFor for shared layouts
2019-05-25 17:49:02 +03:00
Michail Vourlakos
7cd3b6201d
remember the last created ConfigView per layout
2019-05-25 17:40:29 +03:00
Michail Vourlakos
beb0100644
fix some applets animations flickerring
...
--especially when the user drags something over
the Latte::View and afterwards drops it
2019-05-25 14:46:19 +03:00
Michail Vourlakos
f822ece27a
keep onPrimary flag when copying views
2019-05-25 09:32:50 +03:00
l10n daemon script
131ae2622d
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"
2019-05-21 06:00:09 +02:00
l10n daemon script
fc78cae03f
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"
2019-05-19 05:33:09 +02:00
Michail Vourlakos
86e645c720
position properly dropped applets and urls in view
2019-05-17 21:49:31 +03:00
Michail Vourlakos
1ef4de0da8
VASTLY IMPROVE dragging experience
...
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
2019-05-17 21:28:39 +03:00
Michail Vourlakos
3789f3c178
improve adding applets through dragging responsive
...
--fix all events identifications from DragMove and
DragExit etc. in containment::qml part and all drags
flags are calculated only at DragEnter! This fixes
the DragMove signaling and all DragMove signals are
sent correctly.
It needs to be fixed also for Tasks plasmoid because
every time the mouse hovers the Tasks Plasmoid then
the DragMove signals are NOT SENT as they should.
2019-05-16 23:20:51 +03:00
Michail Vourlakos
ffced101e1
apply visibilitymanager::struts when are needed
2019-05-14 17:56:22 +03:00
Michail Vourlakos
f63a0ad658
update/improve hack part of screenghostwindow
...
--related to KWin faulty behavior for visibility
2019-05-14 17:40:44 +03:00
Michail Vourlakos
ebeabb1033
increase View::timers kwin hack
2019-05-14 17:12:36 +03:00
Michail Vourlakos
11f70edbac
fill SharedLayouts circles in LayoutsEditor
2019-05-12 18:08:11 +03:00
Michail Vourlakos
f89b110a36
drop Meta+E that is used from Dolphin
2019-05-12 17:36:15 +03:00
Michail Vourlakos
3a3823add3
Assign/Remove properly Shares from INACTIVE Centrals
2019-05-12 14:30:22 +03:00
Michail Vourlakos
133c301b65
register SchemeColors as qml metatype
2019-05-12 13:57:45 +03:00
Michail Vourlakos
568716e9d3
add SharedLayouts ending circle in LayoutsEditor
2019-05-12 13:46:32 +03:00
Michail Vourlakos
2d89e60030
fix layoutViewType for Shared Layouts
2019-05-12 13:24:00 +03:00
Michail Vourlakos
ebaf81ddd8
remove deprecated code from AbstractWindowInterfa
2019-05-12 02:35:28 +03:00
Michail Vourlakos
48d3728005
REFACTOR:Introduce SchemesTracker for WM
2019-05-12 02:17:22 +03:00
Michail Vourlakos
4e80801523
syncLatteViews when Central is assigned to Shared
2019-05-12 01:41:09 +03:00
Michail Vourlakos
e13793df38
identify screen id at startup for primary screens
2019-05-12 01:36:00 +03:00
Michail Vourlakos
c653bbe14b
send view edge changed signal when copying views
2019-05-12 01:18:18 +03:00
Michail Vourlakos
ae4578433c
dont track windows for AutoHide mode
...
--add initialization of values for views
tracking hints when enabled becomes false
--add some debug messages to be used when
we want to test out things
2019-05-12 00:52:56 +03:00
Michail Vourlakos
a5168c3a2a
REFACTOR:Introduce WM:WindowsTracker
...
--this is a single and very important class
that handles all windows tracking and management
for ALL VIEWS at ALL ACTIVE LAYOUTS
2019-05-11 21:19:28 +03:00
Michail Vourlakos
945c6e50e2
remove deprecated m_views from AbstractWMInterface
2019-05-11 16:12:03 +03:00
Michail Vourlakos
a295352514
limit WM::setViewExtraFlags calls
2019-05-11 16:06:53 +03:00
Michail Vourlakos
ad788130ab
REFACTOR:add WindowSystem namespace
2019-05-11 15:47:22 +03:00
Michail Vourlakos
7b094d7007
dont drag last active window when is minimized
2019-05-11 09:55:06 +03:00
Michail Vourlakos
a661fbb032
refactor:drop LAYOUTSMANAGER apis moved to SYNCHER
2019-05-11 09:51:47 +03:00
Michail Vourlakos
a6b8fbcaff
consider view::hidden state after slide-out
2019-05-11 09:08:18 +03:00
Michail Vourlakos
bea8247b84
refactor:move syncActiveShares to Synchronizer
2019-05-11 03:46:06 +03:00
Michail Vourlakos
c4b226def5
REFACTOR:Add Synchronizer for Layouts::Manager
...
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
2019-05-11 03:11:50 +03:00
Michail Vourlakos
d08f1f9dbb
add bold presentation for Shares in menu
2019-05-10 21:15:18 +03:00
Michail Vourlakos
46bf0c1229
update activities/shares from cell QMenu(s)
2019-05-10 19:59:37 +03:00
Michail Vourlakos
24e25944db
Shared Views have highest priority
...
--Shared views can be positioned to all free edges
including those occupied by Central layouts and the
Central layouts update their views accordingly
2019-05-10 00:00:47 +03:00
Michail Vourlakos
c6cd3f4685
move layout connections in the view
...
--any view and view::containment() signals that
are related to layout are now moved in the
View::setLayout() in order to be reinitialized
properly when the view changes to another
layout
2019-05-09 23:45:52 +03:00