Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-20 Thread Christoph Anton Mitterer
On Fri, 2016-05-20 at 11:29 +0200, Christian Seiler wrote:
> This is now fixed in the following upstream commit:
> https://github.com/PCMan/gtk3-nocsd/commit/c96202da8bfc73b17eef816e4d
> 11fb438d7ea4d0

thanks :)

smime.p7s
Description: S/MIME cryptographic signature


Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-20 Thread Christian Seiler
Control: tags -1 + fixed-upstream
Control: tags -1 - moreinfo

On 05/19/2016 05:23 PM, Christoph Anton Mitterer wrote:
> On Thu, 2016-05-19 at 15:44 +0200, Christian Seiler wrote:
>> Could you try compiling upstream gtk3-nocsd (Debian only
>> patches the manpage anyway) with the attached patch applied? I
>> would like to get some feedback to see whether it solves the
>> problem also on real hardware, not only VMs with emulated GPUs.
> It does (though I used the patch on the debian sid source package),...
> the mouse over hints and the drop down boxes are displayed correctly.

This is now fixed in the following upstream commit:
https://github.com/PCMan/gtk3-nocsd/commit/c96202da8bfc73b17eef816e4d11fb438d7ea4d0

Regards,
Christian



signature.asc
Description: OpenPGP digital signature


Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-19 Thread Christoph Anton Mitterer
On Thu, 2016-05-19 at 15:44 +0200, Christian Seiler wrote:
> Could you try compiling upstream gtk3-nocsd (Debian only
> patches the manpage anyway) with the attached patch applied? I
> would like to get some feedback to see whether it solves the
> problem also on real hardware, not only VMs with emulated GPUs.
It does (though I used the patch on the debian sid source package),...
the mouse over hints and the drop down boxes are displayed correctly.
The gedit too-thick-line is however not fixed by it.

Thanks :)


Cheers,
Chris

smime.p7s
Description: S/MIME cryptographic signature


Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-19 Thread Christian Seiler
Control: tags -1 + moreinfo patch

On 05/19/2016 02:40 PM, Christoph Anton Mitterer wrote:
> Control: tags -1 - moreinfo
> 
> On Wed, 2016-05-18 at 11:12 +0200, Christian Seiler wrote:
>> Could you provide me a screenshot of the broken tool tips?
> Attached are two screenshots (with/withou) gtk3-nocsd and a video.
> 
> The effect from the screenshot with gtk3-nocsd, I'v discovered just
> before (i.e. black frame around the tool tip, not flickering).
> The video (H265) shows the flickering.

I think I figured out what the problem is, after reproducing it in
a VM. Could you try compiling upstream gtk3-nocsd (Debian only
patches the manpage anyway) with the attached patch applied? I
would like to get some feedback to see whether it solves the
problem also on real hardware, not only VMs with emulated GPUs.

Instructions:
git clone https://github.com/PCMan/gtk3-nocsd
cd gtk3-nocsd
patch -p1 < dont_disable_compositing.patch
make
LD_PRELOAD=$PWD/libgtk3-nocsd.so.0 GTK_CSD=0 nautilus

Regards,
Christian
diff --git a/gtk3-nocsd.c b/gtk3-nocsd.c
index 41aa0b6..f54885f 100644
--- a/gtk3-nocsd.c
+++ b/gtk3-nocsd.c
@@ -461,7 +461,10 @@ extern void gtk_header_bar_set_show_close_button (GtkHeaderBar *bar, gboolean se
 }
 
 extern gboolean gdk_screen_is_composited (GdkScreen *screen) {
-if(is_compatible_gtk_version() && are_csd_disabled()) {
+/* With Gtk+3 3.16.1+ we reimplement gtk_window_set_titlebar ourselves, hence
+ * we don't want to re-use the compositing hack, especially since it causes
+ * problems in newer Gtk versions. */
+if(is_compatible_gtk_version() && are_csd_disabled() && !is_gtk_version_larger_or_equal(3, 16, 1)) {
 if(TLSD->disable_composite)
 return FALSE;
 }


signature.asc
Description: OpenPGP digital signature


Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-18 Thread Christian Seiler
Control: tags -1 + moreinfo

On 05/18/2016 04:51 AM, Christoph Anton Mitterer wrote:
> The tool tip texts / mouse over hints... i.e. the small boxes
> that appear automatically when one rests with the pointer
> over some object and that contain text, are broken.
> 
> Some weeks ago (I think that was before the gtk3 update in sid)
> the coulours were just ugly wrong, but now, when I e.g.
> start
> 
> # gtk3-nocsd  nautilus
> 
> and then move the mouse over e.g. "Home" or some other folder
> on the left hand pane, I get just some black boxes, other
> graphic errors or flickering.

I cannot reproduce this, the tool tips are exactly the same on my
system, with or without gtk3-nocsd.

Could you provide me a screenshot of the broken tool tips?

Also:

 - what graphics card?
 - what Xorg driver?
 - what mesa version? Any proprietary mesa used?
 - what gtk/gdk/glib/gobject versions?
 - what desktop environment / window manager?
 - what Gtk theme?

Thanks!

Regards,
Christian



Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-17 Thread Christoph Anton Mitterer
btw: this also happened for non-CSDed programs (e.g. evolution), which
is also why I had to disable the preloading.

smime.p7s
Description: S/MIME cryptographic signature


Bug#824616: gtk3-nocsd: tool top texts / mouse over hints are broken

2016-05-17 Thread Christoph Anton Mitterer
Package: gtk3-nocsd
Version: 2-1
Severity: important


Hi.

I have:
#cat /etc/X11/Xsession.d/01-dont-disable-gtk-csd
export GTK3_NOCSD_IGNORE=1

The tool tip texts / mouse over hints... i.e. the small boxes
that appear automatically when one rests with the pointer
over some object and that contain text, are broken.

Some weeks ago (I think that was before the gtk3 update in sid)
the coulours were just ugly wrong, but now, when I e.g.
start

# gtk3-nocsd  nautilus

and then move the mouse over e.g. "Home" or some other folder
on the left hand pane, I get just some black boxes, other
graphic errors or flickering.


Cheers,
Chris.