100 Commits
Author SHA1 Message Date
Michail Vourlakos 90e3750187 update to 0.11.1
--add missing version
2022-02-12 18:39:01 +02:00
Michail Vourlakos 079422503f update to v0.11.0
--update also libraries minimum versions relate to
plasma 5.24
2022-02-12 13:28:31 +02:00
Michail Vourlakos b7cd491a81 fix #155,update decoration model to plasma 5.24 2022-02-12 13:25:44 +02:00
Michail Vourlakos 4eb9303082 fix #149,applet doesnt hide for preserveemptyspace 2021-12-14 21:09:56 +02:00
Michail Vourlakos e2db5c0cca update to v0.10.1 2021-11-04 17:34:23 +02:00
Michail Vourlakos 214e626614 update changelog to v0.10.1 2021-11-04 17:32:34 +02:00
Michail Vourlakos 19f0dacb2c update info for plasma 5.23.2 2021-10-31 19:16:33 +02:00
Michail Vourlakos 15ed49605c remove workarounds respect Plasma 5.23.2 painting
--cleanup PreviewButton in order to work and
paint nicely with Plasma 5.23 and KDecoration2 >=5.23
all new damaged() signal.
--Upstream fixes to decoration in order to paint
their buttons properly when these buttons are
considered StandAlone()
--TAKE NOTE THIS NEEDS UPTODATE Breeze and Oxygen
Decorations in order for NICE TO HAVE PAINTING
2021-10-31 19:13:49 +02:00
Michail Vourlakos d317d2fe9c hide buttons only when applet status is hidden 2021-10-25 18:27:57 +03:00
Michail Vourlakos 0012f2aa82 update to v0.10
--depend only on Plasma >= 5.23
2021-10-21 15:47:15 +03:00
Michail Vourlakos 164ad16f4f fix #131,support older c++ decorations
--decorations may have not been updated yet in order
to not register the "button" plugin as proposed
in KDecoration2>=5.23. For this reason when a button
is not created with the new approach, the old button
creation method is used and a warning is appearing
in order for the decoration creators to update
their implementation.
2021-10-17 15:20:46 +03:00
Michail Vourlakos 6f881c2595 fix #131,crashes and behavior for Plasma 5.23
--upcoming version 0.10 will be compatible only
with Plasma >= 5.23. This patch updates the implementation
in order to support kdecoration2 updated implementation that
was introduced in Plasma 5.23
2021-10-15 17:01:08 +03:00
Michail Vourlakos a8010fe9bf drop option for disabled borders totally 2021-10-06 19:57:34 +03:00
Michail Vourlakos 9910320f3e update latte tracker 2021-05-29 07:36:04 +03:00
Michail Vourlakos c3a06d2d22 Update README.md 2021-05-11 19:33:39 +03:00
Michail Vourlakos 4bfd361b07 update to v0.9.0 2021-05-11 19:28:50 +03:00
Michail Vourlakos 8609f1d370 fix #127,support aurorae theme restore button 2021-04-09 18:57:20 +03:00
Michail Vourlakos c516a50718 fix #122,preserve empty space for all hidden states 2021-03-31 17:52:45 +03:00
Michail Vourlakos 1a9303994f fix #123,remove theme specific workarounds 2021-03-31 17:33:24 +03:00
Michail Vourlakos 16c66e9b70 initialize default color scheme based on plasma 2021-02-19 17:59:00 +02:00
Michail Vourlakos 4b1794b581 fix default scheme values
--provide background and schemeFile for
default scheme
2021-02-19 14:47:25 +02:00
Michail Vourlakos dc5ed862fa fix #113,#114 compilation error with plasma 5.21
--update preview client api to meet plasma 5.21 changes
2021-01-22 17:25:10 +02:00
Michail Vourlakos 991adbd6a1 fix #111,support aurorae monochrome icons
--first implementation to provide monochrome
icons for aurorae themes through Latte infrastructure.
Designers have to update their aurorae rc theme file in order
to add in General group the property MonochromeIconsPrefix.

