Re: [gnome-flashback] Issues with gnome-flashback on Ubuntu 16.04





On Sat, Dec 5, 2015 at 3:54 PM, Alkis Georgopoulos <alkisg gmail com> wrote:
On 04/12/2015 07:23 μμ, Alberts Muktupāvels wrote:
I can not resize csd windows too, but that is theme problem:
.window-frame { margin: 0; }

Thanks, that did it, hopefully it'll be fixed until 16.04 final so that there's no need to do this per user:
~/.config/gtk-3.0$ cat gtk.css
.window-frame {
margin: 1px;
}


This might not be fixed. The problem here is that compiz does not support GTK_FRAME_EXTENTS and adding margin will cause some problems...

https://code.launchpad.net/~albertsmuktupavels/ubuntu-themes/csd-window-shadow-and-resize-area/+merge/248349
(second comment)

https://code.launchpad.net/~albertsmuktupavels/compiz/add-gtk-frame-extents-to-net-supported/+merge/257303
(first comment)


   6) gnome-flashback with metacity has a lot of tearing...
Can you give some links for upstream change?

The best description that I saw about it was comment #2 in:
https://bugzilla.libsdl.org/show_bug.cgi?id=2383

There's also https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665, but it only speaks about SDL, while this issue affects a lot of other apps as well, e.g. video playback inside our outside the browser.


I was thinking that something was changed in metacity... I might try to look at this when I will have more free time.


    7) The panel applet for the keyboard layout doesn't switch...
That might be ubuntu indicator-keyboard problem.

Can you try this:
- set org.gnome.gnome-flashback.input-sources to true
- add notification-area applet to see input source icon from gnome-flashback

Then it should work, but you will see two indicators. If adding
notification-area applet is acceptable to you then you probably can
disable indicator-keyboard autostarting in GNOME Flashback by copying
/etc/xdg/autostart/indicator-keyboard.desktop to ~/.config/autostart and
adding extra line 'NotShowIn=GNOME-Flashback;'.


Thank you Alberts, you're great!
I've had to remove /usr/share/upstart/sessions/indicator-keyboard.conf for the last step to work.
I'd love to be able to do this for all users, or better yet, to have it as the default for gnome-flashback.


Did not ubuntu switch to systemd? Does it still load upstart configuration?


a) Dmitry, do we need to stick with the Ubuntu indicators?
 * The language indicator is semi-broken.
 * Pidgin, thunderbird etc indicators don't show up.
 * The "Add event" in the date/time indicator doesn't work.

Did I understand it correctly that if we switch to whatever gnome-flashback has by default, things will work fine again?


The main problem here is that upstream gnome-flashback use deprecated GtkStatusIcon. To see these icons we need notification-area applet added to panel, but... We don't want to use that applet nor GtkStatusIcons. My plan is to write new library for status notifier specification and port all GtkStatusIcons to it.


b) If the previous suggestion is not feasible, what would it take to properly replace indicator-keyboard with the "gnome-flashback keyboard applet"? Does it need to be rewritten so that is uses the Ubuntu API there

Currently probably best option could be to:
- make changes so ubuntu keyboard indicator is not started under GNOME-Flashback
- enable input-sources by default
- port all gnome flashback GtkStatusIcons or at least needed ones to libappindicator so there is no need to add notification-area applet (that would be ubuntu specific patches).

Problem is that someone needs to do this. I have almost no free time currently and if I have it - I will focus on improving GNOME Flashback upstream.

--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]