After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 393590 - fullscreen time scrollbar changes it length when scolled to the end
fullscreen time scrollbar changes it length when scolled to the end
Status: RESOLVED DUPLICATE of bug 338390
Product: totem
Classification: Core
Component: Movie player
2.16.x
Other All
: Normal trivial
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-01-06 17:05 UTC by Patrick Ammann
Modified: 2007-01-08 22:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
one way to fix this issue (2.29 KB, patch)
2007-01-06 17:08 UTC, Patrick Ammann
none Details | Review
an improved patch (4.03 KB, patch)
2007-01-07 13:26 UTC, Patrick Ammann
rejected Details | Review

Description Patrick Ammann 2007-01-06 17:05:50 UTC
Please describe the problem:
The scrollbar length is changing it length when seeking around. This
can be very anoing when you try to seek to the end as the scrollbar length
can bump its length.

Example:
[scrollbar     ] 0:00 1:01:00

Then you seek to the end:
[scrollbar  ] 1:01:00 1:01:00 (in this case the length is 3 chars smaller)

Now when you just seek 2 secs for and back the scrollbar bumps and its very
hard to seek correctly.

Steps to reproduce:
1. load a movie
2. go to fullscreen
3. seek over edges (from 9:59 to 10:00)
4. -> srollbar changes its length



Actual results:
scrollbar changes its length


Expected results:
the scollbar length should ideally be fixed length


Does this happen every time?
yes

Other information:
Comment 1 Patrick Ammann 2007-01-06 17:08:23 UTC
Created attachment 79538 [details] [review]
one way to fix this issue

this patch fixes the problem
Comment 2 Patrick Ammann 2007-01-07 13:26:32 UTC
Created attachment 79624 [details] [review]
an improved patch

This patch tries to fix:
- in fullscreen time scrollbar did bump its length while scrolling
- "Seek to" is not need and its anyway obious from the UI and it only
  consumes space.
- there where 2 places in the source where i did more or less the same
  calculation, now we have one single function.
Comment 3 Bastien Nocera 2007-01-08 22:58:36 UTC
Removing the current functionality isn't an option, and trying to use the same "length" of string as before is bound to have ill effects, as "1" is not as wide as "0" in a non-monospaced font.

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 338390 ***