Commit Graph

1898 Commits (master)

Author SHA1 Message Date
Michail Vourlakos 219e901e87 zoom:improve response on first and last items
--improve zoom behavior for first and last items when
the user hovers them before any other item is hovered
and zoomed
3 years ago
Rodrigo Pedra Brum 2b039e1275 Add const declarations on implementation files which use them as references
When trying to compile the new Multiple Screens feature released yesterday I got this error on KDE neon:

```bash
[ 83%] Building CXX object app/CMakeFiles/latte-dock.dir/lattedockadaptor.cpp.o
[ 84%] Linking CXX executable ../bin/latte-dock
/usr/bin/ld: CMakeFiles/latte-dock.dir/view/clonedview.cpp.o: in function `Latte::ClonedView::translateToClonesOrder(QList<int> const&)':
clonedview.cpp:(.text+0x1aaa): undefined reference to `Latte::ClonedView::ERRORAPPLETID'
collect2: error: ld returned 1 exit status
make[2]: *** [app/CMakeFiles/latte-dock.dir/build.make:2270: bin/latte-dock] Error 1
make[1]: *** [CMakeFiles/Makefile2:1806: app/CMakeFiles/latte-dock.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
```

After some research I found this StackOverflow answer:

https://stackoverflow.com/a/3026148

Which referenced this FAQ by Bjarne Stroustrup:

https://www.stroustrup.com/bs_faq2.html#in-class

In summary, if a `static const` is initialized in a class, and later is used as a reference in an implementation file, it should also be declared inside the implementation file. The initialization can live only inside the class.

Maybe the compiler used by @mvourlakos has an optimization to overcome such construct.

In my case by adding these two lines I could compile it on KDE neon (after fixing the first error, compilation failed on a second spot).
3 years ago
Michail Vourlakos ee307a0759 update to v0.10.76 3 years ago
Michail Vourlakos 60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
3 years ago
Michail Vourlakos fa4db13e81 fix position of custombackground on screen corners
BUG:448519
FIXED-IN:0.10.8
3 years ago
Michail Vourlakos a12565ab1f windowsgobelow:show properly on startup
BUG:448099
3 years ago
Michail Vourlakos 98f39e17e3 parabolic:fix applets clearing issue 3 years ago
Michail Vourlakos b1c3594367 provide ParabolicEffect spread option
--this way the user can choose to use a much
greater parabolic effect that will influence five
or seven of its neighbours instead of just three.
The new option can be found at Latte Global Preferences.
3 years ago
Michail Vourlakos 4de51de221 dragging:respect placeholder in length fill calcs
--reduce glitches when dragging applets around and there
are also fillLength applets in Justify alignment
3 years ago
Michail Vourlakos c9aa147b7b justify:update centered offset always 3 years ago
Michail Vourlakos c6ea796f00 fill one pixel gap of justify splitters 3 years ago
Michail Vourlakos 02d7e2a7d8 drag applet:remove no needed reparenting
--no reason to reparent placeholder out of layouts
order while dragging an applet. This way internal
view splitters are always calculated correctly.
3 years ago
Michail Vourlakos 850937ca22 justify:offset centered applets if overlap 3 years ago
Michail Vourlakos 9351277cd7 anchor thin tooltips on their visual parents
BUG:447631
3 years ago
Michail Vourlakos 4e28392c3e fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
3 years ago
l10n daemon script 7a7af88e99 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"
3 years ago
Michail Vourlakos c2b20852ea recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
3 years ago
Michail Vourlakos aeb934d0fb improve smoothness of animations during startup
--This new approach paints all docks and panels during
starup offscreen. This way especially under x11 not a lot of
visual glitches are appearing all over the place.
After startup time has ended docks and panels are
moved at their original and valid placement and slide in
animations are triggered.
3 years ago
Michail Vourlakos 11a8c3fee7 fix binding loop when moving int.splitters 3 years ago
Michail Vourlakos 321a50627d plenty of fixes when dragging/moving applets 3 years ago
Michail Vourlakos eb6ae017fe ignore maxlength=0 for fill lenght applets
--fix mediacontroller_plus applet scenario
by ignoring maximum width = 0 that qt is
already doing for Layouts that fill length.

