Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Guillaume Munch

Le 14/01/2017 à 16:26, Kornel Benko a écrit :


I don't see it. Here it displays as a 6-liner in Slovak translation.
QT5.7
OS Mint17.3
desktop MATE

Kornel



Thanks Kornel and Jürgen for the replies. I will stop my investigation
but do not hesitate to report issues like this in the future.

Guillaume



Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Kornel Benko
Am Samstag, 14. Januar 2017 um 15:44:33, schrieb Guillaume Munch 
> Le 14/01/2017 à 10:07, Jürgen Spitzmüller a écrit :
> > Am Freitag, den 13.01.2017, 22:02 +0100 schrieb Guillaume Munch:
> >> Weird, it displays fine here at 119dfcb1. Are there precise steps
> >> that I
> >> must follow to reproduce the bug?
> >
> > * Open the BibTeX inset dialog
> > * Hit "Add"
> > * On the sub-dialog, hover over the list widget
> >
> > I get a long one-liner tooltip.
> >
> 
> 
> Here it formats as expected. In case this hides a serious
> shortcoming, can anyone else please try to reproduce this issue?
> (between ffb195b5 and 6b214804 excluded)
> 
> Have you noticed this issue at other places?
> 
> What is the Qt version, locale, OS, and desktop environment?
> 
> Thanks
> Guillaume

I don't see it. Here it displays as a 6-liner in Slovak translation.
QT5.7
OS Mint17.3
desktop MATE

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Jürgen Spitzmüller
Am Samstag, den 14.01.2017, 15:44 +0100 schrieb Guillaume Munch:
> Have you noticed this issue at other places?

No.

> 
> What is the Qt version, locale, OS, and desktop environment?

Qt 5.7.1, both en_EN and de_DE, Linux (openSuse Tumbleweed), GNOME
3.22.

However, I cannot reproduce myself any longer. Strange.

Jürgen

> 
> Thanks
> Guillaume
> 

signature.asc
Description: This is a digitally signed message part


Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Guillaume Munch

Le 14/01/2017 à 10:07, Jürgen Spitzmüller a écrit :

Am Freitag, den 13.01.2017, 22:02 +0100 schrieb Guillaume Munch:

Weird, it displays fine here at 119dfcb1. Are there precise steps
that I
must follow to reproduce the bug?


* Open the BibTeX inset dialog
* Hit "Add"
* On the sub-dialog, hover over the list widget

I get a long one-liner tooltip.




Here it formats as expected. In case this hides a serious
shortcoming, can anyone else please try to reproduce this issue?
(between ffb195b5 and 6b214804 excluded)

Have you noticed this issue at other places?

What is the Qt version, locale, OS, and desktop environment?

Thanks
Guillaume



Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Jürgen Spitzmüller
Am Freitag, den 13.01.2017, 22:02 +0100 schrieb Guillaume Munch:
> Weird, it displays fine here at 119dfcb1. Are there precise steps
> that I
> must follow to reproduce the bug?

* Open the BibTeX inset dialog
* Hit "Add"
* On the sub-dialog, hover over the list widget

I get a long one-liner tooltip.

Jürgen


> 
> Guillaume
> 

signature.asc
Description: This is a digitally signed message part


Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-13 Thread Guillaume Munch

Le 13/01/2017 à 11:32, Jürgen Spitzmüller a écrit :

Am Freitag, den 13.01.2017, 11:11 +0100 schrieb Guillaume Munch:

(Independently,
I will try to see why this was not called automatically in master.)


OK. Maybe because this is a sub-dialog?



Weird, it displays fine here at 119dfcb1. Are there precise steps that I
must follow to reproduce the bug?

Guillaume



Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-13 Thread Jürgen Spitzmüller
Am Freitag, den 13.01.2017, 11:11 +0100 schrieb Guillaume Munch:
> Hi Jürgen, I do not remember backporting formatToolTip to stable.
> Either
> one can backport it, or this should be only for master. 

Oops, sorry. I will use support::wrap for this specific case now.

> (Independently,
> I will try to see why this was not called automatically in master.)

OK. Maybe because this is a sub-dialog?

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-13 Thread Guillaume Munch

Le 13/01/2017 à 09:09, Juergen Spitzmueller a écrit :

commit ca9c8dbde1d8a3d4ceeba990bbfcab17bfecb940
Author: Juergen Spitzmueller 
Date:   Fri Jan 13 09:07:44 2017 +0100

Assure long tooltip is correctly formatted.

Amendment to ffb195b5e9fa

...

+   add_->bibLW->setToolTip(formatToolTip(qt_("This list consists of all 
databases that are indexed by LaTeX and thus are found without a file path. "

...

Hi Jürgen, I do not remember backporting formatToolTip to stable. Either
one can backport it, or this should be only for master. (Independently,
I will try to see why this was not called automatically in master.)