Bug 176337 - [GTK] Settings dialog in MiniBrowser cannot be resized
Summary: [GTK] Settings dialog in MiniBrowser cannot be resized
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-04 16:00 PDT by Adrian Perez
Modified: 2017-09-04 16:00 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2017-09-04 16:00:16 PDT
According to the GTK+ inspector, the BrowserSettingsDialog window
is resizable, and indeed the resize handles are shown when moving
the mouse over the window edges -- yes the window cannot be resized!
Also, it cannot be moved, which may be related.

Of course, applying the patch below doesn't work either :-(


diff --git a/Tools/MiniBrowser/gtk/BrowserSettingsDialog.c b/Tools/MiniBrowser/gtk/BrowserSettingsDialog.c
index 511b3db04fb..113df9f0065 100644
--- a/Tools/MiniBrowser/gtk/BrowserSettingsDialog.c
+++ b/Tools/MiniBrowser/gtk/BrowserSettingsDialog.c
@@ -154,6 +154,7 @@ static void browser_settings_dialog_init(BrowserSettingsDialog *dialog)
 
     gtk_box_pack_start(contentArea, scrolledWindow, TRUE, TRUE, 0);
     gtk_widget_show(scrolledWindow);
+    gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE);
 
     g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL);
 }