![FileZilla - 选项卡覆盖问题](https://linux22.com/image/1122938/FileZilla%20-%20%E9%80%89%E9%A1%B9%E5%8D%A1%E8%A6%86%E7%9B%96%E9%97%AE%E9%A2%98.png)
Ubuntu 版本:14.10 FileZilla 版本:3.9.0.6
当我尝试打开新选项卡时会发生这种情况。它会覆盖当前选项卡。而且在这种情况下选项卡不可切换。
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
wxD-Bus: Signal from /org/freedesktop/DBus, member NameAcquired
wxD-Bus: Reply with serial 2
wxD-Bus: Reply to RegisterClient, our object path is /org/gnome/SessionManager/Client10
wxD-Bus: CPowerManagementInhibitor: Requesting busy
wxD-Bus: Reply with serial 3
wxD-Bus: Reply: Error: The name org.freedesktop.PowerManagement was not provided by any .service files
wxD-Bus: Falling back to org.gnome.SessionManager
wxD-Bus: CPowerManagementInhibitor: Requesting busy
wxD-Bus: Reply with serial 4
wxD-Bus: CPowerManagementInhibitor: Request successful, cookie is 176761874
wxD-Bus: CPowerManagementInhibitor: Requesting idle
13:36:34: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
wxD-Bus: Reply with serial 5
wxD-Bus: CPowerManagementInhibitor: Request successful
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(prog-filezilla:13881): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
(prog-filezilla:13881): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed
wxD-Bus: CPowerManagementInhibitor: Requesting busy
wxD-Bus: Reply with serial 6
wxD-Bus: CPowerManagementInhibitor: Request successful, cookie is 1003446351
wxD-Bus: CPowerManagementInhibitor: Requesting idle
wxD-Bus: Reply with serial 7
wxD-Bus: CPowerManagementInhibitor: Request successful
这是尝试从控制台打开 FileZilla 时的日志。
答案1
这似乎是 Ubuntu 的一个错误
您可以通过禁用自定义滚动条来修复此问题:
gsettings set com.canonical.desktop.interface scrollbar-mode normal
答案2
我在 Ubuntu 15.10 上遇到了与软件非常类似的问题。(CodeBlocks 受到类似的影响。)由于该版本中的滚动条已更改,Nin 的回答让我怀疑这是否是问题所在 - 确实是。
我认为问题在于 wxWidgets(Filezilla 和 Codeblocks 所基于的 GUI 工具包)与某些滚动条配置之间存在交互。因此,这实际上是很多这个问题比 Ubuntu 的一个版本或一个应用程序本身更加严重。
关闭自定义滚动条的另一种方法是安装unity-tweak-tool
。转到滚动,并将滚动条设置为旧版。