Revert "fixes for applets thin tooltips"

This reverts commit 4fc85ba8c5.
work/spdx
Michail Vourlakos 4 years ago
parent f2dbafa5ef
commit 297b3a7d5b

@ -874,7 +874,7 @@ Item {
active: isParabolicEnabled || isThinTooltipEnabled active: isParabolicEnabled || isThinTooltipEnabled
readonly property bool isParabolicEnabled: appletItem.parabolic.isEnabled && !(lockZoom || isHidden) readonly property bool isParabolicEnabled: appletItem.parabolic.isEnabled && !(lockZoom || isHidden)
readonly property bool isThinTooltipEnabled: appletItem.thinTooltip.isEnabled && !isHidden readonly property bool isThinTooltipEnabled: appletItem.thinTooltip.isEnabled && !isHidden
sourceComponent: ParabolicArea{} sourceComponent: ParabolicArea{}

@ -40,15 +40,13 @@ Item {
anchors.fill: parent anchors.fill: parent
enabled: visible enabled: visible
hoverEnabled: true hoverEnabled: true
visible: appletItem.parabolic.currentParabolicItem !== _parabolicArea visible: appletItem.parabolicEffectIsSupported
&& !communicator.indexerIsSupported
&& appletItem.parabolic.currentParabolicItem !== _parabolicArea
onEntered: { onEntered: {
appletItem.parabolic.setCurrentParabolicItem(_parabolicArea); appletItem.parabolic.setCurrentParabolicItem(_parabolicArea);
if (isThinTooltipEnabled && !(isSeparator || isSpacer)) {
appletItem.thinTooltip.show(appletItem.tooltipVisualParent, applet.title);
}
if (isParabolicEnabled) { if (isParabolicEnabled) {
var vIndex = appletItem.indexer.visibleIndex(index); var vIndex = appletItem.indexer.visibleIndex(index);
appletItem.parabolic.setCurrentParabolicItemIndex(vIndex); appletItem.parabolic.setCurrentParabolicItemIndex(vIndex);

@ -797,9 +797,10 @@ PlasmaComponents.Page {
text: i18n("Thin title tooltips on hovering") text: i18n("Thin title tooltips on hovering")
tooltip: i18n("Show narrow tooltips produced by Latte for items.\nThese tooltips are not drawn when applets zoom effect is disabled"); tooltip: i18n("Show narrow tooltips produced by Latte for items.\nThese tooltips are not drawn when applets zoom effect is disabled");
checked: plasmoid.configuration.titleTooltips checked: plasmoid.configuration.titleTooltips
enabled: latteView.type === LatteCore.Types.DockView
onClicked: { onClicked: {
plasmoid.configuration.titleTooltips = checked; plasmoid.configuration.titleTooltips = !plasmoid.configuration.titleTooltips;
} }
} }
@ -812,7 +813,7 @@ PlasmaComponents.Page {
visible: dialog.advancedLevel visible: dialog.advancedLevel
onClicked: { onClicked: {
plasmoid.configuration.mouseWheelActions = checked; plasmoid.configuration.mouseWheelActions = !plasmoid.configuration.mouseWheelActions;
} }
} }
@ -826,7 +827,7 @@ PlasmaComponents.Page {
enabled: latteView.type === LatteCore.Types.DockView enabled: latteView.type === LatteCore.Types.DockView
onClicked: { onClicked: {
plasmoid.configuration.autoSizeEnabled = checked; plasmoid.configuration.autoSizeEnabled = !plasmoid.configuration.autoSizeEnabled
} }
} }

Loading…
Cancel
Save