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 430961 - Add support for viewing and correcting line length
Add support for viewing and correcting line length
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
latest
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on: 439832
Blocks:
 
 
Reported: 2007-04-18 10:05 UTC by Gorax
Modified: 2009-02-01 20:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gorax 2007-04-18 10:05:40 UTC
Hi,
I'm just install Gnome-Subtitles on my computer and I think it's an awesome soft... but a very usefull feature is absent.

Could you please add the possibility to show (and of course to set) the number of caracters by line. And also if possible a dialogue box who tells which lines are too long).

The reason for this request is simple : for many Mpeg4 dvd players the subtitles are cut if they exceed 40 car/line. And a lot of subtiles available don't respect this rule and the user have to reajust manually some lines to have a good compatibility with his player.

I think this feature will be usefull for a lot of people who use Gnome-Subtitles.

Please excuse me if my english is not correct, I am French ;-)

Regards

Gorax
Comment 1 Pedro Castro 2007-04-18 23:51:54 UTC
That's an interesting point you're focusing on. From your description, I see 2 feature suggestions: to view the length of the text lines while editing them, and to have some sort of an automatic way of correcting the length of all subtitles.

The first one is perhaps realizable by putting that info on the status bar. About the second, it becomes more general than that. The thing is that having more than 35 (or at most 40) is considered a bad practice, so good subtitles should never have lines that are that long (so this is good not only for your specific case with Mpeg4 dvd players, but also for general editing). What I have in mind is a dialog that allows to detect multiple errors (including that one).

I'll mark this as NEW for now. The first feature should be implemented in a timely manner. The second will take longer, as it is included in a much bigger and complex feature (error detection and correction).
Comment 2 Gorax 2007-04-19 04:49:47 UTC
Thanks for your answer, and good luck for the developement of these features.
Comment 3 Pedro Castro 2007-05-29 18:41:51 UTC
Gorax, I've added support to show the line and column numbers when editing text. It shows something like gedit: "Ln 1, Col 14", for instance.

Now, there is also the other feature of adding a dialog to detect errors, including invalid line lengths, which I'm marking as a dependency of this bug.

My question is, is it sufficient to show the line and column numbers in the status bar? Or do you find necessary to have the length of the lines as well? Something like: "Ln 1/2, Col 14/40", where each part after the slash is the number of lines and characters, respectively.
Comment 4 marcodefreitas 2009-01-27 19:49:27 UTC
I think no. Looking at the status bar is sufficient when writing a new file but did not help when you are correcting third party files. A background color hint can help a lot on revisions.
Comment 5 Pedro Castro 2009-02-01 20:40:53 UTC
Marco,

For correcting existent files, a feature is planned that allows to check the whole file for errors. Check out bug #439832. Background hints should help, I agree.