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 643765 - Modal dialogs from apps are not resizable
Modal dialogs from apps are not resizable
Status: RESOLVED DUPLICATE of bug 643597
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-03 10:11 UTC by peeters.simon
Modified: 2011-03-16 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the modal dialog in file-roller (65.01 KB, image/png)
2011-03-03 10:11 UTC, peeters.simon
Details

Description peeters.simon 2011-03-03 10:11:32 UTC
Created attachment 182329 [details]
screenshot of the modal dialog in file-roller

problem:
i am currently running gnome-shell 2.91.90 (debian experimental) on my asus eeepc 1005ha (10" screen) but when a modal dialog pops up (mostly file open dialogs etc.) they mostly exceed my screen size (only 1024x600) then i have to try to use keyboard shortcuts to get trough the dialog.

(i have added a screenshot of the file-roller "select folder to extract to" dialog to show this issue, but it also happens with other software showing modal dialogs (like the firefox file-open dialog))

 suggested solution: (even though i have no clue about how gnome-shell is build up, this is what i think could solve this)
limit the modal dialog to fit the screen (maxheight = screenheight - height of gnome-shell bar - height of titlebar
and force add a scrollbar if the dialog would exceed this size otherwise.


hope this will get fixed

simon
Comment 1 Rui Matos 2011-03-11 18:17:46 UTC
I don't think gnome-shell can do anything here. In this case it's gtk+'s file chooser who should cope with that small screen size.
Comment 2 Federico Mena Quintero 2011-03-16 19:14:18 UTC
Apparently gnome-shell doesn't let you resize modal dialogs.  Reassigning to gnome-shell.

I tried this with the Ctrl-O dialog in the following apps:

Gedit - resizable
EOG - resizable
File roller - not resizable
Firefox - not resizable

Offhand I'm not sure what the difference is; I'll check file-roller's source, but the shell is definitely not letting these dialogs be resized.
Comment 3 Federico Mena Quintero 2011-03-16 19:18:27 UTC
File-roller does

  w = gtk_file_chooser_dialog_new (..., parent_window, ...);
  ...
  gtk_window_set_modal (w);
  gtk_widget_show (w);
Comment 4 Owen Taylor 2011-03-16 19:23:49 UTC

*** This bug has been marked as a duplicate of bug 643597 ***