Defect #9824
Visual merge/branch history words are cut off
| Status: | Confirmed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | SCM | |||
| Target version: | Candidate for next minor release | |||
| Affected version: | 1.3.0 | Resolution: |
Description
In the visual merge/branch history the word are cut off. For example the word master is cut off after m.
Related issues
History
#1 Updated by Denny Schäfer 5 months ago
The error is in file revision_graph.js line 31.In my case var cw is every 40.
#2 Updated by Etienne Massip 5 months ago
- Category set to SCM
#3 Updated by Etienne Massip 5 months ago
- Status changed from New to Confirmed
- Target version set to Candidate for next minor release
#4 Updated by Alex Pogodin 5 months ago
Had the same effect until I refreshed my changesets. Try to remove and then readd the repo, worked for me
#5 Updated by Morgan Jones 5 months ago
Alex Pogodin wrote:
Had the same effect until I refreshed my changesets. Try to remove and then readd the repo, worked for me
I did and the result was the same. Shouldn't it look like more of a revision graph and less of a bullet pointed list? (tested on Mac Chrome 17.0.963.12)
I expanded the X spacing in the JS and still get a similar thing.
Screenshot: http://d.pr/EhJu
#6 Updated by Morgan Jones 5 months ago
- File Screen Shot 2011-12-21 at 9.42.01 PM.png added
That screenshot link is invalid. Screenshot is attached.
#7 Updated by Il'ya Shakitko 4 months ago
May be i will help. This bug is only for old commits (before redmine update). After update the branch graph is ok.
UPD. I wrong.
#8 Updated by Pedro Alexandre Pacheco Cipriano 3 months ago
- File NoBranch.PNG added
- File OneBranch.PNG added
Denny Schäfer wrote:
In the visual merge/branch history the word are cut off. For example the word master is cut off after m.
I can reproduce the behaviour quite easily. It seems that when there is not enough branches to increase the horizontal width the words are cut off.
#9 Updated by Daniel Ritz 2 months ago
- File fix-revisiongraph-width.patch added
Attached a fix that works fine for me. It changes the width dynamically if there's not enough room to draw the tag names. Against 1.3.2.
#10 Updated by Etienne Massip 2 months ago
BTW, the way the graph is integrated into the revision list has been changed with 1.4.0.
We removed the head revision branch names since they will necessarily be cut off and display them on revision dot hover.
There is still room for improvements, though.
#11 Updated by Daniel Ritz 2 months ago
Etienne Massip wrote:
BTW, the way the graph is integrated into the revision list has been changed with 1.4.0.
We removed the head revision branch names since they will necessarily be cut off and display them on revision dot hover.
Yeah I know, but I needed a quick fix for the stable version, so I thought I share it :)
#12 Updated by Denny Schäfer 2 months ago
Thanks for patching this bug
Daniel Ritz wrote:
Attached a fix that works fine for me. It changes the width dynamically if there's not enough room to draw the tag names. Against 1.3.2.
