Menu

#2 Replace scroll bar inconsistent

pending-wont-fix
Josh V
None
5
2010-11-02
2010-10-21
jedihoho
No

When you change Look&Feel (LAF) then check the replace box, the scroll bar of test text and replace text are not the same.

Discussion

  • Josh V

    Josh V - 2010-10-21

    Thanks for the report. How are you changing the LAF? Which LAFs are you changing from/to?

     
  • jedihoho

    jedihoho - 2010-10-22

    If you enter regular expression, replace expression, and test text until scroll bar is shown, then unselected replace check box, change the Look & Feel to Metal or CDE/Motif (on linux), and selected replace check box again. You will get different scroll bar in test text and replace result.

     
  • Josh V

    Josh V - 2010-10-22

    What procedure are you using to change the LAF?

     
  • jedihoho

    jedihoho - 2010-11-01

    I used function "setCurrentLAFClass(window, className);" in class "PLAFUtil"
    I called this function when I want to change the LAF

    I try to fix it by putting this:

    PLAFUtil.setCurrentLAFClass(RXR.window, PLAFUtil.getCurrentLAFClassName());

    on line 328 in MainPanel.java so

    it's when replace check box is selected in MainPanel.java. And it seems to work.

    sorry for late reply.

     
  • Josh V

    Josh V - 2010-11-02

    There are some components with custom UIs, so I've decided not to support runtime switching of the LAF. I did reproduce your bug - it's quite odd, but not something I'm going to spend time fixing.

     
  • Josh V

    Josh V - 2010-11-02
    • assigned_to: nobody --> zyxwyvu
    • status: open --> pending-wont-fix
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.