1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-02 05:47:18 +03:00

92 Commits

Author SHA1 Message Date
David Redondo
1d468a94e9 Opt out of fixed window positions on Wayland
Latte dock is using PlasmaQuick::Dialog and can load applets that use
PlasmaQuick::Dialog, which uses QWindow::position to cache the position
where the window is requested to be, so we need to opt out of this
Qt behavior.
BUG=461856
2022-11-16 10:19:07 +01:00
Michail Vourlakos
6750f02d6f cmd:define log file for debug output 2022-04-17 16:07:28 +03:00
Michail Vourlakos
c98f6679b8 fix plasma available geometry broadcasting
--ignore docks and panels for availableScreenRect(s) etc.
when they are in startup and they are painted offscreen
--plasma is not ready to accept availableScreenRegion(s) because
after startup moves desktop widgets to the left even though
it should not
--fix availableScreenRegion calculations for Centered and Justified
docks and panels
2021-12-27 23:30:11 +02:00
Michail Vourlakos
434f3b16e6 cmd:close after disabling autostart 2021-12-08 18:24:58 +02:00
Michail Vourlakos
1365b9f24f cmd:print all available templates 2021-12-07 20:24:34 +02:00
Michail Vourlakos
e88aaf27a9 cmd:support "add-dock" through command line
-- "add-dock" option now works even when application
is not running and the user is executing it through
command line.

BUG: 446526
FIXED-IN: 0.10.5
2021-12-07 20:11:29 +02:00
Michail Vourlakos
e0bfff4c48 get ready for Plasma LookNFeel packages
--introduce enable/disableAutostart from command line
--accept import-layout from command line when latte is already running
--introduce --suggested-layout-name to be used with
  import-layout in order to provide a preferred layout name
  e.g. latte-dock --import-layout /blah/blah/mywhat.layout.latte
       --suggested-layout-name MyAwesomeLayout
--dbus:introduce "setAutostart" function
--dbus:introduce "importLayoutFile" function

BUG:446249
FIXED-IN:0.10.5
2021-11-30 21:29:06 +02:00
Michail Vourlakos
fc4dc6dacc prevent session manager from restoring application
--disable session manager restoring and keep only the
autostart desktop file way in order to start Latte
2021-10-02 09:29:37 +03:00
Michail Vourlakos
df9117d010 specify KAboutData::productName()
--this way KCrash should now be able to identify
latte-dock bug address properly
2021-08-09 17:23:12 +03:00
Michail Vourlakos
30de674870 cmdline:add dock/panel through --add-dock 2021-06-28 17:14:54 +03:00
Michail Vourlakos
8ec97ed6c4 cmd:provide option for add-dock 2021-06-27 20:53:39 +03:00
Alexander Lohnau
505379ed04 Use spdx syntax for all files 2021-05-27 15:01:00 +00:00
Tranter Madi
f2cbbba0f6 Show Settings window when another instance is running 2021-03-15 16:40:50 +00:00
Michail Vourlakos
574135e084 Welcome the all new EventsSink infrastructure
--each applet has now its own Sunk events to handle,
and as such each applet can now have different paddings
and that does not create any issues or missing events
2020-12-29 21:18:21 +02:00
Michail Vourlakos
0563b2d21b add command line version option 2020-08-30 21:35:56 +03:00
Michail Vourlakos
6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
2020-07-19 15:04:46 +03:00
Michail Vourlakos
2236fb331d blacklist more qt 5.15 debug messages
--qt 5.15 keeps the non sense for continuously informing
the user for qt 6.0 changes. Problem is that as long an
application supports qt < 5.14 these deprecated functions
can not be fixed yet.
2020-06-12 21:01:03 +03:00
Michail Vourlakos
66f8cce6d9 introduce Layouter Debug mode
--really handy and beautiful in order to confirm the
calculations that are valid. Already a bug was found
for ParabolicEffect. There is 1px difference between
hovering Tasks and Applets
2020-05-12 17:08:09 +03:00
Michail Vourlakos
5113674f18 color warning messages to not take attention 2020-05-10 20:27:35 +03:00
Michail Vourlakos
78dfd9bd6b fix debug output and take full control
--dont print warnings from qt 5.14 bindings
--provide a filter debug text property
--colorize a bit the debug output
2020-05-10 20:27:35 +03:00
Michail Vourlakos
2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
2020-04-24 12:31:03 +03:00
Michail Vourlakos
ac3ccb5b98 try to support a public liblatte library 2020-04-22 14:09:42 +03:00
Michail Vourlakos
e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
2020-04-18 16:58:00 +03:00
Michail Vourlakos
5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
2020-04-18 13:39:45 +03:00
Michail Vourlakos
1d8fe4541c Important:fix localGeometry calculations
--and add also new visual debug mode for
localGeometry calculations
2020-03-08 10:27:16 +02:00
Laurent Montel
fc5c5c0b0c It alreadys adds by kaboutdata 2020-01-15 13:48:24 +01:00
Michail Vourlakos
0bea257086 add hidden debug option "kwinedges"
--a way to debug kwin edges behavior for
hidden Latte::View(s) screen edges windows
2020-01-01 19:40:54 +02:00
Yuri Chornoivan
65f00bc446 Get rid of deprecated setHidden() 2019-08-18 14:02:25 +03:00
Michail Vourlakos
8c3d658a0d refactor:move Importer to "layouts" folder 2019-05-09 17:57:12 +03:00
Michail Vourlakos
c735792c30 REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03:00
Michail Vourlakos
e9599218a2 remove deprecated bug address 2019-03-23 11:52:34 +02:00
Michail Vourlakos
f2b2121003 add option to clear qml cachec from command line
--add comments in order to distinguish parameters sections

