[Bug 979959] Re: "gnome-control-center display" crashes if no RANDR extension

2019-01-11 Thread gouri
Makes sense.  Besides, I've been using XFCE for a long time now, so have
not had any visibility whether this bug still occurs with Gnome.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  "gnome-control-center display" crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 979959] Re: "gnome-control-center display" crashes if no RANDR extension

2019-01-10 Thread Sebastien Bacher
The bug hasn't seen any activity in years and there has been no recent
similar reports, the code also changed quite a lot since and it's likely
the issue doesn't exist anymore. Closing, feel free to open a new report
if you still get problems in recent Ubuntu versions

** Changed in: gnome-control-center (Ubuntu)
   Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  "gnome-control-center display" crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-08-16 Thread TJ
** Changed in: gnome-control-center (Ubuntu)
   Status: New = In Progress

** Changed in: gnome-control-center (Ubuntu)
 Assignee: (unassigned) = TJ (tj)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-08-16 Thread Launchpad Bug Tracker
** Branch linked: lp:~tj/ubuntu/precise/gnome-control-center/fix-979959

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-08-16 Thread TJ
I've uploaded the potential fix to my PPA for Precise. Please test and
report back.

https://launchpad.net/~tj/+archive/bugfixes

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-08-15 Thread TJ
The message RANDR extension is not present originates from the package
gnome-desktop3

libgnome-desktop/gnome-rr.c::gnome_rr_screen_initable_init()

if (XRRQueryExtension (dpy, event_base, ignore))
{
...
}
else
{
   g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_NO_RANDR_EXTENSION,
   _(RANDR extension is not present));

  return false;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-08-15 Thread TJ
libgnome-desktop/gnome-rr.c::gnome_rr_screen_new() says:

 * Returns: a unique #GnomeRRScreen instance, specific to the @screen, or NULL
 * if this could not be created, for instance if the driver does not support
 * Xrandr 1.2.  Each #GdkScreen thus has a single instance of #GnomeRRScreen.

therefore in gnome-control-center panels/display/cc-diaply-
panel.c::cc_display_panel_constructor() the following code is incorrect:

  self-priv-screen = gnome_rr_screen_new (gdk_screen_get_default (), error);
  g_signal_connect (self-priv-screen, changed, G_CALLBACK 
(on_screen_changed), self);
  if (!self-priv-screen)
{
  error_message (NULL, _(Could not get screen information), 
error-message);
  g_error_free (error);

if the call to gnome_rr_screen_new() returns NULL, as it will if no
RANDR is available, the subsequent setup of the signal:

g_signal_connect (self-priv-screen, changed, G_CALLBACK
(on_screen_changed), self);

is done with self-priv-screen == NULL

So when that signal fires it passes a NULL screen pointer to
on_screen_changed(). Passing the NULL pointer doesn't matter since it
isn't used in the call-back, but self-priv-screen is used:

on_screen_changed (GnomeRRScreen *scr,
   gpointer data)
{
  GnomeRRConfig *current;
  CcDisplayPanel *self = data;

  current = gnome_rr_config_new_current (self-priv-screen, NULL);
  gnome_rr_config_ensure_primary (current);

So current will be NULL after calling gnome_rr_config_new_current()

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 979959] Re: gnome-control-center display crashes if no RANDR extension

2012-07-17 Thread gouri
** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/979959

Title:
  gnome-control-center display crashes if no RANDR extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/979959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs