Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-29 Thread Scott Kostyshak
On Fri, Jul 29, 2016 at 01:40:11AM +0200, Enrico Forestieri wrote: > On Wed, Jul 27, 2016 at 10:45:10PM -0400, Scott Kostyshak wrote: > > > > Enrico, have you seen the following? > > https://codereview.qt-project.org/#/c/32263/ > > > > In particular, note the patch set here: > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-28 Thread Enrico Forestieri
On Wed, Jul 27, 2016 at 10:45:10PM -0400, Scott Kostyshak wrote: > > Enrico, have you seen the following? > https://codereview.qt-project.org/#/c/32263/ > > In particular, note the patch set here: > https://codereview.qt-project.org/#/c/32263/7//ALL > > "Clients attempting to acquire a

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-27 Thread Scott Kostyshak
On Sun, Jul 10, 2016 at 11:45:42AM +0200, Enrico Forestieri wrote: > I don't think that they are going to fix this issue that seems to be > there since ages. I was not even aware of the problem and it is not > even serious as giving focus to a window before pasting avoids it. > Should they fix

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Scott Kostyshak
On Sun, Jul 10, 2016 at 11:45:42AM +0200, Enrico Forestieri wrote: > I don't think that they are going to fix this issue that seems to be > there since ages. I was not even aware of the problem and it is not > even serious as giving focus to a window before pasting avoids it. True. > Should

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Enrico Forestieri
On Sun, Jul 10, 2016 at 01:15:06PM +0200, Enrico Forestieri wrote: > On Sun, Jul 10, 2016 at 12:02:47PM +0200, Kornel Benko wrote: > > Am Sonntag, 10. Juli 2016 um 11:53:37, schrieb Enrico Forestieri > > > > > > > > I suggest that I commit the previous patch you posted and then

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Enrico Forestieri
On Sun, Jul 10, 2016 at 12:02:47PM +0200, Kornel Benko wrote: > Am Sonntag, 10. Juli 2016 um 11:53:37, schrieb Enrico Forestieri > > > > > I suggest that I commit the previous patch you posted and then you > > can start from there. > > Please no. I am convinced now that you

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Kornel Benko
Am Sonntag, 10. Juli 2016 um 11:53:37, schrieb Enrico Forestieri > On Sun, Jul 10, 2016 at 10:47:08AM +0200, Kornel Benko wrote: > > > Am Samstag, 9. Juli 2016 um 21:26:51, schrieb Enrico Forestieri > > > > > A more safe approach is based on looking at

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Enrico Forestieri
On Sun, Jul 10, 2016 at 10:47:08AM +0200, Kornel Benko wrote: > Am Samstag, 9. Juli 2016 um 21:26:51, schrieb Enrico Forestieri > > > A more safe approach is based on looking at QtCore/qconfig.h, which > > directly tells you what is the default backend. Indeed it contains > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Enrico Forestieri
On Sun, Jul 10, 2016 at 12:50:47AM -0400, Scott Kostyshak wrote: > On Sat, Jul 09, 2016 at 06:36:36PM +0200, Enrico Forestieri wrote: > > > I have also extended the fix to Qt4 in much the same manner and it works > > for me. In the attached patch I have also incorporated the changes for > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-10 Thread Kornel Benko
Am Samstag, 9. Juli 2016 um 21:26:51, schrieb Enrico Forestieri > A more safe approach is based on looking at QtCore/qconfig.h, which > directly tells you what is the default backend. Indeed it contains > #define QT_QPA_DEFAULT_PLATFORM_NAME "xcb" > if X11 is the backend. OK,

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Scott Kostyshak
On Sat, Jul 09, 2016 at 06:36:36PM +0200, Enrico Forestieri wrote: > I have also extended the fix to Qt4 in much the same manner and it works > for me. In the attached patch I have also incorporated the changes for > cmake, except for Qt4, as I don't know what is required. I tested the new patch

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2016 um 21:26:51, schrieb Enrico Forestieri > On Sat, Jul 09, 2016 at 09:02:09PM +0200, Enrico Forestieri wrote: > > > > Then, looking at development/cmake/ConfigureChecks.cmake, it seems to > > me that QT_USES_X11 is correctly set for Qt4, because the

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2016 um 21:02:09, schrieb Enrico Forestieri > On Sat, Jul 09, 2016 at 07:36:53PM +0200, Kornel Benko wrote: > > Am Samstag, 9. Juli 2016 um 18:43:50, schrieb Enrico Forestieri > > > > > > > > Please, can you also check what has to be done for

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Enrico Forestieri
On Sat, Jul 09, 2016 at 09:02:09PM +0200, Enrico Forestieri wrote: > > Then, looking at development/cmake/ConfigureChecks.cmake, it seems to > me that QT_USES_X11 is correctly set for Qt4, because the QX11Info header > is always installed on all platforms and compilation fails if X11 is > not the

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Enrico Forestieri
On Sat, Jul 09, 2016 at 07:36:53PM +0200, Kornel Benko wrote: > Am Samstag, 9. Juli 2016 um 18:43:50, schrieb Enrico Forestieri > > > > > Please, can you also check what has to be done for Qt4? The problem > > is that I have to use a X11 function and thus the X11 library should

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2016 um 18:43:50, schrieb Enrico Forestieri > On Sat, Jul 09, 2016 at 11:45:37AM +0200, Kornel Benko wrote: > > > Am Samstag, 9. Juli 2016 um 04:09:30, schrieb Enrico Forestieri > > > > > I came up with the attached patch that solves the

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Enrico Forestieri
On Sat, Jul 09, 2016 at 11:45:37AM +0200, Kornel Benko wrote: > Am Samstag, 9. Juli 2016 um 04:09:30, schrieb Enrico Forestieri > > > I came up with the attached patch that solves the issue for me. > > It requires the Qt5X11Extras module, which is not mandatory, though. > > The

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Enrico Forestieri
On Sat, Jul 09, 2016 at 03:27:40AM -0400, Scott Kostyshak wrote: > > I tried a few random variations on your patch to squash the last > warning. One that worked for me is to add > > return true; > > after > > xcb_flush(con); > > I have no idea if that makes any sense but perhaps it

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2016 um 04:09:30, schrieb Enrico Forestieri > I came up with the attached patch that solves the issue for me. > It requires the Qt5X11Extras module, which is not mandatory, though. > The patch simply tries to refresh the timestamp of the selection request. > I

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-09 Thread Scott Kostyshak
On Sat, Jul 09, 2016 at 04:09:30AM +0200, Enrico Forestieri wrote: > > I had a closer look at this issue. First of all, it occurs with both > Qt4 and Qt5, the only difference being that Qt5 prints a warning. > Then, it does not occur with all applications. I can reproduce with > gnome-terminal

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-08 Thread Enrico Forestieri
On Mon, Jun 27, 2016 at 12:08:43AM +0200, Enrico Forestieri wrote: > On Sun, Jun 26, 2016 at 11:33:53PM +0200, Enrico Forestieri wrote: > > > On Sun, Jun 26, 2016 at 02:50:28PM -0400, Scott Kostyshak wrote: > > > > > On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote: > > > > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-08 Thread Scott Kostyshak
On Fri, Jul 08, 2016 at 11:20:24AM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 08.07.2016, 05:15 -0400 schrieb Scott Kostyshak: > > Jürgen can you reproduce now with the steps above? > > Yes. But I have no idea how to fix it. OK. Thanks for taking a look. Scott signature.asc

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-08 Thread Jürgen Spitzmüller
Am Freitag, den 08.07.2016, 05:15 -0400 schrieb Scott Kostyshak: > Jürgen can you reproduce now with the steps above? Yes. But I have no idea how to fix it. Jürgen

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-07-08 Thread Scott Kostyshak
On Sat, Jun 25, 2016 at 11:56:40PM -0400, Scott Kostyshak wrote: > On Sat, Jun 25, 2016 at 10:05:47AM +0200, Jürgen Spitzmüller wrote: > > Am Donnerstag, den 23.06.2016, 21:43 -0400 schrieb Scott Kostyshak: > > > Jürgen, any idea? > > > > No. > > OK I found a simple way to reproduce: > > 1.

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-27 Thread Kornel Benko
Am Sonntag, 26. Juni 2016 um 18:11:20, schrieb Scott Kostyshak > On Sun, Jun 26, 2016 at 11:33:53PM +0200, Enrico Forestieri wrote: > > On Sun, Jun 26, 2016 at 02:50:28PM -0400, Scott Kostyshak wrote: > > > > > On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote:

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-27 Thread Jean-Pierre Chrétien
Le 26/06/2016 04:56, Scott Kostyshak a écrit : Can anyone else reproduce? Scott Yes on Debian Jessie : LyX 2.2.1dev (not released yet) Empreinte de validation Git d9550acd Configuration Host type: x86_64-unknown-linux-gnu Special build flags: build=development

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Scott Kostyshak
On Sun, Jun 26, 2016 at 11:33:53PM +0200, Enrico Forestieri wrote: > On Sun, Jun 26, 2016 at 02:50:28PM -0400, Scott Kostyshak wrote: > > > On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote: > > > > > > Can anyone else reproduce? > > > > > > I cannot. It works for me even

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Enrico Forestieri
On Sun, Jun 26, 2016 at 11:33:53PM +0200, Enrico Forestieri wrote: > On Sun, Jun 26, 2016 at 02:50:28PM -0400, Scott Kostyshak wrote: > > > On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote: > > > > > > Can anyone else reproduce? > > > > > > I cannot. It works for me even

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Enrico Forestieri
On Sun, Jun 26, 2016 at 02:50:28PM -0400, Scott Kostyshak wrote: > On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote: > > > > Can anyone else reproduce? > > > > I cannot. It works for me even compiling lyx as an X11 application > > on cygwin (using Qt5) and middle-pasting to

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Scott Kostyshak
On Sun, Jun 26, 2016 at 02:32:03PM +0100, Guillaume Munch wrote: > Le 26/06/2016 04:56, Scott Kostyshak a écrit : > > Can anyone else reproduce? > > > > I can. Good to know, thanks for checking. Scott signature.asc Description: PGP signature

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Scott Kostyshak
On Sun, Jun 26, 2016 at 01:51:58PM +0200, Enrico Forestieri wrote: > > Can anyone else reproduce? > > I cannot. It works for me even compiling lyx as an X11 application > on cygwin (using Qt5) and middle-pasting to native windows applications > that support it, such as gvim. OK so it might be

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Guillaume Munch
Le 26/06/2016 04:56, Scott Kostyshak a écrit : Can anyone else reproduce? I can.

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-26 Thread Enrico Forestieri
On Sat, Jun 25, 2016 at 11:56:40PM -0400, Scott Kostyshak wrote: > > OK I found a simple way to reproduce: > > 1. Open gedit (I don't think the application matters, I also tested with > gnome-terminal) on the left side of the screen. > 2. Open LyX on the right-side of the screen. > 3. Select

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-25 Thread Scott Kostyshak
On Sat, Jun 25, 2016 at 10:05:47AM +0200, Jürgen Spitzmüller wrote: > Am Donnerstag, den 23.06.2016, 21:43 -0400 schrieb Scott Kostyshak: > > Jürgen, any idea? > > No. OK I found a simple way to reproduce: 1. Open gedit (I don't think the application matters, I also tested with gnome-terminal)

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-25 Thread Jürgen Spitzmüller
Am Donnerstag, den 23.06.2016, 21:43 -0400 schrieb Scott Kostyshak: > Jürgen, any idea? No. Jürgen

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-23 Thread Scott Kostyshak
On Mon, Jun 13, 2016 at 10:20:04AM +0200, Enrico Forestieri wrote: > On Mon, Jun 13, 2016 at 02:06:34AM -0400, Scott Kostyshak wrote: > > > On Tue, Jun 07, 2016 at 03:48:18PM -0400, Scott Kostyshak wrote: > > > On Tue, Jun 07, 2016 at 04:20:49PM +0200, Kornel Benko wrote: > > > > Am Sonntag, 5.

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-13 Thread Enrico Forestieri
On Mon, Jun 13, 2016 at 02:06:34AM -0400, Scott Kostyshak wrote: > On Tue, Jun 07, 2016 at 03:48:18PM -0400, Scott Kostyshak wrote: > > On Tue, Jun 07, 2016 at 04:20:49PM +0200, Kornel Benko wrote: > > > Am Sonntag, 5. Juni 2016 um 21:28:06, schrieb Scott Kostyshak > > > > > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-13 Thread Scott Kostyshak
On Tue, Jun 07, 2016 at 03:48:18PM -0400, Scott Kostyshak wrote: > On Tue, Jun 07, 2016 at 04:20:49PM +0200, Kornel Benko wrote: > > Am Sonntag, 5. Juni 2016 um 21:28:06, schrieb Scott Kostyshak > > > > > Does anyone else often get these annoying messages when running LyX from

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-07 Thread Scott Kostyshak
On Tue, Jun 07, 2016 at 04:20:49PM +0200, Kornel Benko wrote: > Am Sonntag, 5. Juni 2016 um 21:28:06, schrieb Scott Kostyshak > > > Does anyone else often get these annoying messages when running LyX from > > a terminal? > > > > QXcbClipboard: SelectionRequest too old > > > >

Re: Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-07 Thread Kornel Benko
Am Sonntag, 5. Juni 2016 um 21:28:06, schrieb Scott Kostyshak > Does anyone else often get these annoying messages when running LyX from > a terminal? > > QXcbClipboard: SelectionRequest too old > > I've been getting them for a while. I wonder if it is something > particular

Annoying terminal messages: QXcbClipboard: SelectionRequest too old

2016-06-05 Thread Scott Kostyshak
Does anyone else often get these annoying messages when running LyX from a terminal? QXcbClipboard: SelectionRequest too old I've been getting them for a while. I wonder if it is something particular to my system (e.g. because of the clipboard manager I use, CopyQ). Scott signature.asc