1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 17:17:50 +03:00
Commit Graph

2382 Commits

Author SHA1 Message Date
Michail Vourlakos
2c0e536cf9 remove old applets config from active containments 2017-01-22 02:02:01 +02:00
Michail Vourlakos
2d2c7875e7 fix some qml warnings on dock removal 2017-01-22 02:02:01 +02:00
Johan Smith Agudelo Rodriguez
72bd7a0af8 fix #85, removing Dock crashes Latte 2017-01-21 18:27:51 -05:00
Johan Smith Agudelo Rodriguez
05163c2911 code cleaned 2017-01-21 14:12:27 -05:00
Johan Smith Agudelo Rodriguez
9cb5b44b93 master merged on audoban2 2017-01-21 14:08:39 -05:00
Michail Vourlakos
5b1d152dc9 fix #84,closing Latte cleans config file
--when Latte is closing removes all entries for
containments that are obsolete
2017-01-21 20:08:47 +02:00
Johan Smith Agudelo Rodriguez
3a627a8d65 Free resources for dockview 2017-01-18 12:49:15 -05:00
Johan Smith Agudelo Rodriguez
17b48b6eea rename Latte's configuration files #81 2017-01-17 15:26:51 -05:00
Michail Vourlakos
af74c952ef fix two serious crashes from config window
--first is inside the freeEdges function call
on destruction
--the second is also in the app's destruction
because of the call to a destructed containment
through m_containment. This variable was deleted
2017-01-17 20:09:43 +02:00
Johan Smith Agudelo Rodriguez
6da8142351 disconnect all the signals in the destruction 2017-01-16 16:10:04 -05:00
Johan Smith Agudelo Rodriguez
c42250d9bb avoid white spaces with astyle 2017-01-16 15:37:17 -05:00
Johan Smith Agudelo Rodriguez
2307efd4c4 clean up code #79 2017-01-16 15:37:17 -05:00
Michail Vourlakos
0f658a1e54 fix #76, add waiting dock views
--add m_waitingDockViews which are waiting
for removal confirmation. Using destroyedChanged
signal from containments in order to support
the behavior
--improve freeEdges code based on
the docksCount implementation
2017-01-16 18:19:43 +02:00
Michail Vourlakos
66ce546141 update greek translation
--removed also a no needed string
2017-01-15 10:43:07 +02:00
Michail Vourlakos
d641ec0b33 fix #54,dock is shown when applet needs attention 2017-01-14 01:59:25 +02:00
Johan Smith Agudelo Rodriguez
e3aac94824 permit always update dockRect variable 2017-01-13 17:01:30 -05:00
Johan Smith Agudelo Rodriguez
401e85ad8e dont update struts when the user is configuring #25 2017-01-13 16:33:42 -05:00
Johan Smith Agudelo Rodriguez
4ea00588e9 timer unnecessary 2017-01-13 14:09:00 -05:00
Michail Vourlakos
abf84a1d1e restore previous behavior
--fixed local dock geometry updating in editing
mode. Now in runtime the struts are updating
correctly
2017-01-13 19:22:49 +02:00
Michail Vourlakos
3f2847b467 disable update struts on userConfiguring state 2017-01-13 18:43:23 +02:00
Michail Vourlakos
25f901cdee fix two crashes
-- one private slot was missing, right clicking
was creating a crash because of this sometimes
-- removing a second or third created dock was
causing a crash because visibilitymanager wasnt
removed in sync and correctly from the dockview
2017-01-13 17:15:53 +02:00
Michail Vourlakos
a74fe28c18 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
2017-01-13 16:51:56 +02:00
Johan Smith Agudelo Rodriguez
f844f91ac2 unnecessary sync 2017-01-13 02:07:27 -05:00
Johan Smith Agudelo Rodriguez
5d59cfb01c better debug info 2017-01-13 02:06:29 -05:00
Johan Smith Agudelo Rodriguez
44bdd5a90b code formatted 2017-01-13 01:27:57 -05:00
Johan Smith Agudelo Rodriguez
dd7009e96e reduced number of calls to syncGeometry 2017-01-13 01:27:26 -05:00
Johan Smith Agudelo Rodriguez
60f6f8d942 update dockconfig view 2017-01-13 01:20:14 -05:00
Johan Smith Agudelo Rodriguez
03eeb6074d update geometry just when is necessary 2017-01-13 01:16:05 -05:00
Johan Smith Agudelo Rodriguez
2cb031ee50 improve auto sync geometry, and cleaning code unused 2017-01-12 18:56:25 -05:00
Johan Smith Agudelo Rodriguez
417f6f9e38 reorder members 2017-01-12 18:56:25 -05:00
Johan Smith Agudelo Rodriguez
77917920fd set on all activities #52 2017-01-12 18:56:25 -05:00
Michail Vourlakos
c831f3f8c6 fix #25, set dock's geometry correctly 2017-01-12 20:04:27 +02:00
Michail Vourlakos
456612d7fd set show/hide timers default values 2017-01-12 13:53:06 +02:00
Michail Vourlakos
7896919736 move iconitem from app to plugin 2017-01-11 17:36:11 +02:00
Michail Vourlakos
dd091b6569 restore layouts in main config window
--the latest fix for the configuration window placement
does not need to drop the clean implementation with
layouts
2017-01-11 16:33:10 +02:00
Michail Vourlakos
1ffa4e9ab4 fix correct placement of config window in startup 2017-01-11 16:29:11 +02:00
Michail Vourlakos
52d64b561c restore the init functionality 2017-01-11 15:18:39 +02:00
Michail Vourlakos
fba9d62ee2 fix #50, update config window location
--fix also some crashes concerning the existence
of multiple config windows from different docks.
2017-01-11 02:30:35 +02:00
Michail Vourlakos
8fa6225cdb fix #24, probably fixed
--opening configuration window all the time and
I havent found a case that this is not shown yet
2017-01-11 01:11:41 +02:00
Johan Smith Agudelo Rodriguez
34772cdc21 resync geometry for avoids that config ui covers the dock #38 2017-01-09 00:10:59 -05:00
Johan Smith Agudelo Rodriguez
134a3e7015 fixed missing window icon #42 2017-01-08 17:40:05 -05:00
Michail Vourlakos
df084b1783 fix #13,corona should load layout a bit later
--corona should load its layout after the activities
consumer is ready. Otherwise all the functionality
concerning activities may not work correctly on its
first initialization
2017-01-07 15:31:52 +02:00
Michail Vourlakos
a857b18271 remove no needed functionality from dockview 2017-01-07 15:31:52 +02:00
Michail Vourlakos
e8fec7eea4 remove unneeded code 2017-01-05 18:00:41 +02:00
Michail Vourlakos
9ea5959cb6 fix #41, a crash when a dock was removed
--removing connections on xwindowinterface destructor
--removing connections on dockview destructor
--remove xwindowinterface that was created from
visibilitymanager in its destructor
2017-01-05 17:48:27 +02:00
Michail Vourlakos
377a3d4420 remove visibilitymanager on dockview destruction 2017-01-05 01:22:06 +02:00
Michail Vourlakos
cb0ed85dc2 improve configuration window
--expose quit action
--hide remove action when only one dock exists
--udpate edges when a new dock is added
--connect the destroyed event of containment in order
to remove also the dockview
--remove correctly the dockviews in the application
exit
2017-01-05 00:28:25 +02:00
Michail Vourlakos
ba4837d47b restore compatibility with KF 5.26 2017-01-04 20:53:41 +02:00
Michail Vourlakos
daa6e1b7bc add a separator for latte config entry 2017-01-04 20:53:40 +02:00
Michail Vourlakos
f4201a8a71 improve menu behavior and appearance 2017-01-04 20:53:40 +02:00
Michail Vourlakos
83e0a7564a fix #6
--override default contextmenu behavior
--clean up old code
2017-01-04 20:53:40 +02:00
Michail Vourlakos
9259ee3bc3 remove no needed containment actions 2017-01-04 20:53:40 +02:00
Johan Smith Agudelo Rodriguez
802beedd39 Less debug information. 2017-01-03 20:12:46 -05:00
Johan Smith Agudelo Rodriguez
e9436d568c Dock shouldnt hide on userConfiguring state #32 2017-01-03 20:12:46 -05:00
Johan Smith Agudelo Rodriguez
d5f3553ffc Info debugging generates useless backtrace 2017-01-03 20:12:45 -05:00
Michail Vourlakos
63739ac77b support sticker for configuration window 2017-01-04 01:35:22 +02:00
Johan Smith Agudelo Rodriguez
cec5d62702 Drag events managed from VisibilityManager #37 #21 2017-01-03 12:36:40 -05:00
Johan Smith Agudelo Rodriguez
47c715f6a7 dons't build, pluginmetadata is deprecated 2017-01-03 12:02:51 -05:00
Johan Smith Agudelo Rodriguez
d6f9450d87 Fixed show and hide timers. #33 2017-01-03 12:01:29 -05:00
Michail Vourlakos
9878ee65d1 fix some hiding issues on userConfiguring state 2017-01-03 10:39:13 +02:00
Johan Smith Agudelo Rodriguez
45c9710ed0 Respect to the original authors 2017-01-02 17:12:20 -05:00
Johan Smith Agudelo Rodriguez
fe146aaa90 Missing file licences #34 2017-01-02 17:05:30 -05:00
Michail Vourlakos
f90c4deff2 hide Tasks config if plasmoid not present 2017-01-02 22:26:10 +02:00
Michail Vourlakos
4152535e51 expose dock settings into tasks plasmoid 2017-01-02 12:02:35 +02:00
Johan Smith Agudelo Rodriguez
8e4b4f36bc added blockHiding property on visibilitymanager 2017-01-02 03:07:44 -05:00
Johan Smith Agudelo Rodriguez
a4699e9230 Fixed initialization #17 and improved all modes #19 2017-01-02 01:15:39 -05:00
Johan Smith Agudelo Rodriguez
f49ab516a4 project has been cleaned 2016-12-30 19:26:48 -05:00
Johan Smith Agudelo Rodriguez
84eacf3cbf code formatted 2016-12-31 00:27:57 +02:00
Johan Smith Agudelo Rodriguez
51c26126a3 update CMakeLists and removed unused dependences 2016-12-31 00:26:42 +02:00
Johan Smith Agudelo Rodriguez
2f2a3f7a22 more abstraction 2016-12-31 00:26:42 +02:00
Johan Smith Agudelo Rodriguez
4adbfc41f9 nowdockconfigview removed 2016-12-31 00:26:41 +02:00
Johan Smith Agudelo Rodriguez
6cc1cca371 various fixes and more cleaning 2016-12-31 00:24:00 +02:00
Johan Smith Agudelo Rodriguez
290c5d43d1 dockpackage renamed 2016-12-31 00:24:00 +02:00
Johan Smith Agudelo Rodriguez
7fc5aa55f6 files and class renamed 2016-12-31 00:24:00 +02:00
Johan Smith Agudelo Rodriguez
146f9e3a14 file mode +x 2016-12-31 00:23:59 +02:00
Johan Smith Agudelo Rodriguez
d3cec8bd26 fixed wrong condition. 2016-12-30 14:39:09 -05:00
Johan Smith Agudelo Rodriguez
da6c9c5f46 notify timer changes 2016-12-30 14:33:42 -05:00
Johan Smith Agudelo Rodriguez
8f4f3fe60e Merge branch 'master'
Conflicts:
	app/nowdockcorona.cpp
	app/visibilitymanager.cpp
	app/visibilitymanager.h
	app/xwindowinterface.cpp
