Michail Vourlakos
4280c14acd
many improvements for MultipleLayouts case
7 years ago
Michail Vourlakos
7d4989e983
add code for MultipleLayouts and Activities
...
--prepare dockViews and rest classes in order to
be able to change between different Activities in
a MultipleLayouts environment.
7 years ago
Michail Vourlakos
bc91aefd89
add more MultipleLayouts code
...
--move code from dockCorona to layoutManager
--add more code related to MultipleLayouts
7 years ago
Michail Vourlakos
e3a3cb5a52
re-use copyDock code to make it more generic
...
--fix crash from containments deletion when closing corona
--reuse copyDock code in order to prepare it for
loading multiple layouts at the same time
7 years ago
Michail Vourlakos
4ac3efd0b5
add filePtr for layout
7 years ago
Michail Vourlakos
47566c27c3
add variable layoutsMemoryUsage for layoutManager
7 years ago
Michail Vourlakos
822f3630ac
fix crashes: wrong containment deletion/signals
...
--we fix two crashes, one from availableScreenRectChanged
signaling when we unload a layout
--one from deleting containments in random order,
we must first delete systrays and then the rest containments
7 years ago
Michail Vourlakos
f617a9178e
support multiple active layouts in layoutmanager
7 years ago
Michail Vourlakos
274c6a653d
add managedLayout to dockView
...
--this way a dock can belong to specific Layout
and this could be changed runtime in a multi-layout
runtime environment
7 years ago
Michail Vourlakos
f81433be8b
try to link containments to layouts
7 years ago
l10n daemon script
8202d420f5
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"
7 years ago
l10n daemon script
ff2d6245f9
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
dd8c8271b6
IMPORTANT: move logic from corona to layout
...
--refactoring code for #808...
Latte gets prepared for multiple layouts running
at the same time.
7 years ago
l10n daemon script
c4a8881da1
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"
7 years ago
Michail Vourlakos
a01b7f100b
move copyDock from corona to Layout
7 years ago
Michail Vourlakos
92127577d1
improve semantics for layout class
7 years ago
Michail Vourlakos
ef48a70bd9
improve semantics
7 years ago
l10n daemon script
4ae1c98e55
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"
7 years ago
Michail Vourlakos
2d16bcd976
draw panel background correctly after themeChange
7 years ago
Michail Vourlakos
18d78cfd37
stretch layouts editor contents to fit on startup
7 years ago
l10n daemon script
2390acf71f
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"
7 years ago
Michail Vourlakos
cb69a9c7c6
slide out/in also in user screen change
7 years ago
Michail Vourlakos
f7b8cedb3c
improve semantics for location change slide out/in
7 years ago
Michail Vourlakos
bc29bc2863
improve windows garbage collector
7 years ago
Michail Vourlakos
1d5d4406ef
slide-out docks in manual layout change
7 years ago
Michail Vourlakos
2a911d34b8
improve semantics for availableScreenRect
...
--improve the function to calculate the availableScreenRect
of a specific screen. Now the function accepts two arguments
specifing which visibility modes and locations(edges) are
going to be taken into account to calculate the
availableScreenRect.
7 years ago
Michail Vourlakos
f7aac48599
fix #807,download window for Latte Layouts
...
--adds a Download option in layouts editor in order
to download layouts from store.kde.org
7 years ago
Michail Vourlakos
afcdd1b726
hide docks animation when changing layouts
7 years ago
Michail Vourlakos
1d6c5f074f
fix #816,add more task shortcuts
...
--added shortcuts for tasks 10-19
7 years ago
Michail Vourlakos
da612fd8d9
ignore not used X11 changed events
...
--some windows are sending plenty windowChanged
events without Latte using them. We block them in
order to not trigger any Latte updates.
7 years ago
Michail Vourlakos
d86fdfd2ff
fix #810,support smart/dynamic background
...
the dynamic background feature is enhanced and
becomes smarter. It understands snapped windows, windows
that touch the panel edge etc. The criteria in
order for the background to become solid are:
- any active window that is touching the panel
edge (that includes krunner)
- any inactive window that is snapped and touches
the panel edge (concerning its geometry: quarter-snapped or half-snapped)
- maximized windows
- an inactive window but keepAbove is touching
the panel edge (this catches also the yakuake case)
- panel popups
7 years ago
Michail Vourlakos
9dbee82a4a
dont confuse lock files between different users
7 years ago
l10n daemon script
cba49d22de
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
f1e4d455e6
import and load a layout from command line
7 years ago
Michail Vourlakos
9f16ef5d4e
load specific layout on startup from command line
7 years ago
Michail Vourlakos
d85138ebe4
exit from main when quiting
7 years ago
Michail Vourlakos
a2948bf942
print available layouts from command line
7 years ago
Michail Vourlakos
2640a7e948
reload layouts if needed after default import
7 years ago
Michail Vourlakos
8d54dfd365
improve semantics/update translation string
7 years ago
Michail Vourlakos
0615dcf084
add --default-layout option for command line
...
--this option enables the user to load the default
layout from start.
7 years ago
Michail Vourlakos
3679c1c0cf
load the default layout when cant find previous
...
--load the default layout when cant find the previous
layout for some reason. This means that something went
really wrong actually and the previous stored layout
doesnt exist anymore, at least with the same name
ised.
7 years ago
Michail Vourlakos
00032f9198
add shortcut to open layouts editor
...
--use Meta+E to open the layouts editor
7 years ago
Michail Vourlakos
a31940a6fe
fix for calculating panel reqion in !compositing
...
the mask region wasnt calculated correctly in some cases
after location changes. I think it might be a plasma
upstream bug/change but either way this patch fixes
it.
7 years ago
Michail Vourlakos
1d8eea28bb
slidingIn/Out during locationChange signal
7 years ago
Michail Vourlakos
91ff26882e
fix #784,ignore top/bottom auto-hide panels
...
--a bottom or top auto-hide panel is not considered
in the calculations for the availableScreenRegion
7 years ago
Michail Vourlakos
1c5cebda99
use activate signal for (not)expand
...
--for all neutral areas (such as spacers or
activate indicator spacers) the activate signal
in sent in order to activate an applet or
expand it / hide it...
7 years ago
l10n daemon script
9124eeb372
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
1289c64480
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"
7 years ago
l10n daemon script
9714b4df79
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
98091d59e8
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
e0a3bd9f80
support nomad systray in Latte
7 years ago
Michail Vourlakos
69d5c1afa2
update panelshadows to plasma version
7 years ago
l10n daemon script
2d89f1c84e
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
5b1d35d25b
fix #735,support shortcut to open Latte settngs
...
--the default shortcut is Meta+A but the user can
change it to whatever wants to from plasma systemsettings.
--the settings windows are show bases on priority.
Primary screen docks have higher priority and for the
edges the priority is: Bottom,Left,Top,Right
7 years ago
l10n daemon script
26a9f2ce61
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"
7 years ago
l10n daemon script
b4da66e59b
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
c904236847
disable dock settings action shortcut
...
--the shortcut Alt+S,Alt+D is not working
correctly because it is reserved by the plasma
desktop. At first we disable it in order to see
if we can substitute it with another solution
7 years ago
Michail Vourlakos
f05be59ee3
fix #767,use developers name directly in appstream
7 years ago
Michail Vourlakos
147529dd72
fixes for tasks spacers for multiple separators
7 years ago
Michail Vourlakos
83cd059309
remove no needed fake separator desktop file
7 years ago
l10n daemon script
451512192c
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"
7 years ago
l10n daemon script
ac0fa4e2e4
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
88108ac524
add option to debug timers
...
--this is especially useful in order to be sure that
there are timers that create unending loops
7 years ago
l10n daemon script
1fc4cd25cf
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"
7 years ago
l10n daemon script
0ce78cbcfa
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
70ae1c646e
added debug messages in dockconfigview
7 years ago
l10n daemon script
fff71ab3df
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"
7 years ago
l10n daemon script
4c92097865
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
2e3139239e
fix clang warnings
...
--improve readability of the build process when
using clang by fixing small things to not show
some warnings
7 years ago
l10n daemon script
70e3da83fb
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"
7 years ago
l10n daemon script
a831bfced0
GIT_SILENT made messages (after extraction)
7 years ago
Michail Vourlakos
1ec42498bd
update screenshots in appstream file
7 years ago
Michail Vourlakos
152d245016
add missing include
7 years ago
l10n daemon script
1b126efb83
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"
7 years ago
l10n daemon script
487906bfd8
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
11ac28b99c
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"
7 years ago
l10n daemon script
cd9e0ae575
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
040f314ccb
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"
7 years ago
l10n daemon script
f0993f77e8
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"
7 years ago
l10n daemon script
60a8259435
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
be779e2674
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"
7 years ago
l10n daemon script
a0b241085e
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
aaf8cc1d1a
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"
8 years ago
l10n daemon script
cc7d8c259f
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
fbaef27a64
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"
8 years ago
l10n daemon script
1049e7e9ba
GIT_SILENT made messages (after extraction)
8 years ago
Yuri Chornoivan
fd1ae873c4
Fix minor typos
8 years ago
l10n daemon script
d83bd1a3ad
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"
8 years ago
l10n daemon script
885976bb19
GIT_SILENT made messages (after extraction)
8 years ago
Yuri Chornoivan
dbbd01abdc
Fix minor typos
8 years ago
Michail Vourlakos
72950dc678
use kde translations infrastructure
8 years ago
Michail Vourlakos
7aa4f8a4bd
fix #699,protect setupWayland from crashes
8 years ago
Michail Vourlakos
dc851023c7
fix #695,fix version tag in desktop file
8 years ago
Michail Vourlakos
9f01b5fbdf
add "New" button translation
8 years ago
Michail Vourlakos
f3378acf9e
add a "New" button in layouts manager
8 years ago
Michail Vourlakos
6385bf1da3
debug broken layouts by adding messages
8 years ago
Michail Vourlakos
6e48583971
add StartupWMClass in desktop file
8 years ago
Michail Vourlakos
07eacda2c7
fix #674,show correct menu for plasma taskmanagers
...
--when the right click menu is triggered the event should
also push to the applet for the plasma taskmanagers
8 years ago
Michail Vourlakos
e4826d0907
dont make no needed calculations for dodge modes
...
--dodge modes now check in start if the dock contains
the mouse and thus dont make any other calculations
or calls to kwin if the dock contains the mouse
8 years ago
Michail Vourlakos
f588e74549
fix #665,block false raiseDock for containsMouse
...
--as an example Firefox 55 triggers a windowChanged
event in every mouse movement. Thus the dock wasnt
appearing because it was sent a raideDock(false)
signal. Adding a containsMouse check for all dodgeModes
fixes this. A raiseDock(false) is never sent if
the dock containsMouse
8 years ago
Michail Vourlakos
8da7f7d3c9
v0.7 initial second stable release
8 years ago
Michail Vourlakos
e89afafab2
fix #662,fix typo and auto-hide break behavior
...
--the check to disable blockHiding takes into account
if the config window is shown or not
--a small typo when going to !editMode was fixed
8 years ago
Michail Vourlakos
9a72f394ee
fix crash,when alternatives shown + change layouts
8 years ago
Michail Vourlakos
14d7ae5d55
use new block hiding for activate/deactivate applets
8 years ago
Michail Vourlakos
b91bc6cda2
expose alternatives only in edit mode
8 years ago
Michail Vourlakos
f2ab6cbc9c
block hiding when alternatives is shown
8 years ago
Michail Vourlakos
b5b2e56ae4
remove deprecated code
8 years ago
Michail Vourlakos
95eb835922
fix #592,drop bash restarting use KCrash instead
...
--update the code to use KCrash for autostart
and drop the bash script
8 years ago
Michail Vourlakos
2d675e5d58
fix #592,add a crash checker to autostart Latte
8 years ago
Michail Vourlakos
b5c0a4d2d0
simplify code
8 years ago
Michail Vourlakos
a537572d42
fix #643,protect enabledBorders for InfoView
8 years ago
Michail Vourlakos
46e54c2e81
update screenGeometry correctly for dockview
8 years ago
Michail Vourlakos
5dc595a2cb
move task instantly and then send extSignal to group
8 years ago
Michail Vourlakos
eefbc5e9ec
fix #636,new approach for Layout,Global launchers
...
--changed the design totally and use only signals
between plasmoid in order to update their models. This
way the launcherList from their tasksmodel should be
updated only on the initialization phase of the Latte
plasmoid. Afterwards signaling between them takes
place, in order to inform each other for adding,
removing launchers, moving them and assigning them
to activities
8 years ago
Michail Vourlakos
25dee2ecb9
unminimize layout config win when called
8 years ago
Michail Vourlakos
7d4344637c
fix #635,never add primary dock over an explicit
...
--the addDock code now checks if at the primary screen
in the specific edge there is already assigned an explicit
dock. In that case it doesnt add that primary dock
8 years ago
Michail Vourlakos
c154eae4c7
fix #634,load the dockWin flag after copy
8 years ago
Michail Vourlakos
76cd844dce
select previous row after layout removal
8 years ago
Michail Vourlakos
faa830c592
fix layout name on copy method
...
--switch current layout after saveAllChanges only when
we rename the current layout
8 years ago
Michail Vourlakos
6893ef9287
fix #627,remove empty values from desktop file
...
--some empty values in strings was breaking the translation
chain through the update-metadata script
8 years ago
Michail Vourlakos
6237d52c3d
update buttons state in layouts window
8 years ago
Michail Vourlakos
db0d084ed2
include all tasks plasmoids in heurestics
...
--during startup Latte checks if a tasks plasmoid
is going to be present (because of multi-screen settings).
Now these checks are also considering the case of
plasma taskmanagers
8 years ago
Michail Vourlakos
a1fac1a29c
remove deprecated code
8 years ago
Michail Vourlakos
26516b8d8c
check specific for Latte Tasks Plasmoid
8 years ago
Michail Vourlakos
1b0b2a24b8
consider all taskmanagers in algorithms
...
--in the past only the Latte plasmoid was considered are
Tasks plasmoid
8 years ago
Michail Vourlakos
9a4e6d8cf5
update applets metadata files
8 years ago
Michail Vourlakos
14a674cd61
fix #572,support latte spacer
8 years ago
Michail Vourlakos
9d1dd08191
add a layout broken file check
...
--there are cases that a layout file can be broken because
there are containments having same applet ids. This
check informs the user for such layouts when the
layout manager is appearing
8 years ago
Michail Vourlakos
933f075dc5
add configure in the layouts context menu
8 years ago
Michail Vourlakos
262b3bd238
dont restore zoom when applet context menu shown
8 years ago
Michail Vourlakos
b2df416e1b
fix crash from infoview in wayland
8 years ago
Michail Vourlakos
7b8bb2fc73
fix copy dock method loading part
...
-- copy dock method wasnt using correctly the signals
and the methods from containments during first loading
the new copied containments. That could create crashes
if the user was trying to remove a copied dock directly
after used the copy method
8 years ago
Michail Vourlakos
cc94677817
remove deprecated code
8 years ago
Michail Vourlakos
ae39271c9f
update timer interval for dynamic switching
8 years ago
Michail Vourlakos
23733837e5
update the infoview for wayland and multi-screen
8 years ago
Michail Vourlakos
3028076db2
add a special Latte info window / view
...
--it is used mainly for presenting a Latte specific
info window when changing dynamically layouts
8 years ago
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
Michail Vourlakos
973cc935fc
always set explicit screen on copy method
8 years ago
Johan Smith Agudelo Rodriguez
a409d761b7
fix #527 , Dock dodges maximized window on different screen.
8 years ago
Michail Vourlakos
6a480d4311
remove debug message
8 years ago
Michail Vourlakos
c8878792bb
fix #532,dont allow to add a second Tasks plasmoid
8 years ago
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
8 years ago
Michail Vourlakos
2078cb1cb2
support copyDock correctly from corona
...
--the code copies the containment configuration
and also if there is a systray in it
8 years ago
Michail Vourlakos
b0ebfdbe4f
first approach to copy a dock
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
2ec210bf48
support globalLaunchers for alternative session
8 years ago
Michail Vourlakos
cf7b820e2e
sync launchers correctly between docks,def session
8 years ago
Michail Vourlakos
7627d30a1c
make dock mask null when behaveAsPlasmaPanel
...
--this way the pop ups from widgets are placed
much better
8 years ago
Michail Vourlakos
3b0f46760a
hide tasks numbers on wayland
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
575ff06a66
support window placement in wayland!!! :)
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
d54fc5b436
add Meta+` shortcut and fix animation behavior
...
--the isHidden flag shouldnt be set from visibilitymanager,
it is only the qml responsibility
8 years ago
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
8 years ago
Michail Vourlakos
4381384d20
add deleteLater instead of delete for dockView
8 years ago
Michail Vourlakos
8f9772f46a
init qml from kde frameworks
8 years ago
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
8 years ago
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)
8 years ago
Michail Vourlakos
50f8091601
fix a bug of not showing external shadows
...
--this occured with all new backOnlyOnMaximized
windows choice
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
9d213a6e83
support clicking event for all fakeIconItem area
8 years ago
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
8 years ago
Michail Vourlakos
cb5e7a8307
fix #447,add an appstream file for Latte
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
721001ecc4
fix grow/shrink of behaveAsPlasmaPanel dock behave
8 years ago
Michail Vourlakos
d1cb29b716
fix #444,use m_drawShadows for external shadows
8 years ago
Michail Vourlakos
7d3458d45c
support behaveAsPlasmaPanel in the dockview
8 years ago
Michail Vourlakos
df9edc5754
fix #441,expose add widgets action in context menu
8 years ago
Michail Vourlakos
a8c6e2f342
disable debug message for dbus calls
8 years ago
Michail Vourlakos
bd9021a412
fix #432,signal update struts on dock screenchange
8 years ago
Johan Smith Agudelo Rodriguez
dee8ebcf8b
update ever the struts the dock
8 years ago
Michail Vourlakos
92f214d552
support removing internal tasks separator
8 years ago
Michail Vourlakos
6bb14547e5
first implementation for tasks internal separator
8 years ago
Michail Vourlakos
7bbade8b28
fix, adding default layouts in user ones history
8 years ago
Michail Vourlakos
837207d21a
remove separator from layouts
...
--signal to initialize the layouts
combobox when the user does not accept
to load a layout
8 years ago
Johan Smith Agudelo Rodriguez
fb3bff6dce
fix message box
8 years ago
Michail Vourlakos
7821a52ca5
remove no needed m_ghostWidget
8 years ago
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
8 years ago
Michail Vourlakos
884c12d980
first part of functional layouts
8 years ago
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
8 years ago
Michail Vourlakos
2ef64f4ab3
fix #411,deactivate applets when show previews
8 years ago
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
8 years ago
Michail Vourlakos
26d5ba4a64
fix #415,disable ByPass flag by default
8 years ago
Michail Vourlakos
738dc50fff
Merge branch 'v0.6' into master
8 years ago
Michail Vourlakos
597c457b9b
fix #385,load font through QFontDatabase
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos
2a2565eac5
Merge branch 'v0.6' into master
8 years ago
Michail Vourlakos
33a7176b7f
remove clearing cache
...
--this code was suspicious for crashes
8 years ago
Johan Smith Agudelo Rodriguez
64891bcabd
delete dockconfigview when the dock is recreated
8 years ago
Johan Smith Agudelo Rodriguez
df69c3838b
fix possible race condition with qDebug
8 years ago
Johan Smith Agudelo Rodriguez
adf82df246
fix #355 , Request for new visibility policy: Windows Go Below
8 years ago
Michail Vourlakos
b088015616
use offset when drawing shadows external
8 years ago
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
8 years ago