BUG: 405337
2019-03-11 10:08:03 +02:00
Michail Vourlakos
5c28b2194a Wait forever until the lock file can be locked
Summary:
- `timeout = 3000` is a bit short on some computer. Use `timeout = -1` will work for any case.

BUG: 401041

Test Plan: BUG: 401041 is fixed on my computer.

Reviewers: mvourlakos, #latte_dock

Reviewed By: mvourlakos

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18258
2019-01-15 21:16:52 +02:00
Michail Vourlakos
1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types 2018-12-07 18:55:35 +02:00
Michail Vourlakos
25d9d4ed17 refactor:rename DockCorona to Latte::Corona 2018-12-06 14:35:34 +02:00
Michail Vourlakos
2099b8ed36 add headers comments for all c++ files 2018-12-02 02:05:52 +02:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
84de238181 missing apostrophe
BUG: 396676
2018-08-02 18:39:32 +03:00
Michail Vourlakos
91a1736b14 add debug flag for overloaded applets
--a visual indicator in order to show which plasma
applets have been overloaded from Latte. The overloaded
mechanism is a way in order to make these applets work
properly with Latte parabolic effect
2018-07-08 20:51:30 +03:00
Michail Vourlakos
a69ce0abdb remove credits tab
--v0.8 is officialy KDE project, so its
existence owes a lot of credits to many
KDE members (for translations, bug reporting
etc.). Being officially a KDE project
responds to the previous credits.
2018-06-22 18:17:06 +03:00
Michail Vourlakos
568ccd6e26 localization strings improvements 2018-05-23 14:57:27 +03:00
Michail Vourlakos
27715435a9 update README links and titles
--remove Translators record as from >=v0.7.3
all translations are done through the kde
community.
2018-04-05 13:28:16 +03:00
Michail Vourlakos
f41395abc3 use new plasma way of detecting platform 2018-04-02 14:37:19 +03:00
Michail Vourlakos
420b3d09f0 update hidpi settings based on plasma 2018-03-07 18:11:40 +02:00
Michail Vourlakos
7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
2018-01-31 15:27:58 +02:00
Michail Vourlakos
ff5f91e3cb hide debugging parser options 2018-01-31 15:05:57 +02:00
Michail Vourlakos
18b94c795b restore autostart functionality after crash 2018-01-15 15:02:58 +02:00
Michail Vourlakos
f81433be8b try to link containments to layouts 2018-01-14 23:58:48 +02:00
Michail Vourlakos
9dbee82a4a dont confuse lock files between different users 2017-12-25 21:07:07 +02:00
Michail Vourlakos
f1e4d455e6 import and load a layout from command line 2017-12-17 19:08:35 +02:00