Preferences window impossible to use on netbooks

Bug #324832 reported by w1zard
4
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Low
Christophe Dumez

Bug Description

I'm fairly sure this is to do with the small screen size of the Asus eeePC laptop I'm using, but all other software seems to handle it, so I assume this is a bug with the automatic resizing of qBittorent's preference window.

If you see the attached screenshot, most of the option dropdowns are virtually impossible to read, and the other checkboxes are squashed together. This occurs on all the preference tabs. The main downloading status window and menus are unaffected and work fine.

I am running Ubuntu Intrepid on a fairly standard build. Other software tends to cope with the small screen size using scrolling in long windows, else I resort to dragging the window off-screen (using ALT-click), then enlarging it to see the rest of the window. In this case, it looks as though the preferences window *should* fit, but some autoresizing routine is not working correctly - hopefully you can fix :)

Revision history for this message
w1zard (pacehead) wrote :
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

program preferences need remodeling. I'll make sure it works well on small screen after I make the remodeling. I have a eeepc too so I will test.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
milestone: none → 1.4.0
status: New → Confirmed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I redesigned preferences in svn/trunk for future v1.4.0. If you are able to test it, I would really appreciate your feedback. Thanks for the report.

Changed in qbittorrent:
status: Confirmed → Fix Committed
Revision history for this message
w1zard (pacehead) wrote :

Hi
   I can certainly test it but am not too hot on what I need to do to obtain the SVN/trunk version. Can you give me a step-by-step to install this (or a .deb)? I will then let you know how it shows up :)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

sudo apt-get build-dep qbittorrent
svn co https://qbittorrent.svn.sourceforge.net/svnroot/qbittorrent/trunk qbittorrent
cd qbittorrent
./configure && make -j2
src/qbittorrent

Revision history for this message
w1zard (pacehead) wrote :

I had to also

apt-get install subversion

and

apt-get install lib-qt4-dev

I'm now stuck on the 'make' and getting:

Checking for libtorrent-rasterbar >= 0.14 ... no

Error: need libtorrent-rasterbar >= 0.14!

How do I proceed?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

so this means apt-get build-dep qbittorrent did not work.

Don't you have a qbittorrent respository set up on your system? Where did you get your previous packages from?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

For Ubuntu v8.10 "intrepid" / i386:
deb http://hydr0g3n.free.fr/ubuntu/ intrepid main
deb-src http://hydr0g3n.free.fr/ubuntu/ intrepid main

add those lines to your /etc/apt/sources.list then run
sudo apt-get update
then rerun
sudo apt-get build-dep qbittorrent

Revision history for this message
w1zard (pacehead) wrote :

Thanks for the pointers :)

This laptop is a new build, hence no version of qBitorrent installed.

Make is now running, but failing with this:

/usr/bin/rcc -name icons icons.qrc -o qrc_icons.cpp
/usr/bin/rcc -name lang lang.qrc -o qrc_lang.cpp
/usr/bin/rcc -name search search.qrc -o qrc_search.cpp
/usr/bin/rcc -name webui webui.qrc -o qrc_webui.cpp
RCC: Error in 'webui.qrc': Cannot find file 'webui/uploadframe.html'
make[1]: *** [qrc_webui.cpp] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/ad/qbittorrent/src'
make: *** [sub-src-make_default] Error 2

Should I checkout a new version or do I need something else?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Oh.. My mistake. It seems I forgot to commit one file.

I will fix this right now.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

ok then.

cd qbittorrent
svn up
 ./configure && make -j2
 src/qbittorrent

Revision history for this message
w1zard (pacehead) wrote :

I'm now getting this on make:

In file included from moc_SearchTab.cpp:10:
SearchTab.h:50: error: ISO C++ forbids declaration of ‘QHeaderView’ with no type
SearchTab.h:50: error: expected ‘;’ before ‘*’ token
make[1]: *** [moc_SearchTab.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/ad/qbittorrent/src'
make: *** [sub-src-make_default] Error 2

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I have just commited a fix for this.

Revision history for this message
w1zard (pacehead) wrote :

Many thanks!

The preferences window looks *much* better. It is still a little too tall - the Apply buttons are not visible in the default view or when the window is maximised. I've learnt to cope with this using ALT+drag on other programs, but it would be even better if the default window could be a little less tall.

Other software uses scrollable left and right panes to ensure the Apply buttons are always visible regardless of the screen resolution - you simply scroll up and down to the view the preferences or categories. This approach would also work.

It looks like there might be just enough free whitespace above and below the current items to move the Apply buttons up a bit - you're probably in a better position to decide which is better :)

I've attached a screengrab to give you an idea what I'm talking about.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

If you put it fullscreen, the result is ok, isn't it?

This is why I'm using maximus on my eee pc :)

Maybe I could check screen resolution and make sure that the window fits so that it is perfect.

Revision history for this message
w1zard (pacehead) wrote :

Do you have the same model? Mine's a 701, which has the smallest screen of them all. I'm also running CrunchBang Linux, which has a lower 'task bar' - does your distro have this too?

When the window is maximised, the Apply buttons are still hidden from view - I have to move the window off the top of the screen to be able to see them.

My resolution is 800x480 if it helps :)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

No, not the same model :) I have a 1000H (10 inches :p).

I have just commited a fix to resize the window in case it does not fit the desktop. Could you try it please?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

beta3 was released.

Changed in qbittorrent:
importance: Undecided → Low
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.