Commit Graph

629 Commits (a1feede7ca94209af788b0406f225d0919de58bd)

Author SHA1 Message Date
Michail Vourlakos 3f90c61d53 include plasma taskmanagers in startup identify
--Latte when loading a layout tries to identify if based
on the docks settings there will be at least one dock
containing a tasks plasmoid. This code was extended in order
to identify also the plasma taskmanagers. One more improvement
is that this code now is executed also when dynamically
changing layouts
8 years ago
Michail Vourlakos dfe0a8e18f update translation strings, add greek 8 years ago
Michail Vourlakos 6f7a44c450 the user can disable the Latte Info window
--which is mainly used to inform the user for
a dynamic layout switching
8 years ago
Michail Vourlakos aed9452330 remove deprecated code 8 years ago
Michail Vourlakos 2d4aeaaf51 add info window for showing latte infos
--its main purpose is to inform the user that Latte
is dynamically switching layout
8 years ago
Michail Vourlakos 096a1fa4c7 fix #617, add a missing return statement 8 years ago
Michail Vourlakos 68a5223b47 fix #616,use unique ids for applets and containme 8 years ago
Michail Vourlakos d3b6ce0ac6 keep compatibility with qt5.7 8 years ago
Michail Vourlakos d4b2f3d15b update launchers based on group correctly
--this isnt the plasmoid part but the c++ and configuration
window one
8 years ago
Michail Vourlakos 111d004e47 add launchers in universal group also 8 years ago
Michail Vourlakos 35336983ac cleanup deprecated code for launchers
--launchers will be able to be chosen per Latte
plasmoid in the form of: Unique,Layout,Global
8 years ago
Johan Smith Agudelo Rodriguez 50f5402620 Using Check mark character instead of CheckBox for the table 8 years ago
Michail Vourlakos 0a53646847 send a notification when switching layouts dynamic 8 years ago
Michail Vourlakos ecf67a2a9d dynamic changing to layouts based on activities 8 years ago
Johan Smith Agudelo Rodriguez 9ecc961017 fix checkbox alignment 8 years ago
Michail Vourlakos 50636fcc0c improve semantics for columns references 8 years ago
Michail Vourlakos 93deb7d3cc add presets on startup 8 years ago
Michail Vourlakos b39dc2b72a support import v0.2 config files from layout manager 8 years ago
Michail Vourlakos 9f16814780 remove deprecated globalsettings 8 years ago
Michail Vourlakos f89f78b964 support import configuration from command line 8 years ago
Michail Vourlakos 5ecc9b2281 support import/export configurations 8 years ago
Michail Vourlakos 49fd921c2c hide the id column in layouts manager 8 years ago
Michail Vourlakos cdc5478b7b import correctly old layouts from old config files 8 years ago
Michail Vourlakos 858d975ea5 support import version 2 layout files 8 years ago
Michail Vourlakos 03cd1f1c8c provide correct naming for copied layouts 8 years ago
Michail Vourlakos 3e3d180794 show column names properly in layout manager 8 years ago
Michail Vourlakos ed6ca64c1f support restore Presets in layouts manager 8 years ago
Michail Vourlakos 23391e53f5 support copy method in layout manager 8 years ago
Michail Vourlakos eb6071a4d2 support removing layouts from layout manager 8 years ago
Michail Vourlakos 2958fb3cf6 support exporting layout 8 years ago
Michail Vourlakos 9195dafbc9 support renaming of active layout 8 years ago
Michail Vourlakos db7da1221a support renaming for not running layouts 8 years ago
Michail Vourlakos b6352c587d update menu layouts from the layouts window 8 years ago
Michail Vourlakos 252ca89725 update layout settings(color,menu,activities 8 years ago
Michail Vourlakos 532936637c make check to not conflict the layouts names 8 years ago
Michail Vourlakos 6e0335d6f2 in start disable Ok and Apply button in manager 8 years ago
Michail Vourlakos 8e628904eb set the path of layout as id for layoutSettings 8 years ago
Michail Vourlakos 41291aac98 fix switch mechanism of the layouts manager 8 years ago
Michail Vourlakos 20fe472378 improve visual for layouts tableview 8 years ago
Michail Vourlakos 5ff0e7af5b save layout window size to improve usability 8 years ago
Michail Vourlakos 85bd62acc6 hide rows number in layout manager 8 years ago
Michail Vourlakos e11d804898 improve checkbox layout in manager 8 years ago
Michail Vourlakos 4fefc56b43 stretch layouts tableview to window size 8 years ago
Michail Vourlakos 78b4eb798a restore menu checkbox behavior 8 years ago
Michail Vourlakos f28edd6d03 make activities combobox work properly
--activitiescmbbox in layout manager now shows always only
the available activities
8 years ago
Michail Vourlakos d8716f18a8 improve the Activities combobox behavior 8 years ago
Michail Vourlakos b48d1eb4ac improve layout switching in plasmoid and manager 8 years ago
Michail Vourlakos 0dfdd75746 drop QMultiComboBox for activities selection
--QMultiComboBox couldnt cooperate nicely with the
TableView, a different approach is needed. Probably
it is easier to just add a text indicator for the selected
activities
8 years ago
Michail Vourlakos 747fe2fd02 expose a QMultiComboBox for activities in layouts 8 years ago
Michail Vourlakos 5b10280500 expose activities properties through corona 8 years ago
Michail Vourlakos 9e213bfa00 improve layout for menu checkbox 8 years ago
Michail Vourlakos 3bbfeced5f provide correct color combobox in layouts manager 8 years ago
Michail Vourlakos 0762e57bab add functionality for the color combobox
--add more needed functionality for the color combobox.
set the current color correctly for the combobox.
8 years ago
Michail Vourlakos ef8e587672 create colorcombobox for layouts
--create a new delegate for the combobox of layouts
color
8 years ago
Michail Vourlakos a247170c61 add icons to layouts window buttons 8 years ago
Michail Vourlakos 7ac0f13c49 improve layouts window visual when selecting row 8 years ago
Michail Vourlakos 86bc896fa0 center checkboxes in layouts window 8 years ago
Michail Vourlakos 049e539c99 increase layouts window size 8 years ago
Michail Vourlakos fc8475c74a set translatable layouts window title 8 years ago
Michail Vourlakos 922dfb92c1 select row for current layout in layouts window 8 years ago
Michail Vourlakos f7558bb686 enable Switch button in the layouts window 8 years ago
Michail Vourlakos 38e5fca05f make bold the current layout 8 years ago
Michail Vourlakos a9f3f74c2d use checkboxes for show in menu in layouts win 8 years ago
Michail Vourlakos 674a9f62bf load true colors in the layouts config window 8 years ago
Michail Vourlakos 56d1341663 load layouts in layout window
-- this first commit just load the texts corresponding
to the layouts values
8 years ago
Michail Vourlakos b56d92383f remove deprecated functionality of sessions 8 years ago
Michail Vourlakos 116d817754 use layouts menu from dockview
--remove the old functionality for switching sessions
8 years ago
Michail Vourlakos 37c86079c0 expose menuLayouts from layoutManager
--create a list of layouts that have enabled
to be shown in menus
8 years ago
Michail Vourlakos 291288c765 add showInMenu and activities in layout 8 years ago
Michail Vourlakos eac9e649aa add Swich button, update text for configure layouts 8 years ago
Johan Smith Agudelo Rodriguez e069c0e71a Fix connections 8 years ago
Johan Smith Agudelo Rodriguez 0e87cb8907 LayoutConfigDialog moved into LayoutManager class 8 years ago
Johan Smith Agudelo Rodriguez 0b4dc7ce3e Adding layouts config dialog 8 years ago
Michail Vourlakos 569d9fe2d1 remove deprecated color(tan) and use brown instead
--update also the interval to switch layouts
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos 2cbc68ea4b set purple color for Alternative imported layout 8 years ago
Michail Vourlakos 432db753fc support a color palette for the layouts 8 years ago
Michail Vourlakos e591add025 move autostart functionality to universalSettings 8 years ago
Michail Vourlakos fc0e0f2d50 fix creation of Alternative Layout 8 years ago
Michail Vourlakos 21a51ba4b3 fix typos 8 years ago
Michail Vourlakos c0288893ae init correctly Latte with new architecture 8 years ago
Michail Vourlakos 75f3b1d4d2 update layouts to new architecture
--the config window now exposes only the
confirmed layouts and can update its layout
accordingly
8 years ago
Michail Vourlakos 9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
8 years ago
Michail Vourlakos 673c398d32 add currentLayout into the layoutManager 8 years ago
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
8 years ago
Michail Vourlakos 14e61b3a59 update currentLayout,create Alternative if !exists 8 years ago
Michail Vourlakos 0889d2224d cleanup unload() corona function 8 years ago
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
8 years ago
Michail Vourlakos f30c9056b3 support Alternative switching for new architecture 8 years ago
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
8 years ago
Michail Vourlakos 091295126d support loading for the new architecture 8 years ago
Michail Vourlakos 2d22b2c243 import screens from old configuration files 8 years ago
Michail Vourlakos 942d3b04db prepare loading layouts correctly 8 years ago
Michail Vourlakos 35a8f607b8 update universal settings correctly
--update exposeLayoutsMenu correctly from the
Importer
--cleanup universal settings file on exit
8 years ago
Michail Vourlakos db08a09bbf Importer importes the containments correctly 8 years ago
Michail Vourlakos 1a9ea88bc8 add LayoutSettings class and expose classes 8 years ago
Michail Vourlakos 0b8316e296 add presets for the new architecture 8 years ago
Michail Vourlakos b35501012e update new classes descriptions 8 years ago
Michail Vourlakos 06ddef8506 cnew architectures classes,add missing licenses 8 years ago
Michail Vourlakos 720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
8 years ago
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
8 years ago
Michail Vourlakos b417ae52c3 support dynamic layouts loading 8 years ago
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
8 years ago
Johan Smith Agudelo Rodriguez d467815aa8 fix recursive call 8 years ago
Johan Smith Agudelo Rodriguez e4a9232e94 [Wayland] Fixed crash when config window is hiding 8 years ago
Johan Smith Agudelo Rodriguez c77ba179fe fix #568, [Wayland] Dodge modes do not ignore the plasma desktop 8 years ago
Johan Smith Agudelo Rodriguez a32236932a Unnecessarily long enum 8 years ago
Johan Smith Agudelo Rodriguez a2e4397d03 renaming and add noexcept to lambdas 8 years ago
Johan Smith Agudelo Rodriguez 6b52cc894a Include moc file 8 years ago
Johan Smith Agudelo Rodriguez 5667d31385 #569, AlwaysVisible is functional 8 years ago
Michail Vourlakos c0daf7dd68 add debug messages for destructions 8 years ago
Michail Vourlakos bc262d7b00 fix typo and trigger signal 8 years ago
Johan Smith Agudelo Rodriguez 1e8fc4a739 Wait for ContainmentView destruction 8 years ago
Johan Smith Agudelo Rodriguez ae3c856346 keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez c4e01f428f keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez 6892e96769 keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez cb9fadbcbd keeping compatibility with gcc 4.8 8 years ago
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.
8 years ago
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
8 years ago
Michail Vourlakos a1a1f56749 disable messages from dockview when deleting it 8 years ago
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
8 years ago
Michail Vourlakos f6b9e35eb7 fix crash from surfacedestroyed signal 8 years ago
Michail Vourlakos d825e2dda4 add more protections on deleting a dock
--these protections could reduce crashes on
dock deletions
8 years ago
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
8 years ago
Michail Vourlakos 4b8f3a4b33 fix #559,fix wayland crashesm show/hide configview 8 years ago
Michail Vourlakos 7181341913 fix #517,restore qt5.9 focusOut behavior 8 years ago
Johan Smith Agudelo Rodriguez f5607f87e2 AlwaysVisible Not yet implemented 8 years ago
Johan Smith Agudelo Rodriguez b7f9ad5685 Fix #558, Dodge all windows and activities 8 years ago
Johan Smith Agudelo Rodriguez de4f05fe9c added include guard 8 years ago
Johan Smith Agudelo Rodriguez a3fb857081 Default behavior, WindowsGoBelow 8 years ago
Johan Smith Agudelo Rodriguez a6bcc53aad Cleaning up a bit before implementing always visible 8 years ago
Johan Smith Agudelo Rodriguez 42885005b2 DodgeAllWindows is functional 8 years ago
Johan Smith Agudelo Rodriguez 35c44a6918 DodgeMaximized is functional 8 years ago
Johan Smith Agudelo Rodriguez 44d85a4905 WARNING: Assertion failed in wayland 8 years ago
Johan Smith Agudelo Rodriguez a41710b155 DodgeActive is functional 8 years ago
Johan Smith Agudelo Rodriguez a02fe1322e waylandinterface implemented 8 years ago
Johan Smith Agudelo Rodriguez 2040ac3063 abstractwindowinterface now is based over an variant class type 8 years ago
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
8 years ago
Michail Vourlakos ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
8 years ago
Michail Vourlakos cf86fddeec fix #537,properly set copy location in multi-scr 8 years ago
Michail Vourlakos f18047a43e fix #556,remove single dock from secondary screen 8 years ago
Michail Vourlakos 480570bab2 fix #555,correct -1px struts calculations 8 years ago
Michail Vourlakos ce7bf51145 disable background effect when having transparency 8 years ago
Michail Vourlakos d544549d2c fix #553,reenable shortcuts for plasma taskmanager 8 years ago
Michail Vourlakos 1554af6f16 pass boundingRect to background Contrast effect
--fix the strange line at the bottom of the dock
when using the Breeze themes
8 years ago
Michail Vourlakos aa9e730422 fix #539,update autostart to new desktop file 8 years ago
Michail Vourlakos 9ccf9978be update docksCount on screen changes 8 years ago
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
8 years ago
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
8 years ago