BUG:445869
3 years ago
Michail Vourlakos 55e893b43b update inputgeometry when sliding in/out
--this way mouse clicks correspond much better
in how they should behave. For example right
clicks do not forward always the events to the
desktop during sliding.
3 years ago
Michail Vourlakos e642087e31 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
3 years ago
Michail Vourlakos eda019016d Indicators:expose more options for Icons
--the following options are exposed to indicators
in order to use them to their preference:
----iconTransformOrigin
----iconOpacity
----iconRotation
----iconScale
3 years ago
Michail Vourlakos 9ce7c5b72d respect applet maximumLength==0
--if the applet has set maximum length to
zero then the applet should not be shown
3 years ago
Michail Vourlakos e2b98892e5 simplify latte indicator implementation
--fix also the line animation in order to be always
played correctly
3 years ago
Michail Vourlakos ea500a8ec0 indicators:expose iconOffsetX/Y to applets
--expose iconed applets indicator iconOffsetX/Y setting
and this way animate applet icons if the indicator
would like to do so
3 years ago
Michail Vourlakos 04929b0138 do not clip applets at all cases
--this way cases that applets painting such as
shadows, blur etc. is out of the applets contents
they are still painted
3 years ago
Michail Vourlakos 33428af95b default roundToIconSize for applets in panels 3 years ago
Michail Vourlakos 3769cef501 identify kickofflegacy applet properly 3 years ago
Michail Vourlakos c9515a0353 activate through mouse wheel more applets
--when an applet is not identified as expandable
but on the other hand has activated the flag
activationTogglesExpanded then for those
applets the mouse wheel option should also
trigger an activation event
3 years ago
Michail Vourlakos 4ca17600c6 fix popup positioning for plasma-style popups
--consider the panel background roundness and position
positions only related to that roundness. This way the
plasma style popups that feel part of the panel background
are positioned properly always and they do not touch
in empty areas.
3 years ago
Michail Vourlakos c86878f6c7 [indicators api] - new background corner margin
--introducing in Indicators API a new option to
specify the indicator preference for the distance
between the indicator and panel background roundness.
By altering the option the indicator can get into
the panel background roundness.

