Use tab to jump to next fourm field.

Bug #1246772 reported by Kevin Cox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
Wishlist
Adam Reichold

Bug Description

When editing fourms qpdfview ignores the tab key. It would be nice if the tab key saved the current field and jumped to the next.

I don't know how well defined "next" is with pdf documents but as long as I could loop through all of the fields it would be useful.

Changed in qpdfview:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Adam Reichold (adamreichold) wrote :

After trying several approaches, I decided that this will have to wait for a more fundamental overhaul of handling annotations and form fields since the current pop-up-based approach makes it very hard to pass around the necessary information. This will be much clearer when/if the interactive page elements are wrapped up in QGraphicsObject or QGraphicsWidget and become part of the scene where proper focus chain handling will be possible...

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

Hello again,

went at it again with a fresh head and trunk revision 1358 should have this functionality. It is still ugly as hell with signal-slot-chains, manual event rerouting and a surprising amount of encapsulation breakage and code for such a little feature. But I guess there is no one to blame for the shoddy architecture but myself... Please test and report back here.

Best regards, Adam.

Changed in qpdfview:
status: Triaged → Fix Committed
assignee: nobody → Adam Reichold (adamreichold)
milestone: none → 0.4.7
Revision history for this message
Adam Reichold (adamreichold) wrote :

If you find time testing this and feel comfortable building from source, there is a branch on Launchpad [1] that tries to solve these problems by handling form fields as overlay widgets which should for example make the usual tab focus chain available. This needs quite some changes and hence testing and feedback...

[1] https://code.launchpad.net/~adamreichold/qpdfview/formfield-overlay

Revision history for this message
Kevin Cox (kevincox) wrote :

I just tried out trunk 1359 and it works great. Much more convenient way to edit a form. I will download the other branch as soon as I get a chance.

Revision history for this message
Kevin Cox (kevincox) wrote :

I tried out the formfield-overlay branch and the tabbing worked well. However I did find a different issue #1247389

Revision history for this message
Kevin Cox (kevincox) wrote :
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.