examples:
//monochrome icons are already monochromatic capable, designer can add
MonochromeIconsPrefix=*
//monochrome icons are starting with, mono-close.svg, designer can add
MonochromeIconsPrefix=mono
2020-12-30 22:30:20 +02:00
Michail Vourlakos 7faf17afec make WindowTrackers more general 2020-05-19 13:47:26 +03:00
Michail Vourlakos e89f7b677b do not hide buttons in edit mode 2020-05-16 22:32:38 +03:00
Michail Vourlakos 7e065404bd Revert "update latteBridge to Item"
This reverts commit 73e75226cd.
2020-05-15 09:29:45 +03:00
Michail Vourlakos 73e75226cd update latteBridge to Item 2020-05-14 23:27:07 +03:00
Michail Vourlakos a9a2c0f5ed fix #87,add uninstallation script 2020-02-21 18:28:10 +02:00
Michail Vourlakos 06fa54b376 update to v0.8.1 2020-02-13 16:14:00 +02:00
Michail Vourlakos 1f7ee6ff9e fix #83,never hide buttons for AlwaysVisible state 2020-02-12 17:35:51 +02:00
Michail Vourlakos 6fd29b3377 update to v0.8.0 2020-01-23 17:52:27 +02:00
Michail Vourlakos 4e3af536f8 update Changelog to 0.8.0 2020-01-23 17:51:15 +02:00
Michail Vourlakos 790a606d59 fix #74,consider Windows Abilities
--take into accound the window specific abilities,
closable, minimizable, maximizable etc... in order
to draw correctly which buttons are shown. This
feature needs at least Latte >= 0.9.8 and for Plasma
should work immediately.
2020-01-22 13:45:38 +02:00
Michail Vourlakos e00358b336 indentify plasma theme colors correctly
--Plasma::Themes are using Colors:Window group
from color schemes for their normal palette. That
change should improve vastly the "Colors:Plasma Theme"
option for this applet.
2020-01-12 10:38:03 +02:00
Michail Vourlakos 665ee52597 make applet Latte Item size aware
--when the applet in inside a Latte panel
then the maximum thickness applied should be
the Items Size in order to provide uniformity
with neighbour applets
--make default items size to 100
2019-12-29 14:26:02 +02:00
Michail Vourlakos 4fe4829645 fix #71,create new decoration only when needed
--each time a decoration is created an <inotify>
watcher is also created; not from applet side but
from the decoration side. This patch recreates
a decoration only when it is really needed and
that means when the decoration is different than
the previous one.
2019-12-20 17:28:40 +02:00
Michail Vourlakos 00807932c9 do not create so many trackers for scheme colors
mentioned #71 to improve things but the main trackers
are from kdecoration2
2019-12-20 14:40:03 +02:00
Michail Vourlakos 6bb87e1db7 consider window properties only for shown windows
--when the last active maximized window is minimized and
there are no more shown/active windows in the screen,
buttons should become hidden
2019-12-12 17:11:21 +02:00
Michail Vourlakos a286975ad5 improve texts in config window 2019-12-10 23:12:47 +02:00
Michail Vourlakos e2f29d88c1 fix #67,ignore activeness for maximized filtering
--when in Latte activeness of the maximized window
is not important and can be ignored. This way when
the last active window in a screen is maximized but
is not active, buttons could still be shown
2019-12-10 23:08:47 +02:00
Michail Vourlakos 43e8bebd12 fix indent issues 2019-12-10 22:54:10 +02:00
Michail Vourlakos ee6edb5d20 improve PreviewButton::hoverMove implementation 2019-12-10 22:52:33 +02:00
Michail Vourlakos 642ace3c83 Revert "send button events to decoration"
This reverts commit d7b466ec99.
2019-12-10 22:49:24 +02:00
Michail Vourlakos d7b466ec99 send button events to decoration
--by using a shared decoration we can now send
all mouse events to the decoration first and
the decoration can choose the buttons that need
to get the signal and be updated
2019-12-09 18:15:56 +02:00
Michail Vourlakos 14094d6c9e disable debug messages for tooltips 2019-12-01 17:34:22 +02:00
Michail Vourlakos 4b51d7434b add comments and improve coordinates references 2019-12-01 03:49:23 +02:00
Michail Vourlakos ef1c332d53 fix #63,use a common shared decoration for buttons
--a new class has been introduced called PreviewSharedDecoration
and is the common decoration that is used for all PreviewButtons.
This way more resources are gained and at the same time the buttons
can communicate with each other through the decoration if it
is needed from decoration perspective. This was not straight forward
as the coordinates between KDecoration2::Button(s) and their
QML parts must be translated in a different way in order to work
correctly.
2019-12-01 03:42:37 +02:00
Michail Vourlakos 0974804a4f Update README.md 2019-11-24 11:56:50 +02:00
Michail Vourlakos 5c2dcbe286 update to version 0.7.0 2019-11-24 09:12:31 +02:00
Michail Vourlakos 75c99c41e8 fix thickPadding calculations
--the thickPadding parameter should be
divided by factor 2 because for all the
rest calculations it is multiplied by factor 2
already. So thickPadding is identifying
separately the bottom and top paddings.
2019-11-07 18:44:00 +02:00
Michail Vourlakos bffe8dcb7e fix #56,add Plasma Theme coloring
--the user can choose the buttons to follow
the current plasma theme colors used and at
the same time this option is enabled by default
2019-10-27 08:49:37 +02:00
Michail Vourlakos 3a8ce5776c fix #50,support empty space as hidden state 2019-10-26 23:19:05 +03:00
Michail Vourlakos 113d685f78 use specific cases for buttons recreation
--breeze and oxygen themes break for some cases
for active/inactive state and color schemes
changes. Tag them in the code in order for the
buttons recreation to not be executed at all
cases.
2019-10-06 03:29:18 +03:00
Michail Vourlakos 3e02fa225f update btns for active states and schemes changes 2019-10-06 03:23:50 +03:00
Michail Vourlakos cd7c45f094 do not crash when decoration does not exist
--when a user had selected a plugin/theme in the
past and this theme was uninstalled there could
be a crash when trying to access it
--update buttons when the current scheme changed
2019-10-06 03:12:41 +03:00
Michail Vourlakos b46fbbd8dc fix buttons live dragging in configuration window 2019-10-02 18:30:38 +03:00
Michail Vourlakos 993e5c90cd live preview of button settings changes 2019-10-01 23:59:24 +03:00
Michail Vourlakos 57923be76d fix #53,introduce buttons size percentage
--instead of using the user-set thickness margin
in order to calculate the buttons size, use
a user-set percentage in order to do so
2019-09-27 20:32:47 +03:00
Michail Vourlakos f468049f7a Update README.md 2019-08-28 15:10:20 +03:00
Michail Vourlakos f53b0bcd6f update to v0.6.0 2019-08-28 15:05:02 +03:00
Michail Vourlakos 84df9fdd9d hide buttons when last maximized window is closed
--if the user has chosen visibility mode "ActiveMaximized"
and the last maximized window was closed the buttons were
still shown even though they should not
2019-08-23 20:12:09 +03:00
Michail Vourlakos 17dc503f43 force buttons activeness for edit mode 2019-08-23 13:23:16 +03:00
Michail Vourlakos afd2db14ff improve semantics in qml code
--rename activeWindow to lastActiveWindow
which is a more accurate term
2019-08-23 13:08:00 +03:00
Michail Vourlakos 0ead1a24f3 support inactive state also for Aurorae themes 2019-08-23 12:48:41 +03:00
Michail Vourlakos 0aa7679dd1 important:update CURRENT plugin properly on change
--when current decoration was changing between different
c++ plugins the applet did not apply properly its buttons
until this commit
2019-08-23 12:37:08 +03:00
Michail Vourlakos 2cbfd4dd74 fix #46,provide option to draw inactive buttons 2019-08-23 12:12:39 +03:00
Michail Vourlakos 16547ef685 fix #46,new visibility mode for Shown Windows
--hide buttons only when there is no shown window
in the current screen OR screens based on user
choice
2019-08-23 11:49:38 +03:00
Michail Vourlakos fc4d0a0541 fix #47,consider different screens in Latte panel
--the buttons were shown even when there was NO active
window in the current screen and the user has chosen
"Active window/Maximized" and enabled the screens filtering
at the same time
2019-08-23 10:19:26 +03:00
Michail Vourlakos 7a0e38a877 fix #44, fix typo 2019-08-09 13:22:33 +03:00
Michail Vourlakos 060712b211 Update README.md 2019-07-12 23:21:35 +03:00
Michail Vourlakos 150e7755ed update to version 0.5.0 2019-07-12 22:51:03 +03:00
Michail Vourlakos b5954c602f fix #32,make librady distro and paths independent 2019-06-24 23:25:07 +03:00
Michail Vourlakos 4393d4ddb5 updates for latte communicator api 2019-06-21 17:43:54 +03:00
Michail Vourlakos 8a1e31b332 support drag move cursor for buttons in config win 2019-06-16 15:51:20 +03:00
Michail Vourlakos 6decab3b87 fix #40,buttons background in config windows
--improve buttons contrast in config window and
support background color for Aurorae themes and
color scheme files also
2019-06-16 00:53:46 +03:00
Michail Vourlakos 877bbe50cf fix typo 2019-06-09 15:09:13 +03:00
Michail Vourlakos 9e305e2b9e update Latte imple to multi-screen LastActiveWindo 2019-06-09 13:29:45 +03:00
Michail Vourlakos c88ca6dc89 request windows tracking from Latte 2019-06-02 14:46:33 +03:00
Michail Vourlakos ffcbf5547e move Plasma TasksModel code in its own qml item
--introduce Latte LastActiveWindow manager
2019-06-02 01:59:36 +03:00
Michail Vourlakos a63b9e6ac4 new stable version v0.4 2019-05-14 19:25:39 +03:00
Michail Vourlakos 83714a6f1b add new supported buttons on startup
--add KeepAbove button in buttons order
if the previous configuration did not contain
it
2019-05-06 14:24:59 +03:00
Michail Vourlakos efe27d7b1c close ComboBoxes after clicking an item 2019-05-06 14:16:30 +03:00
Michail Vourlakos 45baac9957 provide an Environment qml class
--this way the applet is able to know under
which plasma desktop and kf5 versions is
functioning
2019-05-01 14:57:47 +03:00
Michail Vourlakos f4735d383a merge plasma 5.12 version to original version
--cmake takes over to handle the different api
of kdecoration 5.12 with kdecoration>=5.13.
This way we now have one version to rule all
plasma different versions
2019-05-01 14:29:10 +03:00
Michail Vourlakos 38326ed673 update to v0.3 2019-02-05 17:31:11 +02:00
Michail Vourlakos c18145a398 update Changelog to v0.3 2019-02-05 17:30:49 +02:00
Michail Vourlakos 439173a70d support new Latte Communicator names 2019-01-22 18:07:54 +02:00
Michail Vourlakos 51b324a8dd fix warnings 2019-01-05 17:01:36 +02:00
Michail Vourlakos 6f004c0409 fix #28 add Ubuntu installation instructions 2019-01-05 13:42:19 +02:00
Michail Vourlakos e22fbe9e55 fix #25,use always the Latte provided palette
--even when Latte informs that the applet
should paint itself based on the current
plasma theme
2018-12-09 15:34:35 +02:00
Michail Vourlakos b345bdc75c enforce latte Palette in edit mode
--editMode painting in Latte has been disabled
because it is an experimental feature that is
not supported from many applets yet. In the future
that could changed when Latte will give the user
the freedom to set per-applet the painting enabler
2018-12-09 11:18:02 +02:00
Michail Vourlakos c6c08a3035 disable for now !active buttons state
--the setActive of the c++ decoration themes
returns an error when it is changed:

"QPropertyAnimation::setPropertyName: you can't change the property name of a running animation"

this error is probably relevant with wrong
buttons painting from Latte palette in some cases
2018-12-09 11:06:50 +02:00
Michail Vourlakos da3d3d2b19 fix #24,fix spacing issue with Aurorae themes
--the old implementation was not providing proper
spacing for Aurorae themes. The new implementation
follows the c++ themes way of handling this and as
such spacing is improved a lot.
2018-11-24 19:05:49 +02:00
Michail Vourlakos e8dd51346e Update README.md 2018-11-23 19:52:46 +02:00
Michail Vourlakos 5ee7c3dde4 Update CHANGELOG.md 2018-11-23 19:31:08 +02:00
Michail Vourlakos e47712ee3d update to v0.2 2018-11-23 19:29:14 +02:00
Michail Vourlakos aa64a71a4d add CHANGELOG 2018-11-23 19:28:25 +02:00
Michail Vourlakos bb0051e3c9 provide SystemDecide option for disableBorders
--because Latte identification in v0.8 is broken
we give to the users a SystemDecide options which
is the PartialChecked state of the checkbox in the
settings window
2018-11-23 19:12:46 +02:00
Michail Vourlakos 07f4a22482 fix #22,multi-screen aware option 2018-11-20 20:14:57 +02:00
Michail Vourlakos 6a257195eb add dependency 2018-11-19 14:37:38 +02:00