Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 47214: /trunk/ /trunk/epan/: prefs.c
From: Gerald Combs <[email protected]>
Date: Wed, 24 Apr 2013 13:11:40 -0700
On 4/24/13 11:37 AM, Joerg Mayer wrote:
> On Mon, Apr 22, 2013 at 01:25:51PM -0700, Gerald Combs wrote:
>> According to
>>
>>   http://qt-project.org/doc/qt-5.0/qtwidgets/qabstractscrollarea.html
>>
>> QAbstractScrollArea::addScrollBarWidget lets you specify the alignment
>> for scroll bars, so it's at least possible in theory.
> 
> Would it make sense to shift development of Qtshark to Qt5? I don't see
> much merrit in supporting both Qt4 and Qt5 and at least on my openSUSE
> system, I need to reinstall the development packages because they can't
> coexist, making build stuff for Qt5 extremly inconvenient. Oh, and regarding
> long time maintainance I'd rather have Qt5 support than Qt4 support.

It might. Qt5 wasn't usable until recently, so most of the development
so far has been with Qt4. Are the APIs really that different, however?
So far supporting both hasn't been nearly as much trouble as supporting
GTK2 and GTK3.


> Regarding the other point mentioned in my mail: Can you please add back
> the option for the scrollbar on the left side? I looked at it already but
> as the patch does several things simultanously I'm likely to undo more
> than what is really required?

Can you try adding the following to your GTK settings (which might be
named ~/.gtkrc-2.0 or ~/.config/gtk-3.0/settings.ini)?

gtk-scrolled-window-placement = top-right

On my laptop this moves the vertical scrollbars to the left. It seems
really odd to have a setting for this in a single application instead of
system-wide.