program window width stay fixed to 1550px

Bug #300855 reported by gunnm
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SubDownloader
Won't Fix
Low
Marco Rodrigues

Bug Description

The main window is not resizeable in its width. I can maximize the window but it exceeds the actual desktop width (looks like is fixed to 1540px).
My screen resolution is 1280x1024 so the window don't fit the screen.
I'm using version 2.0.8.1 (but the same thing was with 2.0.8) on Ubuntu 8.10

Revision history for this message
gunnm (bozziche) wrote :
Revision history for this message
Marco Rodrigues (gothicx) wrote :

Hi!

Could you try with version 2.0.9.3 ?

PPA: https://edge.launchpad.net/~subdownloader-developers/+archive/ppa

Thanks

Changed in subdownloader:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
gunnm (bozziche) wrote :

Tried it out, but the problem remains. :/

If it may help, I'm on an amd_64 machine, Nvidia drivers, visual effects set to "Extra", Ubuntu 8.10 updated to the last updates.

Changed in subdownloader:
status: Triaged → Confirmed
Revision history for this message
Everthon Valadão (valadao) wrote :

Same here: I'm using subdownloader 2.0.9.3 with ubuntu 9.04, and doesn't matter if compiz is disabled, the window width is *huge* and can't be resized (OTHO the height could be resized normally).

I run with `subdownloader --debug --nerd`, and the corresponding log is attached.

Revision history for this message
Everthon Valadão (valadao) wrote :

Huzza! I've figured it out: to FIX this strange behavior, I just deleted the config folder (~/.config/SubDownloader/) and now everything is ok! The width isn't fixed anymore, and the subdownloader window fits the screen perfectly... sweet! :)

Revision history for this message
Everthon Valadão (valadao) wrote :

to fix this issue, just delete the config folder by doing:
rm -R ~/.config/SubDownloader/

Changed in subdownloader:
status: Confirmed → Fix Committed
Revision history for this message
gunnm (bozziche) wrote :

Thanks to Everthon's tip I think I found where the problem was.
Before deleting the file as suggested, I opened it to watch if there were some interesting values.
I found the [mainwindow] group very interesting:

[mainwindow]
size=@Size(1540 797)
pos=@Point(-406 121)

Looks like the starting window size is fixed in the config file, but that negative value in pos seems wrong.
Then I tried to delete the 2 lines but the problem was not resolved.
keep watching the file I found a very long name stored in the [upload] group:

[upload]
imdbHistory\6\imdbId=0455275
imdbHistory\6\title="\"Prison Break\" (2005) (TV series) \xc2\xa0\x61ka \"Prison Break: Manhunt\" - USA (second season title) \xc2\xa0\x61ka \"Prison Break: On the Run\" - Australia (second season title) \xc2\xa0-\xc2\xa0Season 4, Episode 2:"

So I deleted the two rows and Subdownloader now starts in a normal window, smaller than my screen size e fully resizable. Problem solved!
I've tried to keep the strange values in [mainwindow] but delete the long name in [upload] and Subdowloader started without the previous problems and corrected the config file automatically.

Hope this helps the devs.

Changed in subdownloader:
status: Fix Committed → Triaged
Revision history for this message
Marco Rodrigues (gothicx) wrote :

There is a problem about this in Linux / X11.

http://doc.trolltech.com/4.5/geometry.html#x11-peculiarities

Changed in subdownloader:
assignee: nobody → Marco Rodrigues (gothicx)
status: Triaged → Won't Fix
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.