使用“压力显示”时,木板码头出现不良效果

使用“压力显示”时,木板码头出现不良效果

一段时间以来,我一直在使用 Plank 作为 Dock,它运行良好。但是,当我在设置中启用“Pressure Reveal”时,我遇到了问题。我使用的是“Autohide”设置,因此只要我将鼠标移开 Dock,Plank 就会自动隐藏,这是预期的结果。但是,在启用“Pressure Reveal”的情况下单击 Dock 中的图标根本不会单击图标,它只会隐藏 Dock。

我正要向 Launchpad 发布一个错误/问题,但我决定先在这里提问,因为显然我是唯一一个遇到这个错误的人。

plank -d这是在启用“压力显示”选项并选择“自动隐藏”的情况下运行时的输出:

[DEBUG 14:29:32.287857] [Gtk] Connecting to session manager
[INFO 14:29:32.290188] [AbstractMain:229] Plank version: 0.11.0
[INFO 14:29:32.290258] [AbstractMain:230] Kernel version: 4.2.0-34-generic
[INFO 14:29:32.290307] [AbstractMain:231] GLib version: 2.46.2 (2.46.2)
[INFO 14:29:32.290362] [AbstractMain:234] GTK+ version: 3.16.7 (3.16.7)
[INFO 14:29:32.290409] [AbstractMain:237] Wnck version: 3.14.0
[INFO 14:29:32.290464] [AbstractMain:238] Cairo version: 1.14.4
[INFO 14:29:32.290511] [AbstractMain:239] Pango version: 1.36.8
[INFO 14:29:32.290557] [AbstractMain:241] + Cairo/Gtk+ HiDPI support enabled
[INFO 14:29:32.290603] [AbstractMain:244] + Dynamic Quicklists support enabled
[INFO 14:29:32.290648] [AbstractMain:247] + XInput Barriers support enabled
[WARN 14:29:32.290703] [Environment:161] XDG_SESSION_CLASS not set in this environment!
[INFO 14:29:32.322545] [WindowControl:68] Window-manager: Compiz
[DEBUG 14:29:32.323346] [DockletManager:201] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-desktop.so'
[INFO 14:29:32.323413] [DockletManager:106] Docklet 'desktop' registered
[DEBUG 14:29:32.323877] [DockletManager:201] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clock.so'
[INFO 14:29:32.323934] [DockletManager:106] Docklet 'clock' registered
[DEBUG 14:29:32.324389] [DockletManager:201] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-trash.so'
[INFO 14:29:32.324445] [DockletManager:106] Docklet 'trash' registered
[DEBUG 14:29:32.324864] [DockletManager:201] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clippy.so'
[INFO 14:29:32.324916] [DockletManager:106] Docklet 'clippy' registered
[INFO 14:29:32.325045] [AbstractMain:301] Running with 1 docks ('dock1')
[DEBUG 14:29:32.325109] [DockController:79] Create dock 'dock1' (config_folder = /home/erwinson/.config/plank/dock1)
[DEBUG 14:29:32.325288] [Settings:53] Bind 'PlankDockPreferences' to '/net/launchpad/plank/docks/dock1/'
[WARN 14:29:32.356097] [Preferences:192] '/usr/share/plank/themes/Transparent/dock.theme' is read-only!
[DEBUG 14:29:32.356153] [Preferences:349] Loading preferences from file '/usr/share/plank/themes/Transparent/dock.theme'
[WARN 14:29:32.356308] [Preferences:384] Missing key 'OuterStrokeColor' for group 'PlankTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356349] [Preferences:384] Missing key 'FillStartColor' for group 'PlankTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356384] [Preferences:384] Missing key 'FillEndColor' for group 'PlankTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356419] [Preferences:384] Missing key 'InnerStrokeColor' for group 'PlankTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356453] [Preferences:384] Missing key 'HorizPadding' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356512] [Preferences:384] Missing key 'ItemPadding' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356547] [Preferences:384] Missing key 'IndicatorSize' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356582] [Preferences:384] Missing key 'IconShadowSize' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356616] [Preferences:384] Missing key 'UrgentBounceHeight' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356651] [Preferences:384] Missing key 'LaunchBounceHeight' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356685] [Preferences:384] Missing key 'FadeOpacity' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356718] [Preferences:384] Missing key 'ClickTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356752] [Preferences:384] Missing key 'UrgentBounceTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356786] [Preferences:384] Missing key 'LaunchBounceTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356820] [Preferences:384] Missing key 'ActiveTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356854] [Preferences:384] Missing key 'SlideTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356887] [Preferences:384] Missing key 'FadeTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356920] [Preferences:384] Missing key 'HideTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356954] [Preferences:384] Missing key 'GlowSize' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.356987] [Preferences:384] Missing key 'GlowTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.357021] [Preferences:384] Missing key 'GlowPulseTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.357054] [Preferences:384] Missing key 'UrgentHueShift' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.357088] [Preferences:384] Missing key 'ItemMoveTime' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[WARN 14:29:32.357122] [Preferences:384] Missing key 'CascadeHide' for group 'PlankDockTheme' in preferences file '/usr/share/plank/themes/Transparent/dock.theme' - using default value
[DEBUG 14:29:32.359321] [ItemFactory:176] Loading dock elements from '/home/erwinson/.config/plank/dock1/launchers'
[DEBUG 14:29:32.359965] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/pencil.dockitem'
[DEBUG 14:29:32.360760] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/VSCode.dockitem'
[DEBUG 14:29:32.361498] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/gimp.dockitem'
[DEBUG 14:29:32.362154] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/org.gnome.Nautilus.dockitem'
[DEBUG 14:29:32.362803] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/inkscape.dockitem'
[DEBUG 14:29:32.363547] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/jetbrains-studio.dockitem'
[DEBUG 14:29:32.364219] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/google-chrome.dockitem'
[DEBUG 14:29:32.364959] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/frescobaldi.dockitem'
[DEBUG 14:29:32.365584] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/uget-gtk.dockitem'
[DEBUG 14:29:32.366195] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/sublime-text.dockitem'
[DEBUG 14:29:32.366832] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/blender.dockitem'
[DEBUG 14:29:32.367477] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/codeblocks.dockitem'
[DEBUG 14:29:32.368082] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/smplayer.dockitem'
[DEBUG 14:29:32.368775] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/genymobile-genymotion.dockitem'
[DEBUG 14:29:32.369446] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/transmission-gtk.dockitem'
[DEBUG 14:29:32.370147] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/clementine.dockitem'
[DEBUG 14:29:32.370962] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/gnome-terminal.dockitem'
[DEBUG 14:29:32.371610] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/ubuntu-software-center.dockitem'
[DEBUG 14:29:32.372233] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/arduino.2.dockitem'
[DEBUG 14:29:32.372894] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/minecraft.dockitem'
[DEBUG 14:29:32.373509] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/jetbrains-clion.dockitem'
[DEBUG 14:29:32.374171] [Preferences:349] Loading preferences from file '/home/erwinson/.config/plank/dock1/launchers/jetbrains-idea-ce.dockitem'
[DEBUG 14:29:32.449727] [Unity:164] Initalizing LauncherEntry support
[INFO 14:29:32.450458] [HideManager:618] Barriers enabled (XInput 2.3 support)
[DEBUG 14:29:32.450899] [PositionManager:677] Without draw_values there is trouble ahead
[DEBUG 14:29:32.454564] [HideManager:746] Barrier: 23,768 - 1343,768
[DEBUG 14:29:32.458646] [Unity:141] com.canonical.Unity lost
[INFO 14:29:32.620646] [DockRenderer:491] Cairo.SurfaceType: XLIB
[WARN 14:29:34.488547] [SurfaceCache:196] Creating surface took WAY TOO LONG (39ms), enabled downscaling for this cache!
[WARN 14:31:26.410240] [SurfaceCache:196] Creating surface took WAY TOO LONG (31ms), enabled downscaling for this cache!
[WARN 14:31:34.241658] Failed to fetch xids: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.ayatana.bamf.application' on object at path /org/ayatana/bamf/application/245772064
[WARN 14:31:34.262819] (Services/WindowControl.c:410):plank_window_control_get_num_windows: runtime check failed: (_tmp2_ != NULL)
^C[WARN 14:31:54.959141] [AbstractMain:42] Caught signal (2), exiting

感谢您提供的任何帮助。顺便说一句,这是我在使用 Plank 时遇到的第二个问题。第一个问题是,单击菜单中的“关机”反而会将我注销(我已经通过在自动启动 Plank 时添加延迟解决了这个问题,而且在我看来,这只影响了少数人,因为寻找修复方法相当麻烦)。此外,我正在使用 PPA 版本(我相信官方 Ubuntu 存储库中有一个),版本 0.11.0。谢谢!

答案1

奇怪的是,当我切换到 GNOME 桌面时,这个问题就消失了,但 GNOME 本身却给我带来了一些其他奇怪的错误。我对此的最佳猜测是 Compiz 是罪魁祸首。据我所知,GNOME 使用 X11(我在系统监视器中看到了它),而 compiz 消失了。所以这可能是原因。如果有人知道如何让 Plank 的“Pressure Reveal”在 Compiz 中工作,那么我会将你设置为可接受的答案。谢谢!

相关内容