2016-12-30 14:31:02 -05:00
Johan Smith Agudelo Rodriguez
4f16376338 Fixed mode on startup 2016-12-30 14:03:46 -05:00
Michail Vourlakos
4bc7a45474 restore previous functionality for QEvent:Leave 2016-12-30 20:49:48 +02:00
Michail Vourlakos
7af3b6e620 support DodgeActive
--add localDockGeometry to be used for the
intersect situation
2016-12-30 20:24:21 +02:00
Michail Vourlakos
9cd16c5cda fix #16, systemtray working ok
--calculate freeedges even when screen=-1 is passed,
such a case is on the creation of a containment
2016-12-30 16:51:44 +02:00
Michail Vourlakos
02a0aa8de4 disable hiding on !immutable 2016-12-30 13:58:31 +02:00
Michail Vourlakos
df08a92d0e support new visibilitymanager in ui
-- small fixes in visibilitymanager and removed
some whitespaces also
2016-12-30 13:46:56 +02:00
Johan Smith Agudelo Rodriguez
4c10939484 if mode is DodgeMaximized, only dodge active window 2016-12-30 11:15:01 +02:00
Johan Smith Agudelo Rodriguez
530c489ef9 code formatted 2016-12-30 11:15:00 +02:00
Johan Smith Agudelo Rodriguez
335e473a64 class inserts into namespace Latte 2016-12-30 11:15:00 +02:00
Johan Smith Agudelo Rodriguez
35aafde5b0 fixed signatures 2016-12-30 11:14:59 +02:00
Johan Smith Agudelo Rodriguez
948b03a357 Visibility manager has been implemented, but need integration on qml 2016-12-30 11:14:59 +02:00
Johan Smith Agudelo Rodriguez
9ad00b2354 the inline function cause build errors, removed for now 2016-12-30 11:14:59 +02:00
Johan Smith Agudelo Rodriguez
aa10cda7f7 include guard 2016-12-30 11:14:58 +02:00
Johan Smith Agudelo Rodriguez
1d5dcbf014 static method for get a instance of abstractwindowinterface
NOTE: WaylandWindowInterface has not been implemented
2016-12-30 11:14:58 +02:00
Johan Smith Agudelo Rodriguez
45347200cd update signatures on abstractwindowinterface.h 2016-12-30 11:14:58 +02:00
Johan Smith Agudelo Rodriguez
c2e7e3db9b FakeTarget moved to app/ 2016-12-30 11:14:58 +02:00
Johan Smith Agudelo Rodriguez
b65a97d92a formatted 2016-12-30 11:14:57 +02:00
Johan Smith Agudelo Rodriguez
206f115e01 const correctness and namespace 2016-12-30 11:14:09 +02:00
Johan Smith Agudelo Rodriguez
b5a5d9759f added class visibilitymanagerprivate to implement visibility 2016-12-30 11:14:09 +02:00
Johan Smith Agudelo Rodriguez
9debe8dbb3 added methods to reserve screen space 2016-12-30 11:14:08 +02:00
Johan Smith Agudelo Rodriguez
2c6ab968bd corona/ has been renamed to app/ 2016-12-30 11:14:07 +02:00
Johan Smith Agudelo Rodriguez
333f1e506c some methods were missing. 2016-12-30 11:07:14 +02:00
Johan Smith Agudelo Rodriguez
1b468a02e1 XWindowInterface has been implemented 2016-12-30 11:07:14 +02:00
Johan Smith Agudelo Rodriguez
ed9870b624 The new interface as we agreed.
also VisibilityManager will perform the logic of the visibility as it corresponds through a class d-pointer using AbstractWindowInterface.
2016-12-30 11:07:13 +02:00
Johan Smith Agudelo Rodriguez
08bfa47709 abstractinterface was renamed to abstractwindowinterface and cleaned
AbstractWindowInterface will hide windows details.
2016-12-30 11:07:12 +02:00
Johan Smith Agudelo Rodriguez
9aa43f14b0 fixed, screenForContainment 2016-12-30 11:02:33 +02:00
Johan Smith Agudelo Rodriguez
d7ca91728a New tentative interface 2016-12-30 11:02:32 +02:00
Johan Smith Agudelo Rodriguez
0abb5ab83e if mode is DodgeMaximized, only dodge active window 2016-12-30 02:45:38 -05:00
Johan Smith Agudelo Rodriguez
c022ed38c4 code formatted 2016-12-30 02:24:04 -05:00
Johan Smith Agudelo Rodriguez
39bd509c51 class inserts into namespace Latte 2016-12-30 02:20:06 -05:00
Johan Smith Agudelo Rodriguez
a6fc7667aa fixed signatures 2016-12-30 02:18:08 -05:00
Johan Smith Agudelo Rodriguez
0735a73cac Visibility manager has been implemented, but need integration on qml 2016-12-30 02:17:38 -05:00
Johan Smith Agudelo Rodriguez
40888f827c the inline function cause build errors, removed for now 2016-12-30 02:16:27 -05:00
Johan Smith Agudelo Rodriguez
c6f7f68bd0 include guard 2016-12-30 02:13:57 -05:00
Johan Smith Agudelo Rodriguez
3fb63d4d78 static method for get a instance of abstractwindowinterface
NOTE: WaylandWindowInterface has not been implemented
2016-12-30 02:13:33 -05:00
Johan Smith Agudelo Rodriguez
454ebfff50 update signatures on abstractwindowinterface.h 2016-12-30 02:11:42 -05:00
Johan Smith Agudelo Rodriguez
6291e55260 FakeTarget moved to app/ 2016-12-30 02:10:12 -05:00
Michail Vourlakos
8cef095116 fix #9, edge priority bottom,left,top,right
-- disable add dock if all edges are reserved
in the current screen
2016-12-29 20:50:47 +02:00
Michail Vourlakos
94f0584436 lock edges that are reserved
--show only one configuration window every time
in case there are more docks set
2016-12-29 20:34:21 +02:00
Michail Vourlakos
066977d550 Merge branch 'master' of https://github.com/psifidotos/Latte-Dock into master2 2016-12-29 15:53:54 +02:00
Michail Vourlakos
973c6c2536 restore Double Layout functionality 2016-12-29 15:41:00 +02:00
Johan Smith Agudelo Rodriguez
552e35963f formatted 2016-12-29 00:43:26 -05:00
Johan Smith Agudelo Rodriguez
1fe1049332 const correctness and namespace 2016-12-29 00:42:55 -05:00
Johan Smith Agudelo Rodriguez
84a5b5473a added class visibilitymanagerprivate to implement visibility 2016-12-29 00:40:35 -05:00
Johan Smith Agudelo Rodriguez
ca9eb7d8fa removed old abstractinterface 2016-12-29 00:38:45 -05:00
Johan Smith Agudelo Rodriguez
e161dc2d37 added methods to reserve screen space 2016-12-29 00:37:53 -05:00
Johan Smith Agudelo Rodriguez
a29378943b corona/ has been renamed to app/ 2016-12-28 22:27:55 -05:00
Johan Smith Agudelo Rodriguez
0eeb93e6c9 Fixed broken build. 2016-12-28 22:08:09 -05:00
Michail Vourlakos
7efa867126 fix #8, block dockview creation for systray 2016-12-29 00:33:43 +02:00
Michail Vourlakos
6b1ff92463 improve settings window behavior onlostfocus
-- and fix a crash from immutabilityChanged from
settings window
2016-12-29 00:25:42 +02:00
Michail Vourlakos
dce9e76049 systemtray issue first approach 2016-12-28 23:45:00 +02:00
Michail Vourlakos
2a9ee6d2d9 renamed nowdock plasmoid to latte one 2016-12-28 23:07:17 +02:00
Michail Vourlakos
01b14c01e8 Merge branch 'scratch' 2016-12-28 22:45:09 +02:00
Michail Vourlakos
a357d05392 moved corona to app directory 2016-12-28 22:44:29 +02:00