Bug 503547

Summary: Allow document border color customization
Product: [Applications] okular Reporter: Sahil Gautam <printfdebugging>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: aacid, john.kizer
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=449413
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sahil Gautam 2025-04-29 20:17:43 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
hi, i find too many colors/elements in a gui/ui really distracting (or rather i find simple mono colored interfaces really calming, and am able to focus better). thanks to okular being highly customizable, i was able to hide almost all the elements from the ui, changed the page color to the solarized colors (grey text on green background)...

just that i cannot change the page border colors.

STEPS TO REPRODUCE
1.  open any pdf document
2.  try to change the boder color from black to something else

OBSERVED RESULT
it's hardcoded, or atleast that's what (https://superuser.com/questions/1003356/change-border-color-of-okular-annotations) this forum post said (didn't look into the source code myself).

EXPECTED RESULT
border color should be customizable, if not that then there should be some continuous document mode.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Void Linux 6.12 (tiling window manager dwm)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: qt6

ADDITIONAL INFORMATION
Comment 1 Sahil Gautam 2025-04-29 20:23:16 UTC
i am volunteering to do the work (me => libreoffice developer [1]) but would like to have some opinions before that. it would be a  waste if i put in a few hours and it doesn't make it to the upstream. is this a niche usecase?

[1]: https://gerrit.libreoffice.org/q/owner:sahil.gautam.extern@allotropia.de
Comment 2 Albert Astals Cid 2025-05-01 09:03:53 UTC
I was going to say it felt a bit silly to let people change the border color but then i realized we let them change the background color so i guess it won't be terrible to add that option if the code doesn't get super messy