Bug 442962 - when the path + filename >260 Okular cannot read
Summary: when the path + filename >260 Okular cannot read
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 21.08.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-26 00:45 UTC by Stevenlee
Modified: 2022-02-20 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stevenlee 2021-09-26 00:45:56 UTC
SUMMARY
When I try to pass in through command line with a pathname + filename greater than 260, okular cannot read. It pop out an Error- Okular with a
message "Could not open file ....."

STEPS TO REPRODUCE
1. Create a directory then is 20char long.
2. Create a pdf filename of 230char long
3. run from cmd line. cd C:\Program Files\Okular\bin
4. okular.exe "c:\n1234567890123456789\0023 12121212 121212 ...pdf"


OBSERVED RESULT
Okular pop out an Error- Okular with a
message "Could not open file ....."

EXPECTED RESULT
Should open with error

SOFTWARE/OS VERSIONS 21.08.1
Windows: Window s 10 Home
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2 

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-01-21 14:35:46 UTC
Works fine for me https://i.imgur.com/YEDbTij.png 

Or is the problem only when calling from the command line?
Comment 2 Bug Janitor Service 2022-02-05 04:37:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-02-20 04:36:58 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!