https://bugzilla.xfce.org/show_bug.cgi?id=8327

             Bug #: 8327
           Summary: Second output not usable when device is plugged in
                    after dialog is started
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.8.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Medium
         Component: General
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


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);

-- 
Configure bugmail: https://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to