[Pkg-chromium-maint] Bug#732252: chromium: 'title' popups in the browser can exceed the screen's width

Neal Murphy neal.p.murphy at alum.wpi.edu
Mon Dec 16 00:31:14 UTC 2013

Package: chromium
Version: 31.0.1650.63-1~deb7u1
Severity: normal

I am integrating URL Filter into Smoothwall. Among other things, the log
display puts the blocked URL in a 'title' element; these URLs can be very long.
Then I noticed some of the title popups exceed the display's width.

In short, when the title text is very long and without spaces, the title pop-up
may be wider than the displaying monitor.

I would expect the popup to be crowbarred to a little less than the width of
the display. Better would be a little less than the width of the chromium
window. In general, the browser should (1) split on whitespace, (2) split on
punctuation, (3) use a smaller font if the text is looong, (4) split
arbitrarily to keep the width reasonable, or (5, last gasp) truncate the text.
(While in there, you might as well check if the popup's height is also limited.

Yes, it can be avoided and yes, such popups should be reasonably short. But the
browser really ought to behave sanely.

(To compare, epiphany behaves the same as chromium. In contrast, Iceweasel
seems to arbitrarily limit the width of the popup by cutting off much of the
right end of the rendered popup, and Konqueror puts the left edge of the too-
wide popup at the left edge of the monitor.)

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-0.bpo.3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages chromium depends on:
ii  chromium-inspector  31.0.1650.63-1~deb7u1
ii  gconf-service       3.2.5-1+build1
ii  libasound2          1.0.25-4
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-38
ii  libcairo2           1.12.2-3
ii  libcups2            1.5.3-5+deb7u1
ii  libdbus-1-3         1.6.8-1+deb7u1
ii  libexpat1           2.1.0-1
ii  libfontconfig1      2.9.0-7.1
ii  libfreetype6        2.4.9-1.1
ii  libgcc1             1:4.7.2-5
ii  libgconf-2-4        3.2.5-1+build1
ii  libgcrypt11         1.5.0-5+deb7u1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgnome-keyring0   3.4.1-1
ii  libgtk2.0-0         2.24.10-2
ii  libjpeg8            8d-1
ii  libnspr4            2:4.9.2-1
ii  libnss3             2:3.14.5-1
ii  libpango1.0-0       1.30.0-1
ii  libspeechd2         0.7.1-6.2
ii  libspeex1           1.2~rc1-7
ii  libstdc++6          4.7.2-5
ii  libudev0            175-7.2
ii  libx11-6            2:1.5.0-1+deb7u1
ii  libxcomposite1      1:0.4.3-2
ii  libxdamage1         1:1.1.3-2
ii  libxext6            2:1.3.1-2+deb7u1
ii  libxfixes3          1:5.0-4+deb7u1
ii  libxi6              2:1.6.1-1+deb7u1
ii  libxml2             2.8.0+dfsg1-7+nmu2
ii  libxrender1         1:0.9.7-1+deb7u1
ii  libxslt1.1          1.1.26-14.1
ii  libxss1             1:1.2.2-1
ii  libxtst6            2:1.2.1-1+deb7u1
ii  xdg-utils           1.1.0~rc1+git20111210-6

chromium recommends no packages.

Versions of packages chromium suggests:
pn  chromium-l10n  <none>

-- no debconf information

More information about the Pkg-chromium-maint mailing list