ICEpdf
  1. ICEpdf
  2. PDF-51

PrintHelper services array can be incorrectly arranged

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: API
    • Labels:
      None
    • Environment:
      -

      Description

      In the RI class PrintHelper constructor, can you rearrange the services array so that the default service is in the zeroeth position? In the method PrintHelper.getSetupDialog(), you call ServiceUI.printDialog(), but since the service array is in "random" order, the "default" printer is also random.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19365 Wed Oct 07 17:09:56 MDT 2009 patrick.corless PDF-51 - addition of code to make default printer the first printer in the array of available printers. Convenience functionality for users using the print dialogue.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/PrintHelper.java
        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case [5007000000A6siA]
        Hide
        Patrick Corless added a comment -

        PrintServiceLookup has two lookup calls one for all services and one for the default service. I couldn't find any documentation about the services array from PrintServiceLookup.lookupPrintServices being random but I can take their word for it. Adding code that will swap the default service with which ever service at index 0.

        Show
        Patrick Corless added a comment - PrintServiceLookup has two lookup calls one for all services and one for the default service. I couldn't find any documentation about the services array from PrintServiceLookup.lookupPrintServices being random but I can take their word for it. Adding code that will swap the default service with which ever service at index 0.
        Patrick Corless made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Patrick Corless added a comment -

        Checked in RI code, marking as fixed.

        Show
        Patrick Corless added a comment - Checked in RI code, marking as fixed.
        Patrick Corless made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 3.1 [ 10181 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        ICEpdf 3.1.0 has been released, closing issues.

        Show
        Patrick Corless added a comment - ICEpdf 3.1.0 has been released, closing issues.
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: