! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Second output not usable when device is plugged in after dialog is started
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description Raphael Groner 2012-01-10 20:18:54 CET
The checkbox "use this display" is not visible if there's only one device detected on startup of xfce4-settings dialog for displays.

When the user connects a second device, so this device shows up in the list. But the user is unable to activate it and change other options because the checkbox will never be made visible.

If the dialog will be restarted with already more than one device connected, all devices can be activated with the visible checkbox.

I would suggest to simply modify the code snippet of function display_settings_dialog_new as follows to always have the checkbox visible. All displays will get then generally the checkbox "use this display". A test has shown that the user is unable to deactivate all displays due to it's being checked at another code position (function display_setting_output_toggled) with a potential error box.


-    if (xfce_randr->noutput > 1)
-    {
-       gtk_widget_show (GTK_WIDGET (check));
-       g_signal_connect (G_OBJECT (check), "toggled", G_CALLBACK (display_setting_output_toggled), builder);
-    }
-    else
-        gtk_widget_hide (GTK_WIDGET (check));
+    g_signal_connect (G_OBJECT (check), "toggled", G_CALLBACK (display_setting_output_toggled), builder);
Comment 1 Raphael Groner 2012-01-10 20:49:39 CET
Wrong product, sorry.
Comment 2 Lionel Le Folgoc 2012-10-18 23:57:12 CEST
Thanks. Should be fixed in the bluesabre/display-settings branch (there's been a call for testing on the mailing list if you want to try). Hopefully it will be merged into master for 4.12.
Comment 3 Lionel Le Folgoc 2012-10-29 23:10:15 CET
Merged into master.

Bug #8327

Reported by:
Raphael Groner
Reported on: 2012-01-10
Last modified on: 2012-10-29

People

Assignee:
Lionel Le Folgoc
CC List:
5 users

Version

Attachments

Additional information