Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Don't gedit in ubuntu session

  1. #11
    Join Date
    Oct 2010
    Location
    Niigata, JAPAN
    Beans
    862
    Distro
    Ubuntu Development Release

    Re: Don't gedit in ubuntu session

    @PaulW2U,

    Please let me be clear,
    https://bugs.launchpad.net/bugs/1518661

    I'm seeing the unwanted border problem here too in Ubuntu GNOME.
    This happened in Gome-Shell with Adwaita, too?
    Anyway this might be caused new ubuntu specific patch what unveiled from 3.18.5-1ubuntu1 package:
    Code:
    diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
    index 2d9f4b5..0476b6b 100644
    --- a/gtk/gtkwindow.c
    +++ b/gtk/gtkwindow.c
    @@ -7122,6 +7122,11 @@ gtk_window_realize (GtkWidget *widget)
       gtk_widget_register_window (widget, gdk_window);
       gtk_widget_set_realized (widget, TRUE);
     
    +  G_GNUC_BEGIN_IGNORE_DEPRECATIONS
    +  if (!gtk_widget_get_app_paintable (widget))
    +    gtk_style_context_set_background (gtk_widget_get_style_context (widget), gdk_window);
    +  G_GNUC_END_IGNORE_DEPRECATIONS
    +
       attributes.x = allocation.x;
       attributes.y = allocation.y;
       attributes.width = allocation.width;
    -- 
    2.6.2
    This patch seems very dangerous...

    I'm now building Gtk+ 3.19.2 with the patch and soon I'm going to test it on metacity 3.18.1.
    And that patch could solve black flickering on opening windows on Compiz really?

    Regards.
    Tista

    EDIT #1
    OK. I could confirm that patch broke Mutter's window decorations by drawing solid background in shadow areas...
    This patch (0001-gtkwindow-continue-calling-gtk_style_context_set_bac.patch) should be removed ASAP since the downside effects was too heavy and critical.
    I can not understand why the contributors did not review this patch on Mutter...

    EDIT #2
    It affects to Metacity's window decorations, too.
    Seems the worst patchworks in Gtk+ ever...
    Last edited by tista; November 23rd, 2015 at 02:52 AM.

  2. #12
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Don't gedit in ubuntu session

    Quote Originally Posted by tista View Post
    OK. I could confirm that patch broke Mutter's window decorations by drawing solid background in shadow areas...
    This patch (0001-gtkwindow-continue-calling-gtk_style_context_set_bac.patch) should be removed ASAP since the downside effects was too heavy and critical.
    I can not understand why the contributors did not review this patch on Mutter...
    Maybe they'll revert or fix if reported.
    It does seem that at default what works for gnome sessions doesn't in some cases work for an ubuntu session & vice-versa

    In those cases it seems patches that benefit an ubuntu session are needed & should be Ubuntu's first focus. Their effect in a gnome session shouldn't (obviously won't) be ignored, though I wouldn't consider any failings there to be a deal breaker to making an ubuntu session better or correct.
    Nautilus 3.18+ will by default not be right in an ubuntu session so here is hoping, unlike gedit, they fix it before committing to.
    Edit: or if resources better spent elsewhere then leave nautilus as is till 16.10 or whatever.
    Last edited by mc4man; November 23rd, 2015 at 03:07 AM.

  3. #13
    Join Date
    Apr 2007
    Location
    NH USA
    Beans
    1,484
    Distro
    Ubuntu Development Release

    Re: Don't gedit in ubuntu session

    Yes, the big gray border thing occurs in Gnome Shell with Adwaita. This is Ubuntu Gnome 16.04, without proposed enabled or any ppa's or such...

  4. #14
    Join Date
    Jun 2015
    Beans
    Hidden!

    Re: Don't gedit in ubuntu session

    just fyi - it's all fubar in xubuntu too

    pointed this out to people in -desktop this morning using that newest bug

  5. #15
    PaulW2U is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2010
    Beans
    3,110
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Don't gedit in ubuntu session

    Quote Originally Posted by tista View Post
    This happened in Gome-Shell with Adwaita, too?
    Yes.
    Quote Originally Posted by sgage View Post
    This is Ubuntu Gnome 16.04, without proposed enabled or any ppa's or such...
    Same here. I don't mind testing and reporting/confirming bugs when I find them but I won't make my test laptop any more unstable than I need to.

  6. #16
    Join Date
    Jul 2015
    Beans
    218

    Re: Don't gedit in ubuntu session

    Gedit has been patched today.

  7. #17
    Join Date
    Oct 2010
    Location
    Niigata, JAPAN
    Beans
    862
    Distro
    Ubuntu Development Release

    Re: Don't gedit in ubuntu session

    Greetings,

    Today Matthias Clasen, the lead Gtk+ developer, confirmed that issue (drawn solid background & thick border around the windows) as 'downstream issue'.
    So he changed bug status on Gnome bugzilla to 'resolved, notGnome'.

    And Tim Lunn, Ubuntu GNOME maintainer, released "dispatched" Gtk+ 3.18.5 packages on Gnome3-staging-PPA:
    https://launchpad.net/~gnome3-team/+..._filter=xenial

    If you guys want to check the dispatched state, it would be easy and safe by downloading some deb packages from ppa showed above and install them via dpkg-ing.

    Best Regards.
    Tista

  8. #18
    PaulW2U is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2010
    Beans
    3,110
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Don't gedit in ubuntu session

    Quote Originally Posted by tista View Post
    If you guys want to check the dispatched state, it would be easy and safe by downloading some deb packages from ppa showed above and install them via dpkg-ing.
    Thanks tista. Works for me.

  9. #19
    Join Date
    Apr 2007
    Location
    NH USA
    Beans
    1,484
    Distro
    Ubuntu Development Release

    Re: Don't gedit in ubuntu session

    Quote Originally Posted by PaulW2U View Post
    Thanks tista. Works for me.
    Me too

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •