Bug 288473

Summary: "Open Recent" list overlaps with other options of the File menu
Product: [Applications] okular Reporter: Alvaro Aguilera <alvaro.aguilera>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 0.13.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Attachments: Screen capture of the reported problem.

Description Alvaro Aguilera 2011-12-08 12:30:36 UTC
Version:           0.13.2 (using KDE 4.7.3) 
OS:                Linux

PDFs with long file names make the list of the recently opened documents overlap with the rest of the options in the File menu rendering them unusable. It would be nice to truncate those long names so that this doesn't happen.

Reproducible: Didn't try

Steps to Reproduce:
-Open files with long names
-Try to select the "Save As" option


Expected Results:  
-The list of recently opened documents doesn't overlap with the rest of the menu options.

OS: Linux (x86_64) release 3.0.6-2-desktop
Compiler: gcc
Comment 1 Albert Astals Cid 2011-12-08 12:39:41 UTC
Can you attach a screenshot?
Comment 2 Alvaro Aguilera 2011-12-08 13:16:51 UTC
Created attachment 66500 [details]
Screen capture of the reported problem.

Okular's window is maximized on the primary screen. Note that the list of recently opened documents even goes into the second screen on the right.
Comment 3 Albert Astals Cid 2011-12-09 17:54:00 UTC
Git commit e5348a49922ab8c3cdc52620964cdf5b8d786ddf by Albert Astals Cid.
Committed on 09/12/2011 at 18:52.
Pushed by aacid into branch 'KDE/4.7'.

Make the action names of KRecentFilesAction not be extremely long

Cut the names of KRecentFilesAction to occupy as maximum 3/4 of screen space
REVIEW: 103360
BUGS: 288473
FIXED-IN: 4.8.0

M  +35   -2    kdeui/actions/krecentfilesaction.cpp

http://commits.kde.org/kdelibs/e5348a49922ab8c3cdc52620964cdf5b8d786ddf