You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2016/09/21 22:58:20 UTC

[jira] [Comment Edited] (PDFBOX-3507) Modern OS X doesn't show JMenuBar in PDFDebugger app

    [ https://issues.apache.org/jira/browse/PDFBOX-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511454#comment-15511454 ] 

John Hewson edited comment on PDFBOX-3507 at 9/21/16 10:58 PM:
---------------------------------------------------------------

Can you attach a screenshot of the problem? I've been using PDFDebugger on OS X without any issues. As far as I'm aware Apple's official Java (1.6) still supports this option.


was (Author: jahewson):
Can you attach a screenshot of the problem? I've been using PDFDebugger on OS X without any issues...

> Modern OS X doesn't show JMenuBar in PDFDebugger app
> ----------------------------------------------------
>
>                 Key: PDFBOX-3507
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3507
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Swing GUI
>    Affects Versions: 2.1.0
>         Environment: Mac OS X El Capitan (10.11.6), System-installed Java @ build 1.8.0_101-b13
>            Reporter: Chris Brown
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> OS X apparently doesn't support `System.setProperty("apple.laf.useScreenMenuBar", "true");` these days, so that line should be removed from the main method on PDFDebugger. The debugger app is a lot more useful with the menu than without. Forcing it to a single value in main disallows overriding it via `-Dapple.laf.useScreenMenuBar=false`, which means the menubar is invisible and unrecoverable in Mac OS X.
> I built from source at HEAD on trunk, and run with the following command:
>     java -jar ./app/target/pdfbox-app-2.1.0-SNAPSHOT.jar PDFDebugger my-doc.pdf
> After removing the aforementioned line and rebuilding, I have access to the menubar (which is handy!).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org