Highlight duration feature

Bug #1946022 reported by Roque Facundes futuro nomeado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
Low
Adam Reichold

Bug Description

In > Behavior > Highlight duration. When I change to the maximum or any other intermediate value, such as 60000 ms or 59500 ms. Anyway, any other value, the display of the highlight remains unchanged and displays the highlight quickly, in the 5000 MS standard, no matter any change I do.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello Roque,

thank you for taking the time to report this! I just tried this using the current trunk but could not reproduce the issue, i.e. I built some TeX file using

pdflatex -synctex=1 foo.tex

and opened it using

qpdfview foo.pdf#src:foo.text:42:23

using a highlight duration of 5s and 30s and it seemed to work as intended.

Could you specify the version of qpdfview that you are using? Could you maybe also describe in more detail how you trigger the highlight? Thank you.

Regards,
Adam

Changed in qpdfview:
status: New → Incomplete
Revision history for this message
Roque Facundes futuro nomeado (felipe-facundes) wrote :

The version I use is the last stable: 0.4.18

And as I highlight the text is directly by the GUI, as I reported directly from the menu: In > Behavior > Highlight Duration.
And I changed the 5000 ms standard (5 s), for the maximum supported from 60000 ms (1m). However, it is as if it had not changed. Remains unchanged, in the standard of 5000 ms (5s).

Revision history for this message
Roque Facundes futuro nomeado (felipe-facundes) wrote :

Correcting, GUI, Access in the menu: Edit> Settings> Behavior> Highlight Duration.

I just tried to modify for smaller values such as 30000 ms (30 s) and remains unchanged the behavior of the display duration of the highlight continues as 5000 ms (5 s).

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

I think we misunderstood each other: I was asking how you triggered the highlight itself, not how you changed the setting.

Regards,
Adam

P.S.: One thing you could check as this has bitten a surprising amount of users so far is whether the configuration file at ~/.config/qpdfview/qpdfview.conf is owned by your current users account and writeable. If not, the value of the setting will silently revert to the previous value when the application tries to synchronize the settings to disk. (You can also check that your changes reach this file by looking for the "hightlightDuration" key therein.)

Revision history for this message
Roque Facundes futuro nomeado (felipe-facundes) wrote :

So I just checked if the changes made to the GUI synchronized with the configuration file: ~/.config/qpdfview/qpdfview.conf. According to your guidelines. And yes, synchronize, if I switch to 30000 ms (30 s) in the GUI, in the configuration file is also changed successfully, in the "hightlightDuration" key. Now the issue is the behavior, which remains unchanged, that is, I can put the personalized value that is, however, the duration will always be 5000 ms (5 s). I barely pass the mouse on top of my highlight and disappear. So I want to change to a larger value like 30000 ms or 60000 ms. Unfortunately, no matter what value I define and is always maintained the same behavior.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

I think we getting close to the issue at hand:

> I barely pass the mouse on top of my highlight and disappear.

suggests that you want a tool tip like that previewing an annotation text or a link destination to stay visible for a longer duration? This is a Qt-provided default though that is not controlled by the highlight duration setting. That setting is meant for temporary highlights shown if a file is opened with SyncTeX information from a text editor.

I am considering to use the setting to also control display duration of the page item tool tips, but I am wary of override the Qt-supplied defaults unconditionally and it would be a bit of abuse of notation so to speak.

Regards,
Adam

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

I bit the bullet and used the highlight duration to determine the display duration of the page item tool tips (link targets, annotation texts, etc.) in trunk revision 2136. Maybe you could give that a try, for example using the dailydebs [1] if you are a Debian/Ubuntu user? (Note that you have to stay on top of the link/annotation with the mouse, otherwise the tool tip will be hidden immediately.)

Regards,
Adam

Changed in qpdfview:
status: Incomplete → Fix Committed
importance: Undecided → Low
assignee: nobody → Adam Reichold (adamreichold)
milestone: none → 0.5.0
Changed in qpdfview:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.