BUG:442675
3 years ago
Michail Vourlakos a2813a1c43 fix Fitt's Law for parabolic effect items
--fix Fitt's law for items touching the screen
edge and at the same time using parabolic
effect
3 years ago
Michail Vourlakos a80c71981a fix Fitt's Law for justify vertical panels 3 years ago
l10n daemon script eb95f2ef13 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"
3 years ago
l10n daemon script 9f89d13c7b 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"
4 years ago
Michail Vourlakos d84e50a594 restack applets internal ClickEffect
--internal click effect is now moved to CompactApplet
which is much better place to be. This way fullrepresentation
applets do not use it at all
4 years ago
l10n daemon script d600bbeb63 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"
4 years ago
l10n daemon script 92aec503f5 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"
4 years ago
Michail Vourlakos fd5b4e53ec fix Debug Window layout
--it was broken because of all new View::Name
property
4 years ago
Michail Vourlakos 469a5e48cc update to version 0.10.75 4 years ago
Michail Vourlakos f10ae3e239 layout:update default color scheme ref properly 4 years ago
Michail Vourlakos a36a228938 provide colors Layout Colors option 4 years ago
l10n daemon script 7c944f1990 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"
4 years ago
l10n daemon script 82c0fb5a06 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"
4 years ago
l10n daemon script 6b7c558cff 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"
4 years ago
Michail Vourlakos da50ca7147 consider roundness for popup placement
--take into account margin.length when applied for items
to get into the roundness area
4 years ago
Michail Vourlakos 7392f362a2 draw correct borders for floating Docks
--Justify floating dock case with maximum length
to 100%
4 years ago
Michail Vourlakos 110c090af4 fix #74,decrease margins for rounded backgrounds 4 years ago
l10n daemon script 4d407abeda 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"
4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 4a7174e7c2 Blur region:use 90Hz Timer to update blur area
--always use blur timer in order to update blurred
area, this way subcalculations between timer triggering
are not taken into account. This way user experience
with blur and parabolic effect are improved.
4 years ago
Michail Vourlakos 4205433aac nice popup positioning in !compositing mode 4 years ago
Michail Vourlakos a001eab39c provide isSidebar flag for view::visibility 4 years ago
Michail Vourlakos f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
4 years ago
l10n daemon script 6634b8ff20 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"
4 years ago
l10n daemon script 116c59dd90 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"
4 years ago
Michail Vourlakos cf1a008791 update to prebeta v0.9.91 4 years ago
l10n daemon script 09de9c13df 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"
4 years ago
Michail Vourlakos 76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
4 years ago
Michail Vourlakos 8028efaa6c expose isShownFully to ViewPart::Visibility 4 years ago
Michail Vourlakos c0e768c73c move external bindings in their own file 4 years ago
Michail Vourlakos 7e26d54a08 do not start sliding ins/outs with no reason
--ViewPart:VisibilityManager is sending events
to show or hide but it can not validate the view
visual state meaning is hidden, sliding in/out, blocked
etc. That role is taken from Containment::VisibilityManager
that accepts that signals and in case the state are
requesting is already provided then in such case
these signals are ignored.
--This way myView flags for inSlidingIn/Out/PartiallyShown/FullyShown
etc are providing valid values in some previous
problematic scenarios
--This fix solves the issue that parabolic effect with Tasks Previews
it was not too responsive but it had many glitches
4 years ago
l10n daemon script 742987d309 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"
4 years ago
l10n daemon script 1f191516ff 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"
4 years ago
Michail Vourlakos 5f29378bf4 update/fix broadcasted appletsLayoutGeometry
--this way popups are placed even better from
plasma style docks/panels
4 years ago
Michail Vourlakos 4e5b3dd957 fix bottom/right calcs for floating nointeract gap 4 years ago
Michail Vourlakos e45bb95433 improve how applets are positioned based on pads
--improve a lot how applets are positioned in
different alignments and more specific take into
consideration the background roundness and the
items specified length margin in order to provide
always the most consistent look for the user
4 years ago
Michail Vourlakos d37984c6d9 remove deprecated check 4 years ago
Michail Vourlakos 518445027d containment:enable startUp flag from layout manager 4 years ago
l10n daemon script 4ecea93e31 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"
4 years ago
l10n daemon script 4d345a5449 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"
4 years ago
Michail Vourlakos d84c5152b3 support multiple sidebars triggering
--and also at the same time support specific
sidebars based on their names
4 years ago
Michail Vourlakos 16b83772e3 fixes for Sidebars hiding/showing behavior 4 years ago
Michail Vourlakos 9d916aba35 improve anchoring for Paddings visual
--this way the new anchoring is totally independent
of parabolic effect
4 years ago
Michail Vourlakos a94d68d9b6 pixel perfect popup placement
--at the same time improve a lot background length
calculations and various alignments published
layout geometry in order to correspond much
better to real visible estate
4 years ago
Michail Vourlakos aed7b27b0c background:remove items length margin from paddings 4 years ago
l10n daemon script 57f460a7d5 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"
4 years ago
Michail Vourlakos e7e593c42b calculate properly custom radius padding 4 years ago
l10n daemon script b9c2560a77 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"
4 years ago
Michail Vourlakos 866a4f462b viewsdialog:provide nice message for error #103 4 years ago
Michail Vourlakos e9b90a1fc1 containment:position properly add plasmoid cross 4 years ago
Michail Vourlakos f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
4 years ago
Michail Vourlakos 945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
4 years ago
Michail Vourlakos a718d8d58a support aboutToQuit application signal on exit
--add also shadows to tasks window thumbnails
4 years ago
Michail Vourlakos 66afcf684c fix thickMargin wrong reference 4 years ago
Michail Vourlakos 47aa383723 set maximum length for dndspacer 4 years ago
Michail Vourlakos 926593aa76 fix where dropped applets are added
--the new code is more consistent and calculates the
appropriate place to add an applet much better
based on the distance that dropped applet is
having with each layout.
4 years ago
Michail Vourlakos 8d0c26a2e1 provide Dark/Light Colors options
--this way a layout designer can force to its users
the desired color palette for each dock and panel.

BeCareful: designers should be very careful with this
because they take responsibility to disable latte auto-coloring
at per-applet basis in order for chromatic applets to NOT
be autocolored from latte because they already provide enough
contrast.

BUG:435714
4 years ago
Michail Vourlakos d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
4 years ago
Michail Vourlakos 64ffeaefc4 dont block hiding for sidebars 4 years ago
Michail Vourlakos b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
4 years ago
Michail Vourlakos 92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
4 years ago
Michail Vourlakos cc4f901cf1 viewsdialog:support updating screen 4 years ago
Michail Vourlakos 3ec142d3a2 drop deprecated screen edge relocation codepath 4 years ago
Michail Vourlakos 2e399fb225 dndspacer:show length animation 4 years ago
Michail Vourlakos a153ed71f7 ignore MarginsAreaSeparators at PositionShortcuts 4 years ago
Michail Vourlakos d6bf586ba7 fix crash from using Applet Alternatives option 4 years ago
Michail Vourlakos e5f80a72a5 set 50% as maximum for background radius
--according to https://www.w3schools.com/howto/howto_css_rounded_images.asp
50% is considered the default maximum value for background
roundness.
4 years ago