Last modified: 2014-08-01 23:12:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36471 - Gerrit needs a very wide screen or has big horizontal scroll
Gerrit needs a very wide screen or has big horizontal scroll
Status: REOPENED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 69036 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 09:33 UTC by Niklas Laxström
Modified: 2014-08-01 23:12 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Ugly scrollbars (114.02 KB, image/png)
2012-05-03 09:33 UTC, Niklas Laxström
Details
Extra wide page (128.82 KB, image/png)
2012-05-03 09:34 UTC, Niklas Laxström
Details
Tim's dashboard in 2.4 (302.34 KB, image/png)
2012-10-09 06:36 UTC, Tim Starling
Details
Tim's dashboard without nowrap (319.10 KB, image/png)
2012-10-09 06:37 UTC, Tim Starling
Details
Search bar way beyond the screen in 2.6 (104.54 KB, image/png)
2013-02-12 11:56 UTC, Nemo
Details
Commit message going way beyond the screen (103.78 KB, image/png)
2013-02-13 10:12 UTC, Nemo
Details

Description Niklas Laxström 2012-05-03 09:33:58 UTC
Created attachment 10501 [details]
Ugly scrollbars

I have 1440x900 resolution on my laptop. Yet the Gerrit interface doesn't fit in very well.

It is kind of problem with too long lines in commit messages, but on the other hand those are not strictly enforced, and gerrit should handle them better.

I either get ugly scrollbars or extra wide page. See the attached images.
Comment 1 Niklas Laxström 2012-05-03 09:34:19 UTC
Created attachment 10502 [details]
Extra wide page
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-03 09:39:56 UTC
That is why we want to use short commit messages.
Comment 3 Chad H. 2012-05-03 12:57:42 UTC
Also, Roan was possibly adding some CSS to line-wrap long commit messages there.

I know it's not coming *soon*, but 2.4 improves the UI here a lot...just something to keep in mind.
Comment 4 Chad H. 2012-05-03 12:59:26 UTC
(In reply to comment #3)
> I know it's not coming *soon*, but 2.4 improves the UI here a lot...just
> something to keep in mind.

Here's what the interface looks like in 2.4: http://gerrit-dev.wmflabs.org/r/#/c/9/1/.gitmodules
Comment 5 Chad H. 2012-05-15 15:19:07 UTC
Actually this was in 2.3, not just 2.4. It's a bit too wide for my Android devices (phone & tablet), but it's certainly usable. On my laptop, I can take the resolution down as far as 800x600 and it's still a bit too wide--but again, perfectly usable.

I'm inclined to mark this WORKSFORME.
Comment 6 Tim Starling 2012-10-09 06:35:40 UTC
We're using Gerrit 2.4 and it doesn't look fixed to me. The computed width of my current dashboard table is 1163px, which is typical and kind of inconvenient when you have a screen width of 1050px. The V/R marks are almost never visible without horizontal scrolling. Removing the white-space:nowrap from the remaining table cells that have it improves the display enormously, see the screenshots which I will attach shortly.
Comment 7 Tim Starling 2012-10-09 06:36:47 UTC
Created attachment 11164 [details]
Tim's dashboard in 2.4

1163px wide dashboard in 2.4
Comment 8 Tim Starling 2012-10-09 06:37:58 UTC
Created attachment 11165 [details]
Tim's dashboard without nowrap

Same dashboard view, hacked with Firebug to remove the white-space:nowrap rules.
Comment 9 Chad H. 2012-10-09 12:53:23 UTC
Submitted a patch upstream to fix this.

https://gerrit-review.googlesource.com/#/c/38260/

Thanks Tim, I hadn't noticed this being too wide (initial focus of the bug was on commit messages).
Comment 10 Chad H. 2012-10-15 12:25:08 UTC
Merged into upstream, with a second fix to my original commit. Doubt it'll make the 2.5 release, but it'll definitely make 2.6.
Comment 11 Nemo 2013-02-12 11:56:23 UTC
Created attachment 11768 [details]
Search bar way beyond the screen in 2.6

(In reply to comment #10)
> Merged into upstream, with a second fix to my original commit. Doubt it'll
> make
> the 2.5 release, but it'll definitely make 2.6.

Actually it's way worse in 2.6. With 2.4, most of the search bar was within the screen.
Comment 12 Chad H. 2013-02-12 13:01:58 UTC
Previous comments were asking for wide commit messages and wide change tables to be fixed--both if which have been.

The search bar wasn't brought up in previous comments at all (and I didn't do any work on it). I'm not opposed to improvements though :)
Comment 13 Nemo 2013-02-13 10:12:07 UTC
Created attachment 11775 [details]
Commit message going way beyond the screen

(In reply to comment #12)
> Previous comments were asking for wide commit messages and wide change tables
> to be fixed--both if which have been.

It's also commit messages for me.
I think you changed something with the logo? I see less white space next to it, good.

> 
> The search bar wasn't brought up in previous comments at all (and I didn't do
> any work on it). I'm not opposed to improvements though :)

Would another bug be better, or – in general – how can one help?
Comment 14 Chad H. 2013-04-12 16:33:02 UTC
We still need to wrap commit messages properly. We have a table, use it.

Also, can I get a screenshot of the search bar problem and what exactly we should fix?
Comment 15 Nemo 2013-04-12 16:37:13 UTC
(In reply to comment #14)
> Also, can I get a screenshot of the search bar problem and what exactly we
> should fix?

Quoting myself from https://gerrit.wikimedia.org/r/#/c/58082/ : «I have a 1024x768px screen and with "My" tab selected I lack 250px of space to reach the end (arrow to open settings).»
That CSS change should help, I can add a screenshot... no I already did, attachment 11768 [details] look top right.
Comment 16 Krinkle 2013-04-30 13:18:57 UTC
(In reply to comment #14)
> Also, can I get a screenshot of the search bar problem and what exactly we
> should fix?

Up to and including patch set 3 of Iaedbea9b5f43ac this change doesn't actually work.

The problem (screenshot of current deployment, no changes):
- http://cl.ly/image/37370E3p1v2a

Screenshot with Iaedbea9b5f43ac,ps3 applied:
- http://cl.ly/image/0i2o2w3l0D24

What we need:
- Hide logo and move everything else over (it has position absolute, hiding it doesn't collapse the layout).
Comment 17 Nemo 2013-06-06 12:34:29 UTC
Restoring the original bug summary, with addition of "horizontal scroll" specification: the new bug summary doesn't describe a problem but a specific goal regarding the problem.
Comment 18 Chad H. 2014-08-01 23:12:11 UTC
*** Bug 69036 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links