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

610 Commits

Author SHA1 Message Date
Michail Vourlakos
eac9e649aa add Swich button, update text for configure layouts 2017-07-24 20:01:11 +03:00
Johan Smith Agudelo Rodriguez
e069c0e71a Fix connections 2017-07-24 20:01:11 +03:00
Johan Smith Agudelo Rodriguez
0e87cb8907 LayoutConfigDialog moved into LayoutManager class 2017-07-24 20:01:11 +03:00
Johan Smith Agudelo Rodriguez
0b4dc7ce3e Adding layouts config dialog 2017-07-24 20:01:11 +03:00
Michail Vourlakos
569d9fe2d1 remove deprecated color(tan) and use brown instead
--update also the interval to switch layouts
2017-07-24 20:01:11 +03:00
Michail Vourlakos
02ec39fda2 fix a crash, add dockviews deletion in unload
--during changing layouts there were cases that Latte
would crash because between deleting containment and
triggering the event to delete the dockview, there was
a race condition. The dockview wasnt deleted and as
a consequence the libtaskmanager or kwindowsystem were
forwarding events to them
2017-07-24 20:01:11 +03:00
Michail Vourlakos
fee7761d85 update correctly the importing procedure
--there were some issues with the use of LayoutSettings
in places that we shouldnt use it. LayoutSettings now
is used to load only layouts with version>=2
2017-07-24 20:01:11 +03:00
Michail Vourlakos
2cbc68ea4b set purple color for Alternative imported layout 2017-07-24 20:01:11 +03:00
Michail Vourlakos
432db753fc support a color palette for the layouts 2017-07-24 20:01:11 +03:00
Michail Vourlakos
e591add025 move autostart functionality to universalSettings 2017-07-24 20:01:11 +03:00
Michail Vourlakos
fc0e0f2d50 fix creation of Alternative Layout 2017-07-24 20:01:11 +03:00
Michail Vourlakos
21a51ba4b3 fix typos 2017-07-24 20:01:11 +03:00
Michail Vourlakos
c0288893ae init correctly Latte with new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
75f3b1d4d2 update layouts to new architecture
--the config window now exposes only the
confirmed layouts and can update its layout
accordingly
2017-07-24 20:01:11 +03:00
Michail Vourlakos
9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
2017-07-24 20:01:11 +03:00
Michail Vourlakos
673c398d32 add currentLayout into the layoutManager 2017-07-24 20:01:11 +03:00
Michail Vourlakos
f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
2017-07-24 20:01:11 +03:00
Michail Vourlakos
14e61b3a59 update currentLayout,create Alternative if !exists 2017-07-24 20:01:11 +03:00
Michail Vourlakos
0889d2224d cleanup unload() corona function 2017-07-24 20:01:11 +03:00
Michail Vourlakos
badcaa5474 fix a crash when changing layouts/old sessions
--when changing layouts/old sessions from the Latte Tasks
Context menu, Latte was crashing very often. Add the switching
code into a Timer to make its execution asynchronoushly
2017-07-24 20:01:11 +03:00
Michail Vourlakos
f30c9056b3 support Alternative switching for new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
b15e919bab remove all the session functionality
--the session functionality is not removed only from
globalsettings class which is just waiting to be removed
tottaly when its functionality moves to the new classes
2017-07-24 20:01:11 +03:00
Michail Vourlakos
091295126d support loading for the new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
2d22b2c243 import screens from old configuration files 2017-07-24 20:01:11 +03:00
Michail Vourlakos
942d3b04db prepare loading layouts correctly 2017-07-24 20:01:11 +03:00
Michail Vourlakos
35a8f607b8 update universal settings correctly
--update exposeLayoutsMenu correctly from the
Importer
--cleanup universal settings file on exit
2017-07-24 20:01:11 +03:00
Michail Vourlakos
db08a09bbf Importer importes the containments correctly 2017-07-24 20:01:11 +03:00
Michail Vourlakos
1a9ea88bc8 add LayoutSettings class and expose classes 2017-07-24 20:01:11 +03:00
Michail Vourlakos
0b8316e296 add presets for the new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
b35501012e update new classes descriptions 2017-07-24 20:01:11 +03:00
Michail Vourlakos
06ddef8506 cnew architectures classes,add missing licenses 2017-07-24 20:01:11 +03:00
Michail Vourlakos
720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
2017-06-30 11:41:17 +03:00
Michail Vourlakos
67d1f1d4f9 fix #565,full dynamic reload the layout
--the new layout is loaded without closing
Latte and with properly loading globalSettings
and screen from the layout file. The layout
new files are updated when Latte is closing
2017-06-30 11:41:17 +03:00
Michail Vourlakos
b417ae52c3 support dynamic layouts loading 2017-06-30 11:41:17 +03:00
Michail Vourlakos
c72f7f4531 fix #573,improve the primary docks behavior
--users reported that when activating an external screen
as primary and at the same time disabling the original
screen e.g. the laptop one, latte wasnt showing docks at
all. This could also occur on startup. This commit
fixes this and improves more the multi-screen code in
various corner cases
2017-06-30 11:39:21 +03:00
Johan Smith Agudelo Rodriguez
d467815aa8 fix recursive call 2017-06-29 17:07:30 -05:00
Johan Smith Agudelo Rodriguez
e4a9232e94 [Wayland] Fixed crash when config window is hiding 2017-06-29 17:03:44 -05:00
Johan Smith Agudelo Rodriguez
c77ba179fe fix #568, [Wayland] Dodge modes do not ignore the plasma desktop 2017-06-29 17:02:25 -05:00
Johan Smith Agudelo Rodriguez
a32236932a Unnecessarily long enum 2017-06-29 17:00:55 -05:00
Johan Smith Agudelo Rodriguez
a2e4397d03 renaming and add noexcept to lambdas 2017-06-29 15:50:11 -05:00
Johan Smith Agudelo Rodriguez
6b52cc894a Include moc file 2017-06-29 15:34:36 -05:00
Johan Smith Agudelo Rodriguez
5667d31385 #569, AlwaysVisible is functional 2017-06-29 15:33:12 -05:00
Michail Vourlakos
c0daf7dd68 add debug messages for destructions 2017-06-25 17:07:45 +03:00
Michail Vourlakos
bc262d7b00 fix typo and trigger signal 2017-06-24 16:14:57 +03:00
Johan Smith Agudelo Rodriguez
1e8fc4a739 Wait for ContainmentView destruction 2017-06-23 19:23:45 -05:00
Johan Smith Agudelo Rodriguez
ae3c856346 keeping compatibility with gcc 4.8 2017-06-23 16:27:58 -05:00
Johan Smith Agudelo Rodriguez
c4e01f428f keeping compatibility with gcc 4.8 2017-06-23 16:11:43 -05:00
Johan Smith Agudelo Rodriguez
6892e96769 keeping compatibility with gcc 4.8 2017-06-23 16:10:14 -05:00
Johan Smith Agudelo Rodriguez
cb9fadbcbd keeping compatibility with gcc 4.8 2017-06-23 16:00:16 -05:00
Michail Vourlakos
0bd90b8fd2 improve recreate dock implementation
--the new implementation possibly fixes two crashes
that could occur occasionaly. First it is ensured
that the new dock in created after the old one has been
removed. We also use directly the containment instead
of using a reference for it which could create a crash
in some cases. One more fix, setting dock visible to false
had no reason as long as it is going to be deleted either
way.
2017-06-23 10:54:35 +03:00
Michail Vourlakos
69c28eff7a fix #537,reenable show() on dock creation
--this code has been checked to not break both
wayland with plasma 5.10 and x11
2017-06-23 02:19:00 +03:00
Michail Vourlakos
a1a1f56749 disable messages from dockview when deleting it 2017-06-23 01:35:10 +03:00
Michail Vourlakos
5e1d851888 delay the recreation of a dock
--when recreating a dock it might be a good idea
to delay a bit in order to give to the config
window the time to delete itself
2017-06-23 01:21:33 +03:00
Michail Vourlakos
f6b9e35eb7 fix crash from surfacedestroyed signal 2017-06-22 02:26:08 +03:00
Michail Vourlakos
d825e2dda4 add more protections on deleting a dock
--these protections could reduce crashes on
dock deletions
2017-06-21 23:34:40 +03:00
Michail Vourlakos
9e74ce95a2 fix crash when changing to default session
--this was a rare crash when changing to default
session from the alternative one through the context
menu of the Tasks plasmoid there was a crash sometimes
2017-06-21 22:47:29 +03:00
Michail Vourlakos
4b8f3a4b33 fix #559,fix wayland crashesm show/hide configview 2017-06-21 22:47:29 +03:00
Michail Vourlakos
7181341913 fix #517,restore qt5.9 focusOut behavior 2017-06-21 09:45:34 +03:00
Johan Smith Agudelo Rodriguez
f5607f87e2 AlwaysVisible Not yet implemented 2017-06-20 19:07:47 -05:00
Johan Smith Agudelo Rodriguez
b7f9ad5685 Fix #558, Dodge all windows and activities 2017-06-20 19:06:04 -05:00
Johan Smith Agudelo Rodriguez
de4f05fe9c added include guard 2017-06-20 17:21:49 -05:00
Johan Smith Agudelo Rodriguez
a3fb857081 Default behavior, WindowsGoBelow 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
a6bcc53aad Cleaning up a bit before implementing always visible 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
42885005b2 DodgeAllWindows is functional 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
35c44a6918 DodgeMaximized is functional 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
44d85a4905 WARNING: Assertion failed in wayland 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
a41710b155 DodgeActive is functional 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
a02fe1322e waylandinterface implemented 2017-06-20 16:59:11 -05:00
Johan Smith Agudelo Rodriguez
2040ac3063 abstractwindowinterface now is based over an variant class type 2017-06-20 16:59:11 -05:00
Michail Vourlakos
111d59e1c5 fix crash with qt5.9 and wayland
--the show() function of a wayland surface shouldnt
be called before the surface is created. In other case
in qt 5.9 creates a crash
2017-06-20 23:13:38 +03:00
Michail Vourlakos
ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
2017-06-20 20:15:12 +03:00
Michail Vourlakos
cf86fddeec fix #537,properly set copy location in multi-scr 2017-06-20 18:20:48 +03:00
Michail Vourlakos
f18047a43e fix #556,remove single dock from secondary screen 2017-06-20 17:57:58 +03:00
Michail Vourlakos
480570bab2 fix #555,correct -1px struts calculations 2017-06-20 17:28:55 +03:00
Michail Vourlakos
ce7bf51145 disable background effect when having transparency 2017-06-19 00:30:07 +03:00
Michail Vourlakos
d544549d2c fix #553,reenable shortcuts for plasma taskmanager 2017-06-18 18:14:15 +03:00
Michail Vourlakos
1554af6f16 pass boundingRect to background Contrast effect
--fix the strange line at the bottom of the dock
when using the Breeze themes
2017-06-18 13:29:40 +03:00
Michail Vourlakos
aa9e730422 fix #539,update autostart to new desktop file 2017-06-13 13:51:11 +03:00
Michail Vourlakos
9ccf9978be update docksCount on screen changes 2017-06-12 00:52:17 +03:00
Michail Vourlakos
a05785e34b differentiate dockNo perScreen and total
--improve the signaling between the configuration window
and the dockview concerning freeEdges for current screens
and docks count. Now the docks counting is different
between screens and in general
2017-06-12 00:40:45 +03:00
Michail Vourlakos
97b3c4f854 update algorithms for docksCount,freeEdges
--the new algorithms are using QScreen* values
from dockviews instead of the containment screen()
which can not be trusted at the first minutes
of a dock creation
2017-06-11 23:55:34 +03:00
Michail Vourlakos
973cc935fc always set explicit screen on copy method 2017-06-11 23:31:45 +03:00
Johan Smith Agudelo Rodriguez
a409d761b7 fix #527, Dock dodges maximized window on different screen. 2017-06-11 14:45:44 -05:00
Michail Vourlakos
6a480d4311 remove debug message 2017-06-11 18:16:43 +03:00
Michail Vourlakos
c8878792bb fix #532,dont allow to add a second Tasks plasmoid 2017-06-11 18:06:03 +03:00
Michail Vourlakos
5eb63a3cbc move new copied dock to explicit screen
--if the new copied dock is on a multi-screen
environment the algorithm adds it in the first
available alternative screen that has the same
edge free
2017-06-06 19:01:02 +03:00
Michail Vourlakos
2078cb1cb2 support copyDock correctly from corona
--the code copies the containment configuration
and also if there is a systray in it
2017-06-06 19:01:02 +03:00
Michail Vourlakos
b0ebfdbe4f first approach to copy a dock 2017-06-06 19:01:02 +03:00
Michail Vourlakos
c7ad6463d7 always copy current dock launchers to global ones
--when the user activate the syncLaunchers choice the
current dock launchers are copied as global launchers
2017-06-06 00:51:36 +03:00
Michail Vourlakos
be83d54339 fix #521,support syncing launchers for all docks
--this commit is the last for this to be supported.
It checks if the globalLauncherList is empty and in
such case when syncing is enabled the current dock
launchers are used
2017-06-05 22:30:05 +03:00
Michail Vourlakos
2ec210bf48 support globalLaunchers for alternative session 2017-06-05 21:33:08 +03:00
Michail Vourlakos
cf7b820e2e sync launchers correctly between docks,def session 2017-06-05 21:13:54 +03:00
Michail Vourlakos
7627d30a1c make dock mask null when behaveAsPlasmaPanel
--this way the pop ups from widgets are placed
much better
2017-06-04 19:06:45 +03:00
Michail Vourlakos
3b0f46760a hide tasks numbers on wayland 2017-06-04 17:14:48 +03:00
Michail Vourlakos
8e006b54f6 create dock wayland surface earlier
--doing so fixes a wrong loading issue that
was creating shadows for secondary, third dock
and losing also the focus out event to close
the configuration windows
2017-06-04 11:54:13 +03:00
Michail Vourlakos
eb2387c581 fix configuration window positioning and issues
--draw the wayland surfaces for docks and config
views earlier. That way we are certain that the
signals wont mess up the experience. This way
positioning config views and getting the focusOut
event works correctly
--disable in waylandinterface any x specific code.
In order to be ready that class to accept only
wayland centered code
2017-06-04 11:54:13 +03:00
Michail Vourlakos
575ff06a66 support window placement in wayland!!! :) 2017-06-04 11:54:13 +03:00
Michail Vourlakos
048acbfb71 initial commit for waylandinterface
--support wayland painting without init crashes
--the wayland interface is just the xwindow one
masked as an wayland interface
2017-06-04 11:50:05 +03:00
Michail Vourlakos
ee6c831b01 fix #510,support correctly global shortcuts
--in X11 now the globalshortcuts class takes into
account if the user presses any modifier in order
to hide the dock
--if the dock is hidden whenever a relevant global
shortcut is triggered the dock is shown and number
indicators for the tasks are shown
2017-06-04 11:15:32 +03:00
Michail Vourlakos
1b025826ee identify if the user released modifiers
--the global shortcut class now identify if the user
has release the shortcuts modifiers and then release
the dock to hide. The code was found first in the
plasma activity switcher
2017-06-04 10:08:58 +03:00
Michail Vourlakos
d54fc5b436 add Meta+` shortcut and fix animation behavior
--the isHidden flag shouldnt be set from visibilitymanager,
it is only the qml responsibility
2017-06-04 02:43:52 +03:00
Michail Vourlakos
4de9ea1e7e add globalshortcuts class to improve semantics
--the globalshortcuts class contains all the relevant
code and includes also some functions that were used
from corona to trigger changes into the Latte Tasks
plasmoid
2017-06-04 01:58:03 +03:00
Michail Vourlakos
4381384d20 add deleteLater instead of delete for dockView 2017-05-27 19:31:36 +03:00
Michail Vourlakos
8f9772f46a init qml from kde frameworks 2017-05-26 15:36:50 +03:00
Michail Vourlakos
d223e23291 protect from closing on changing sessions
--disable quiting the app when there are no windows
shown. There are cases that between states some
windows may not exist. E.g. when changing sessions
and when activating/deactivating screens
2017-05-26 15:07:06 +03:00
Michail Vourlakos
b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
2017-05-24 18:08:05 +03:00
Michail Vourlakos
50f8091601 fix a bug of not showing external shadows
--this occured with all new backOnlyOnMaximized
windows choice
2017-05-18 15:27:57 +03:00
Michail Vourlakos
49d8b145d2 fixes for showBackOnlyOnMaximized design
--improve applets shadows, now the shadows used
are using the backgroundColor when a transparent
panel is forced
--identify better when shadows should be drawn
2017-05-18 01:33:32 +03:00
Michail Vourlakos
8fe5e7ed00 fix #183,#465, add workaround for grabItem issue
--after Qt 5.8 the way the ungrabMouseItem works
has changed this introduced a bug:
http://bugreports.qt.io/browse/QTBUG-59044
plasma devs found a solution for this, that this
commit provides. The issue occurs when a user
right clicks (creates a context menu) and to
release it, he clicks in alternative area
outside the QuickWindow that created the previous
contextmenu
2017-05-17 10:51:37 +03:00
Michail Vourlakos
9d213a6e83 support clicking event for all fakeIconItem area 2017-05-16 23:08:13 +03:00
Michail Vourlakos
87e1d1cd2f update translation scripts to include metainfo
--update translation scripts to include translatable
metadata for the appstream file. new dependencies for
the scripts are:
 - xmlstarlet
 - itstool

--added also greek translation for the appstream file
2017-05-13 19:58:41 +03:00
Michail Vourlakos
cb5e7a8307 fix #447,add an appstream file for Latte 2017-05-13 00:10:47 +03:00
Michail Vourlakos
86855e03cb update metadata desktop file to new guidelines
--update the desktop file naming in order to comply with
new guidelines. Concerning also wayland. The new desktop
file is named to org.kde.latte-dock.desktop
2017-05-12 23:25:22 +03:00
Michail Vourlakos
b1c0131600 fix parenthesis typo
--by using clang an issue with a paranthesis
logical statement was discovered. this commit
fixes the logic in that statement
2017-05-11 21:37:49 +03:00
Michail Vourlakos
721001ecc4 fix grow/shrink of behaveAsPlasmaPanel dock behave 2017-05-07 19:24:08 +03:00
Michail Vourlakos
d1cb29b716 fix #444,use m_drawShadows for external shadows 2017-05-07 15:18:14 +03:00
Michail Vourlakos
7d3458d45c support behaveAsPlasmaPanel in the dockview 2017-05-07 15:06:29 +03:00
Michail Vourlakos
df9edc5754 fix #441,expose add widgets action in context menu 2017-05-03 00:18:47 +03:00
Michail Vourlakos
a8c6e2f342 disable debug message for dbus calls 2017-05-01 09:20:15 +03:00
Michail Vourlakos
bd9021a412 fix #432,signal update struts on dock screenchange 2017-05-01 09:11:55 +03:00
Johan Smith Agudelo Rodriguez
dee8ebcf8b update ever the struts the dock 2017-05-01 09:11:54 +03:00
Michail Vourlakos
92f214d552 support removing internal tasks separator 2017-04-28 21:39:39 +03:00
Michail Vourlakos
6bb14547e5 first implementation for tasks internal separator 2017-04-28 21:39:38 +03:00
Michail Vourlakos
7bbade8b28 fix, adding default layouts in user ones history 2017-04-24 17:08:07 +03:00
Michail Vourlakos
837207d21a remove separator from layouts
--signal to initialize the layouts
combobox when the user does not accept
to load a layout
2017-04-24 16:56:34 +03:00
Johan Smith Agudelo Rodriguez
fb3bff6dce fix message box 2017-04-23 17:26:36 -05:00
Michail Vourlakos
7821a52ca5 remove no needed m_ghostWidget 2017-04-23 22:52:23 +03:00
Michail Vourlakos
883750267a add external config file and support presets
--this patch adds an external config file in
order to store the user layouts. Adds also in
the globalSettings the layouts mechanism
--todo: the confirmation dialog is not working
correctly for some reason. It doesnt return
the accept value and on the exec() function
is crashing
2017-04-23 22:34:29 +03:00
Michail Vourlakos
884c12d980 first part of functional layouts 2017-04-23 12:14:44 +03:00
Michail Vourlakos
bcdbe40c51 fix #419,autostart option is not default
--the commit the records the user the first time
it changes the autostart option to false. When
this happens then latte is not recreating the
autostart file when starting
2017-04-23 10:43:46 +03:00
Michail Vourlakos
2ef64f4ab3 fix #411,deactivate applets when show previews 2017-04-23 02:43:24 +03:00
Michail Vourlakos
df0da77083 fix #420,include spacers in applets geometry calcs
--this way the right click we always take into account
the visual appearance space that latte provides for it
and not the applets internal geometry. So now spacers
also are considered as applet area
2017-04-23 02:31:36 +03:00
Michail Vourlakos
26d5ba4a64 fix #415,disable ByPass flag by default 2017-04-22 12:37:11 +03:00
Michail Vourlakos
738dc50fff Merge branch 'v0.6' into master 2017-04-21 17:01:52 +03:00
Michail Vourlakos
597c457b9b fix #385,load font through QFontDatabase 2017-04-21 16:59:58 +03:00
Michail Vourlakos
4f030849f0 expose through dbus updateBadge for dock items
--apps can sent through dbus and identificator
e.g. "kmail" and a value for unread mails e.g.2
Latte afterwards will update that specific badger
2017-04-21 16:34:19 +03:00
Michail Vourlakos
b034e748bb fix #365,support shortcuts to activate tasks
--this patch supports activation through shortcuts
--Meta+number, activates the relevant task, for
groups by default it activates the next available
window in the group
--Meta+Ctrl+number, create a new instance for that task
or launcher
--the user should know that must first enable these
shortcuts at plasma global shortcuts configuration
window
2017-04-21 16:13:22 +03:00
Michail Vourlakos
31ee8ed4db fix #362,"Remove Tasks" option in Tweaks page
--the user no is able to remove the Latte plasmoid
from the Tweaks page
2017-04-11 12:10:54 +03:00
Michail Vourlakos
2a2565eac5 Merge branch 'v0.6' into master 2017-04-11 10:09:31 +03:00
Michail Vourlakos
33a7176b7f remove clearing cache
--this code was suspicious for crashes
2017-04-11 10:07:14 +03:00
Johan Smith Agudelo Rodriguez
64891bcabd delete dockconfigview when the dock is recreated 2017-04-09 13:58:59 -05:00
Johan Smith Agudelo Rodriguez
df69c3838b fix possible race condition with qDebug 2017-04-09 13:44:07 -05:00
Johan Smith Agudelo Rodriguez
adf82df246 fix #355, Request for new visibility policy: Windows Go Below 2017-04-09 13:42:39 -05:00
Michail Vourlakos
b088015616 use offset when drawing shadows external 2017-04-09 01:59:21 +03:00
Michail Vourlakos
510974c3ff fix #356,expose offset in the dockview
--this patch updates borders correctly based
also on the offset variable
--fixes the calculations for offset and panel
background positioning
2017-04-09 01:26:29 +03:00
Michail Vourlakos
7173d12625 return correct screen geometry from corona
--signal triggering for screenGeometryChanged(id)
can not be added yet as it is not plasma 5.8
compatible
2017-04-04 22:23:21 +03:00
Johan Smith Agudelo Rodriguez
46fe322b35 fix #358, [Crash] - recreating dock for AlwaysVisible mode
If I overrride the method event I should call to implementation parent, however VisibilityManagerPrivate is triggered from view and VisibilityManagerPriavte is not owner of QEvent
2017-04-03 23:51:16 -05:00
Johan Smith Agudelo Rodriguez
0e15b27596 fix no return in nonvoid function 2017-04-03 02:31:40 -05:00
Johan Smith Agudelo Rodriguez
a5eb5c6a47 force visibility in startup if user is configuring 2017-04-02 04:25:36 -05:00
Johan Smith Agudelo Rodriguez
78187b463d restore last beahavior for mode() 2017-04-02 02:20:45 -05:00
Johan Smith Agudelo Rodriguez
39be0782ff fix crash when the user change the session 2017-04-02 02:16:25 -05:00
Johan Smith Agudelo Rodriguez
d991380e34 update list of contributors 2017-04-02 01:28:00 -05:00
Johan Smith Agudelo Rodriguez
ab3acd35d9 reorder members 2017-04-02 00:25:03 -05:00
Johan Smith Agudelo Rodriguez
21321fb16c fix #344, edit mode still active when I change the session 2017-04-02 00:24:36 -05:00
Johan Smith Agudelo Rodriguez
8420245102 fix #330, visibility mode and options
Visibility doesn't load when switch to session
2017-04-02 00:23:47 -05:00
Michail Vourlakos
761f088ea6 fix #331,set onAllDesktops early in the process
--the delay during creating dockview and setting
its dock window flags from visibilitymanager creates
a situation that the window manager temporary creates
a normal window with no special flags for the docks
2017-03-29 21:22:51 +03:00
Michail Vourlakos
2af10514ed fix,restore adding docks in alternative session 2017-03-26 13:05:25 +03:00
Johan Smith Agudelo Rodriguez
f04519b967 fix #330, visibility mode and options 2017-03-25 16:17:41 -05:00
Johan Smith Agudelo Rodriguez
b32eb28b88 fix wrong name 2017-03-23 22:20:35 -05:00
Johan Smith Agudelo Rodriguez
78d30ea508 DodgeMaximized receives some of love
DodgeMaximized now also dodges windows with a size greater than or equal to the screen
2017-03-23 22:15:04 -05:00
Johan Smith Agudelo Rodriguez
b407efb557 various fixes to WindowInfoWrap 2017-03-23 22:12:11 -05:00
Johan Smith Agudelo Rodriguez
e6374da532 added support for windows with shade state and improving WindowInfoWrap 2017-03-23 22:06:59 -05:00
Johan Smith Agudelo Rodriguez
90b7d00d6e fix #316, Exporting settings - Adding a dot in the filename 2017-03-23 18:52:47 -05:00
Johan Smith Agudelo Rodriguez
76a2065d91 unused dependence 2017-03-23 12:16:08 -05:00
Michail Vourlakos
9529fe8a3c fix adding dock at the bottom when shouldnt
--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
2017-03-23 13:54:50 +02:00
Johan Smith Agudelo Rodriguez
f794d5c60c fix #308, Always visible option does not work for side-set dock on unusual multi screen setup 2017-03-23 00:03:45 -05:00
Michail Vourlakos
9258871e44 update strings
--update greek translation
2017-03-22 21:22:59 +02:00
Michail Vourlakos
307a5e30ea update translation strings 2017-03-22 13:10:55 +02:00
Johan Smith Agudelo Rodriguez
2c472843f7 fix id event 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
acfca18184 update CMakeLists.txt 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
78a441ed96 notications for the operations of import/export 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
fba31fc9f6 feature #205, backup and restore 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
9a4be16fe4 new dependences: KArchive and KNotifications 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
664bedb839 unused member 2017-03-22 00:16:27 -05:00
Johan Smith Agudelo Rodriguez
80f2199774 fix assertion when id is -1 2017-03-22 00:16:27 -05:00
Michail Vourlakos
241999579b fix #292,workaround for KF5.32 empty mask
--in KF5.32 FrameSvg returns many times a mask
that is an empty QRegion(). this patch makes
sure that at least our rectangular metrics
for masks and effectsarea are used instead.
Of course this means that themes with rounded
corners dont look as they should in !compositing
state
2017-03-21 20:58:01 +02:00
Michail Vourlakos
610e0d6a74 fix #285,expanded to false for applets
--when changing session all the applets from
the previous session should hide their
expanded options
2017-03-20 20:40:27 +02:00
Michail Vourlakos
d8410ff235 fix #277,use normal dock window from tweaks
-- with this setting the user can disable
the BypassWindowManagerHint flag for specific
docks
2017-03-18 23:32:27 +02:00
Michail Vourlakos
f371ea2a45 fix #275,top dock gains priority for AlwaysVisible
--the other docks must be also AlwaysVisible in order
for the top dock to be above them...
2017-03-18 20:08:56 +02:00
Michail Vourlakos
df760a909a move currentSession code in globalSettings 2017-03-18 14:28:33 +02:00
Michail Vourlakos
bb7235879b move autostart code in globalSettings 2017-03-18 14:16:32 +02:00
Michail Vourlakos
e57d525824 create globalsettings for corona
--first all the code concerning exposeAltSession
is moved in it and in the future also the autostart
and currentSession can follow. This will improve
both dockview and configview
2017-03-18 13:21:17 +02:00
Michail Vourlakos
7b060c22a5 fix #272,expose alternative session in menu 2017-03-18 01:53:44 +02:00
Michail Vourlakos
c0eaeca09c add effectArea in DebugWindow
--export correctly the drawEffects variable
2017-03-17 23:59:50 +02:00
Michail Vourlakos
a4ee035c93 fix #270,enable blur for panel background
--the user can habe blur and background contrast
effects in all cases for the panel and can
also choose the behavior from Tweaks page
2017-03-17 16:58:57 +02:00
Johan Smith Agudelo Rodriguez
ecbd2c99bc fix #256, Dodging/Layering Issues 2017-03-15 02:57:42 -05:00
Johan Smith Agudelo Rodriguez
b6d31316a9 fix move constructor 2017-03-15 02:52:26 -05:00
Johan Smith Agudelo Rodriguez
7657fb036f avoid copies of winfowrap 2017-03-15 02:24:24 -05:00
Michail Vourlakos
3542a3e66c restore availableScreenRect behavior
--when an id is sent that is not contained
at stored screens then the primary screen
geometry is used instead
2017-03-13 21:07:40 +02:00
Michail Vourlakos
fa2da5ceb1 fix #257,crash alternative session & !compositing 2017-03-13 20:58:31 +02:00
Johan Smith Agudelo Rodriguez
784710e6d2 include unused 2017-03-12 20:56:03 -05:00
Johan Smith Agudelo Rodriguez
26756143f1 fix assertion if id is -1 2017-03-12 20:53:31 -05:00
Johan Smith Agudelo Rodriguez
f6a73d4b69 fix crash deleting visibilityManager 2017-03-12 20:52:31 -05:00
Johan Smith Agudelo Rodriguez
5226b6adce code formatted 2017-03-12 15:15:06 -05:00
Johan Smith Agudelo Rodriguez
ac18a88e60 Merged branch master into master 2017-03-12 13:32:01 -05:00
Johan Smith Agudelo Rodriguez
0375e15d0a close config window before close latte 2017-03-12 13:30:54 -05:00
Michail Vourlakos
c61c14e9be improve panel painting for disabled compositing 2017-03-12 20:19:11 +02:00
Johan Smith Agudelo Rodriguez
af8f844bc6 Only visibilityManager can call mustBeHide/Shown 2017-03-12 13:09:38 -05:00
Johan Smith Agudelo Rodriguez
a014eadd40 avoid hide the dock when blockHiding is active 2017-03-12 12:16:23 -05:00
Johan Smith Agudelo Rodriguez
095dc50f1e fix restore connfig for raiseOnDesktop/ActivityChange 2017-03-12 12:05:32 -05:00