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 738054 - Long application titles make popup too big in overview
Long application titles make popup too big in overview
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: overview
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-10-07 05:14 UTC by Eddy Castillo
Modified: 2014-10-13 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Firefox showing wikipedia article with the longest title (733.91 KB, image/png)
2014-10-07 05:14 UTC, Eddy Castillo
  Details
app-well: Set menu width (970 bytes, patch)
2014-10-12 07:44 UTC, drago01
committed Details | Review

Description Eddy Castillo 2014-10-07 05:14:19 UTC
Created attachment 287905 [details]
Firefox showing wikipedia article with the longest title

As you can see in the attachment, long titles (especially with web browsers) make the app popups in overview bigger than screen.

Steps to reproduce:
1. Open Firefox
2. Open a site with a long title. As in the attachment. [1]
3. Right click on Firefox icon in overview.

Details:
gnome-shell-3.14.0-2.fc21.x86_64

[1] http://en.wikipedia.org/wiki/Suzukake_no_Ki_no_Michi_de_%22Kimi_no_Hohoemi_o_Yume_ni_Miru%22_to_Itte_Shimattara_Bokutachi_no_Kankei_wa_D%C5%8D_Kawatte_Shimau_no_ka,_Bokunari_ni_Nannichi_ka_Kangaeta_Ue_de_no_Yaya_Kihazukashii_Ketsuron_no_Y%C5%8D_na_Mono
Comment 1 Matthias Clasen 2014-10-08 00:06:00 UTC
Looks like an easy fix for 3.14.x
Comment 2 drago01 2014-10-12 07:44:43 UTC
Created attachment 288301 [details] [review]
app-well: Set menu width

Currently the app well menu has unrestricted with which can cause it to grow
with long window titles and can even go offscreen that way.

So set a size, long titles will now be properly elipised.
Comment 3 Rui Matos 2014-10-13 13:36:22 UTC
Review of attachment 288301 [details] [review]:

::: data/theme/gnome-shell.css
@@ +234,3 @@
 
+.app-well-menu {
+    width: 220px;

I think max-width and a bigger value is better. Note that the base popup-menu class already has min-width: 200px.
Comment 4 drago01 2014-10-13 13:40:00 UTC
Attachment 288301 [details] pushed as 0bec76b - app-well: Set menu width

Pushed with "max-width: 400px"