Created attachment 129683 [details] Form issue SUMMARY If the window is too wide when filling a PDF text form Okular will not display typed text. When hiding form fields typed text is visible. STEPS TO REPRODUCE 1. Open https://wcjc.edu/Admissions/admissions-and-registration/AddressChangeADAv1.pdf 2. Maximize window 3. Attempt to fill form OBSERVED RESULT See attached video EXPECTED RESULT I should be able to see filled form text at all window sizes. SOFTWARE/OS VERSIONS Operating System: Fedora 32 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 Kernel Version: 5.6.19-300.fc32.x86_64 OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz Memory: 15.6 GiB of RAM ADDITIONAL INFORMATION Resolution: 3840x2160 Scale: 150%
Interesting, can't reproduce it. Do you know which Qt style are you using?
(In reply to Albert Astals Cid from comment #1) > Interesting, can't reproduce it. > > Do you know which Qt style are you using? No, where can I find that? I think I'm just using breeze.
The widget style looks very much like Breeze, but the color scheme is very likely not Breeze. It looks similar, but note the white text on blue background on the pressed button. If you can determine your color scheme, we could examine where it uses white for text foreground. On Plasma desktop you would just go to System Settings -> Colors.
Created attachment 129700 [details] Form issue 2 It was under application style, I was using Arc via Kvantum. I am still seeing differences when the window gets wider. I can see the text just fine, but when I expand the window the text gets smaller.
Ah, ok, now I realize it. So the bug is: Text in form fields becomes smaller when the window is made wider, and eventually disappears. But when form fields are disabled, everthing is fine. Correct?
Pretty much, though it doesn't disappear when using Breeze. I'm pretty sure I've never seen an application change text size depending on window width.
> I've never seen an application change text size depending on window width. I feel a bit silly for writing this. I think the intended behaviour here should be that the text size should be the same as the rendered form text.
I think what you write makes sense. But I still believe this is an issue with the widget style you are using. Is “Arc” the widget style? Another interpretation is that Okular shoudn’t rely on the system widget style to render form fields. For the same reason as why I think text highlight background shouldn’t follow the system color scheme: Form fields are inside a WYSIWYG graphics area, which shouldn’t and mostly doesn’t follow system stuff, but should do what the document says.
(In reply to David Hurka from comment #8) > I think what you write makes sense. It makes sense that the text size should change along with the rest of the document. I do not think it makes sense that the form text size becomes smaller when the rest of the document becomes bigger. > But I still believe this is an issue with the widget style you are using. Is > “Arc” the widget style? My widget style is Breeze, Arc is only set for window decorations. I still see this with a version I built using kdesrc-build & kdesrc-run. > Another interpretation is that Okular shoudn’t rely on the system widget > style to render form fields. For the same reason as why I think text > highlight background shouldn’t follow the system color scheme: Form fields > are inside a WYSIWYG graphics area, which shouldn’t and mostly doesn’t > follow system stuff, but should do what the document says. +1
I'm just realizing that this is due to the zoom level changing when the window is made wider.