Michail Vourlakos
92c0a68a19
update active states differently for singlelayout
5 years ago
Michail Vourlakos
0534c33ff8
reduce publish geometries interval to 1000ms
5 years ago
Michail Vourlakos
6188888840
update infoview to be ignored properly
5 years ago
Michail Vourlakos
70359602b8
apply activities at views andcurrentActivitychanges
5 years ago
Michail Vourlakos
93d7422059
dont use too often, costly kwinrc tracking
5 years ago
Michail Vourlakos
0ff8f2b74f
force plasmageometries updates for activitieschange
5 years ago
Michail Vourlakos
850b058ecd
fix layouts data broadcasting when applying
5 years ago
Michail Vourlakos
ad8723ce4f
fix, save temporary layouts when user applied
5 years ago
Michail Vourlakos
f954999b12
drag n' drop layout files in layouts editor
5 years ago
Michail Vourlakos
252ebcaa19
refactor preferences settings handling
...
--we introduce handlers that are going to be
responsible for the ui parts of settings windows.
So having data structures, MVC for models/tables that
are used and Handlers for any ui interaction
simplify the implementation and make it more
structured in order to be maintained and grow
safely.
5 years ago
Michail Vourlakos
fe7f35b9bf
remove boldness from preferences settings
5 years ago
Michail Vourlakos
2256a8b855
update last-1 column width properly
5 years ago
Michail Vourlakos
1113f942b1
provide feedback to the user in layouts view
...
--provide feedback to the user for which layout
options have been altered. This is achievable
by providing italicness to these options.
5 years ago
Michail Vourlakos
9faa3cac86
meaning sortings for layouts model
5 years ago
Michail Vourlakos
c62ff66ffd
validate layouts data to follow userrole
...
--all layouts table cell user Qt::UserRole as
the first role to user for their data and any
subdata should use an explicitly-set
LAYOUTUSERROLE
5 years ago
Michail Vourlakos
f6aeea9980
move original data into layouts model
...
--this way the model items can become aware
of all data changes and become visual
responsive accordingly. All changed data
should use the italic paradigm... If a
value is changed from its original value
can become italic in order for the user
to know which values have changed.
5 years ago
Johnny Jazeix
ebaf3aebee
fix build for Qt < 5.14
5 years ago
Michail Vourlakos
4ad3880579
update PLASMAPANEL geometry immediate after hiding
...
--behaveAsPlasmaPanel can now slide in/out as real windows
but after they hide there is a chance that their geometry
should be updated. This patch makes sure that this will
happen exactly before the BEHAVEASPLASMAPANEL starts
sliding-in.
5 years ago
Michail Vourlakos
466129c1d0
update shared layouts activities icons
5 years ago
Michail Vourlakos
7dacde2d3a
update Preferences settings to follow KDE HIG
5 years ago
Michail Vourlakos
87f6330816
slide in/out nicely when hideThickScreenGap
...
--when the user has chosen to hide the screen gap
when there is a maximized window in the screen and
at the same time the View behaves as plasma panel,
it now slides in/out nicely
5 years ago
Michail Vourlakos
338159c01f
calculate better the screen edge margin
5 years ago
Michail Vourlakos
c9c61818a4
force kwinedge for behaveAsPlasmaPanels
...
--this way we make sure that the user will be
able to trigger showing with mouse at the screen
edge. Using the window mask to succeed in this
in not an option.
5 years ago
Michail Vourlakos
43d91c9b63
drop QRect::setX/Y from all classes
...
--they can change the QRect width and height
and this is not the desired behavior.
moveLeft/Top are much better replacements.
5 years ago
Michail Vourlakos
73b3fb234f
drop QRect::setX/Y from View
...
--change them with moveTop/Left which provide
the exact math calculations that are needed
for geometries. Functions setX/Y must be
avoided because they may change the width
and height values.
5 years ago
Michail Vourlakos
f4c255952f
disable some debug messages
5 years ago
Michail Vourlakos
e0c04a9c6f
import:dont update view:local_geometry when hidden
...
--if this does not apply then local geometry are not valid
when views become hidden
5 years ago
Michail Vourlakos
3246ce2447
update free activities flag from external changes
...
--when the user has altered the free_activities from
its context menu then settings window it must better
update its record concerning the layout that will
be responsible for free activities
5 years ago
Michail Vourlakos
b960a8579e
use all cell height for free activities icon
5 years ago
Michail Vourlakos
2bc4e63431
fix a case to autoupdate free_activities_id
...
--when free_activities layout becomes shared
then another layout should become responsible
for FREE_ACTIVITIES
5 years ago
Michail Vourlakos
97e5345f40
update shareto line settings indicator
...
--improve its appearance in general and its
behavior also
5 years ago
Michail Vourlakos
20602acbfb
provide nice icons for layouts from activities
5 years ago
Michail Vourlakos
df844ed171
drop double reference in corona
5 years ago
Michail Vourlakos
c59dc52e1e
move activities logic out of activity delegate
...
--all activities information/data for activities
and layouts are now handled properly from the
layoutsmodel in settings
5 years ago
Michail Vourlakos
11798211a9
multiple fixes for imports/exports
...
--import/export full configurations are now
moved to File menu and move out their
implementation from Import/Export layouts
5 years ago
Yuri Chornoivan
e61445d5cc
Fix minor typos: <i/> -> <i>
5 years ago
Michail Vourlakos
652cbb0041
add layout actions to Layout menu
...
--improve vastly how actions in the layout menu
and Layout push buttons use the same code and
shortcuts in order to work correctly
5 years ago
Michail Vourlakos
e9ec4ea266
add shortcuts for layouts editor
5 years ago
Michail Vourlakos
7a11aa93c0
improve settings window Esc key handling
5 years ago
Michail Vourlakos
b6b34b06de
validate layout name icons colors
5 years ago
Michail Vourlakos
5323e7832c
internal messages intervals
5 years ago
Michail Vourlakos
07df968fde
update layouts states after reseting layouts data
5 years ago
Michail Vourlakos
6e09bb5601
drop KNotifications from settings window
...
--introduce a new dependency for KIO, it works
really nice in order to open files in filemanager
and selecting them
5 years ago
Michail Vourlakos
01bab50d67
add more inline message for adding layouts
5 years ago
Michail Vourlakos
3e3b455a53
introduce kmessagewidget in settings window
...
--use the nicely look kmessagewidget in order to
show inline internal messages to the user
5 years ago
Michail Vourlakos
300f4a364f
add alignment for backgroundcolumn
5 years ago
Michail Vourlakos
22a9416583
fixes for assigned layouts handling
5 years ago
Michail Vourlakos
ba94546cb4
multiple fixes for single layout case
5 years ago
Michail Vourlakos
748ca87bb8
simplify code for switch button-single layout
5 years ago
Michail Vourlakos
0724124f63
set settings on all activities
...
--simplify pause button and switch button
codes
5 years ago
Michail Vourlakos
68f2ab9c47
improve switch button enablement
5 years ago
Michail Vourlakos
8c97dcecc5
update shared visual properly
5 years ago
Michail Vourlakos
2ad1a040b4
introduce custom headerview for layouts
5 years ago
Michail Vourlakos
92f37eef8c
improve alignments for layouts delegates
5 years ago
Michail Vourlakos
9a3918763b
settings,improve layouts header visual
5 years ago
Michail Vourlakos
79936a662d
improve background circle visual
5 years ago
Michail Vourlakos
4deaa3bc0b
make Shared button proxy model aware
5 years ago
Michail Vourlakos
a7ecd549b0
drop dataAreAccepted in settings window
...
--this is not needed any more, data should
always be valid
5 years ago
Michail Vourlakos
94e5a04de2
make copy layout function proxy aware
5 years ago
Michail Vourlakos
37cac2ca81
reject duplicate layout names in settings
5 years ago
Michail Vourlakos
880ed9638e
introduce proxy model for layouts in settings
5 years ago
Michail Vourlakos
bddc04d371
inform controller for inserted rows
5 years ago
Michail Vourlakos
00f4e4cd22
fix crash from layouts reset functionality
5 years ago
Michail Vourlakos
00e6fbba5b
update synchronizer semantics to freeactivities
5 years ago
Michail Vourlakos
0d39ee6f55
settings:always a layout is set for freeactivities
5 years ago
Michail Vourlakos
93a8ae3ff2
improvements for Layouts Editor
5 years ago
Michail Vourlakos
3b85867c56
introduce setLayoutForFreeActivities
5 years ago
Michail Vourlakos
abc4ca4308
layouts settings tab improvements
5 years ago
Michail Vourlakos
8be38bf7dc
apply current names after layouts saving
5 years ago
Michail Vourlakos
671f413a3e
introduce Reset button
5 years ago
Michail Vourlakos
7acde8be5d
update SharedTo column visibility properly
5 years ago
Michail Vourlakos
c0d8116e7b
visual improvements for settings delegates
5 years ago
Michail Vourlakos
7dbfb1184b
settings window improvements
5 years ago
Michail Vourlakos
3122103f6c
save column widths properly in settings window
5 years ago
Michail Vourlakos
1e855f2472
dont crash when saving a new layout
5 years ago
Michail Vourlakos
d418abbeb4
remove deprecated code from settings dialog
5 years ago
Michail Vourlakos
45e3531ad3
move logic out of settings dialog
...
--layouts controller in settings window
should take ownership for all logic
related to layouts model/view
5 years ago
Michail Vourlakos
01bb785999
rename editedName to currentName for layout data
...
--improve semantics for layout data in settings
window
5 years ago
Michail Vourlakos
4437472fa9
simplify shares map create/sync in settings window
5 years ago
Michail Vourlakos
4de91c535c
remove deprecated code
5 years ago
Michail Vourlakos
e29b5a3e38
update layout removing in settings window
5 years ago
Michail Vourlakos
60d24144b5
update layouts settings data classes
5 years ago
Michail Vourlakos
264b2b7568
remove deprecated settings window functions
5 years ago
Michail Vourlakos
828bacce33
update share_id automatic when layout_id changed
5 years ago
Michail Vourlakos
c6e8f6f032
introduce layouts controller for MVC approach
...
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
5 years ago
Michail Vourlakos
6ff1102e1f
update qt5 deprecated code
5 years ago
Michail Vourlakos
2db252b769
fix warnings
5 years ago
Michail Vourlakos
154000345d
fix some warnings for shareddelegate
5 years ago
Michail Vourlakos
aa4a6061cd
improve semantics for settings
5 years ago
Michail Vourlakos
9a104340bb
simplify code for background cmbbox
5 years ago
Michail Vourlakos
c39a50f253
rename colorscmb to backgroundcmb
...
--improve delegate name
5 years ago
Michail Vourlakos
5f3007ed93
simplify colors combobox in layouts editor
5 years ago
Michail Vourlakos
49e203de86
fixes for shared column delegate behavior
5 years ago
Michail Vourlakos
46e44606bc
update editor shared delegate to new model
5 years ago
Michail Vourlakos
44c1abcf73
update settings activities delegate
...
--drop totally deprecated activities delegate
code
5 years ago
Michail Vourlakos
d4ed1aa609
update settings Activites delegate
5 years ago
Michail Vourlakos
6e66907957
update settings Layout name delegate
5 years ago
Michail Vourlakos
e5baecfb9f
visual for layout name was edited
5 years ago
Michail Vourlakos
a9bc5aa19f
introduce original/edited Named in layout data
5 years ago
Michail Vourlakos
4428d4b083
support setData function for layouts model
...
--initial support for this
5 years ago
Michail Vourlakos
4874b254dd
fix sharedcolumn and introduce some editable items
5 years ago
Michail Vourlakos
bab5564d0a
remove deprecated settings window code
5 years ago
Michail Vourlakos
70c8841646
update layouts headers
5 years ago
Michail Vourlakos
b55447764a
update layouts checkdelegates for new model
5 years ago
Michail Vourlakos
401a56a8a4
support loading in the new model
5 years ago
Michail Vourlakos
5e75b889e0
introduce initial LayoutsModel
5 years ago
Michail Vourlakos
be4e088f5e
use QList for layoutsdata
...
--add isActive flag for Data::Layout
5 years ago
Michail Vourlakos
f81d535468
drop old originalLayoutNames list
5 years ago
Michail Vourlakos
09c599a2d7
update how layouts settings are stored in editor
5 years ago
Michail Vourlakos
7bb01f150a
support new layouts data for settings
5 years ago
Michail Vourlakos
1ee24adbbd
update "FreeActivities" during apply
5 years ago
Michail Vourlakos
fca4db5962
support font style for FreeActivities record
5 years ago
Michail Vourlakos
5f7bcf565d
remove old code for activities in settings window
...
--remove relevant deprecated code that is not needed
in the new implementation
5 years ago
Michail Vourlakos
43de9b509b
update activities combobox implementation
...
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
5 years ago
Michail Vourlakos
1d8fe4541c
Important:fix localGeometry calculations
...
--and add also new visual debug mode for
localGeometry calculations
5 years ago
Michail Vourlakos
38d7ec5c2e
prevent user from switching to shared layouts
5 years ago
Michail Vourlakos
5464018135
fix crashes and update share ids runtime in model
5 years ago
Michail Vourlakos
d164f06354
fix wrong mis-assignment of Shared layouts
...
--when an active central layout was changing
from one shared layout to another the new
shared layout was not loaded properly
5 years ago
Michail Vourlakos
ab09e56d56
dont close settings dialog with Enter key
5 years ago
Michail Vourlakos
d3a07b5371
improvements for multips views and sidebars
5 years ago
Michail Vourlakos
d1faaedc59
improve availableScreen..WithCriteria api
...
--improve its semantics in order to be more
understandable
5 years ago
Michail Vourlakos
e6ba47daab
add more ignore visibility modes for calculations
...
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
5 years ago
Michail Vourlakos
0b2be421eb
IMPORTANT:Multiple docks/panels in same edge
...
--Latte can now support multiple Views in the same screen
edge. Views as separated in THREE Layers of priorities.
1. Views from Shared Layouts have highest priority and they
are first to occupy a screen edge
2. Views that are set OnPrimary screen occupy a screen edge only
if there is NO other View from a Shared Layout applied already
3. Views that are Explicit to specific screens occupy a screen
edge only if there is NO PRIMARY view already loaded
5 years ago
Michail Vourlakos
719c852c8c
update availableScree...WithCriteria functions
...
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
5 years ago
Michail Vourlakos
f31cc660b4
send QRegion through dbus as QList<QRect>
...
BUG:418559
5 years ago
Michail Vourlakos
9f4d961f32
Revert "change QRegion to QList for dbus plasma call"
...
This reverts commit a7f786d87f
.
5 years ago
Michail Vourlakos
a7f786d87f
change QRegion to QList for dbus plasma call
...
--change how dbus arguments are sent to Plasma
and a QList arguments for this
BUG:418559
5 years ago
Michail Vourlakos
d3b5e2c4eb
remove gtk_frame_extents from window geometries
...
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment
BUG:417856
5 years ago
Michail Vourlakos
ab83bc5b2e
fixes for BLUR in live editMode
...
--add also missing signal in Effects to updateEffects
when enabledBorders are changed
5 years ago
Michail Vourlakos
b82d9dfdbe
x11:validate windows added before accepting them
...
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
5 years ago
Michail Vourlakos
57d1bf1f43
add quit application to contextmenu actions
...
--easier way for some to quit Latte by just
right clicking on the docks/panels
BUG:417486
5 years ago
Michail Vourlakos
e2596b905c
fix topbottom borders check in editmode
5 years ago
Michail Vourlakos
dd1a7b72c7
validate top/bottom borders for vertical panels
...
--make the top/bottom borders identification much
smarter in order to identify in they must be drawn.
There are many corner cases that these borders should
be drawn, for example when a vertical top aligned
panel is half shown its top border because of a
top panel
5 years ago
Michail Vourlakos
4df139f34f
ignore ksmserver fullscreen windows
...
--this way fullscreen windows from ksmserver
such as LogOut are totally ignored from Latte
for coloring,placement etc.
5 years ago
Michail Vourlakos
67d0ca76dd
new wayland id discovery for helper windows
5 years ago
Michail Vourlakos
6bc604feca
new wayland id discovery for settings windows
5 years ago
Michail Vourlakos
d5033d1bed
improve latte wayland ids discovery
...
--introduce new waylad ids discovery implementation
for View::Positioner
5 years ago
Michail Vourlakos
47f79db2ec
improve show/hide functions of visibilitymanager
...
--test the new code both for x11 and wayland and check
out that it does not create crashes or any other new
bugs
5 years ago
Michail Vourlakos
90df4f4f61
support new visibility mode for SideBars
...
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
5 years ago
Michail Vourlakos
eb2d9a0190
fix blur for behaveAsPlasmaPanels
5 years ago
Michail Vourlakos
f689fc64e5
drop deprecated code
...
--no real reason to force shadows for
vertical real panels any more
5 years ago
Michail Vourlakos
72992b8bf5
fix missing calculation for behavingAsPlasmaPanel
5 years ago
Michail Vourlakos
9d30eb6257
support stick options for vertical views
...
--the user can now choose for vertical views to
stick their edges at the top or bottom screen edge
and ignore any top or bottom views accordingly. These
options are available in the Transparent Settings
area for vertical views and in advanced settings
mode.
5 years ago
Michail Vourlakos
5363433b00
ignore fullscreen windows from Plasma and Latte
...
--drop isPlasmaDesktop flag for windows and use the
new wm approach for plasmaIgnoredWindows
5 years ago
l10n daemon script
417152bf89
GIT_SILENT made messages (after extraction)
5 years ago
Michail Vourlakos
ad58783ae5
dont load orphaned-central layout when shared
...
--the orphaned-central layout should NOT be loaded
when it has already been loaded as SHARED layout for
other CENTRAL layouts in a MULTIPLE LAYOUTS environment
BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos
af712c6ac4
IMPORTANT:fix first run initialization
...
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.
BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos
d071e3be33
publish available screen geometries to Plasma
...
--Plasma 5.18 introduced a new dbus interface in order
for external apps to be able to publish to Plasma how
much they occupy from screen space. This is a much
requested feature from users, Latte is now publishing
both its availableScreenRect and availableScreenRegions
and this is also Multiple Layouts aware at runtime.
BUG:391073
5 years ago
l10n daemon script
430b910403
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"
5 years ago
l10n daemon script
41a861cd0f
GIT_SILENT made messages (after extraction)
5 years ago