#8 ✓resolved
Morgan Schweers

Sometimes the Custom Columns submenu doesn't show up

Reported by Morgan Schweers | March 11th, 2008 @ 03:30 AM | in 2.0 Full Release

Greetings,

I'm not exactly sure of the circumstances, but it happened in a new install, first time running 2.0alpha1 for me, and for at least one other user, who wrote:

The only thing so far i can find, its not letting me edit the custom columns.

They are grayed out.

-- Morgan Schweers, Cyber*FOX*!

Comments and changes to this ticket

  • Laurence Passmore

    Laurence Passmore April 15th, 2008 @ 03:32 PM

    Initial launch of JBW2 (which converted a JBW1 configuration) resulted in:

    • "current" tab's "custom columns" contextual menu was greyed-out
    • "Tab" menu "custom columns" was not greyed-out but had no submenus either

    (Conjecture: did internal column name strings change such that JBW2 got confused about what columns exist should be shown?)

  • Laurence Passmore

    Laurence Passmore April 15th, 2008 @ 03:39 PM

    Behaviour persists on relaunch too :(

    Mac OS X 10.4.11; java version "1.5.0_13"

  • Morgan Schweers

    Morgan Schweers April 15th, 2008 @ 04:15 PM

    • State changed from “new” to “open”

    Greetings,

    I'm thinking it's getting confused about where the custom columns popup is supposed to be attached. The popup is available from the 'Tab' menu, and the above-the-scrollbar button, as well as the click-on-tab-name context menu, but the only one it 'vanishes' from is the context menu.

    It's a frustratingly weird bug, but I decided it wasn't a beta blocker. (It's not even an ACE inhibitor, since it raises my blood pressure... ;) )

    -- Morgan Schweers, CyberFOX!

  • Morgan Schweers

    Morgan Schweers April 15th, 2008 @ 04:17 PM

    Greetings,

    Hrm...you may be referring to a different problem. That's definitely strange. I'll poke into that a bit, later.

    It shouldn't have lost that info.

    -- Morgan Schweers, CyberFOX!

  • Laurence Passmore

    Laurence Passmore April 19th, 2008 @ 03:31 AM

    This is getting triggered in JTabPopupMenu.java:

    public void preparePopup(int curIndex) {

    if (curIndex == -1) {

    customize.setEnabled(false);

    _deleteSubmenu.setEnabled(false);

    _print.setEnabled(false);

    ErrorManagement.logDebug("Whoops! Click-point not found!");

    } ...

    called from JBidMenuBar.java:

    public void popupMenuWillBecomeVisible(PopupMenuEvent e) {

    pop.preparePopup(AuctionsUIModel.getTabManager().getTabs().getSelectedIndex());

    }

    Following it up the chain I ended up at javax.swing.JTabbedPane at which point I'm not sure how to proceed since that's a precompiled library, right? Anyway, for some reason JTabbedPane.getSelectedIndex() is returning -1 rather than something sensible.

  • Laurence Passmore

    Laurence Passmore April 19th, 2008 @ 03:50 AM

    NB: I blew away my entire ~/.jbidwatcher directory and the behaviour persists so it's not related to running with a configuration converted from a previous installation.

  • Laurence Passmore

    Laurence Passmore April 19th, 2008 @ 06:25 AM

    Ignore my previous comment as files are now stored in ~/Library/Preferences/JBidwatcher on Mac OS X.

    I'm not sure if this is intentional or not but, in the absence of the tab contextual menus, you can still choose which columns are displayed by using the small "grey circle resting atop three black dots" menu located to the far right of the column headings.

  • Morgan Schweers

    Morgan Schweers April 27th, 2008 @ 01:49 AM

    Greetings,

    Yeah, the button that sits atop the scrollbar (which is now always in place, on all platforms, like it used to be on the Mac) is the common place for the 'customize columns' button.

    Interestingly, if you click that, then the custom columns submenu on tabs goes away.

    The one in the menu bar remains, though. I'm still trying to debug that... :(

    -- Morgan Schweers, CyberFOX!

  • Morgan Schweers

    Morgan Schweers April 27th, 2008 @ 05:16 AM

    (from [464]) Fix the Custom Columns submenu going away when the JTable corner-button UI for adding/removing columns is used.

    [#8 tagged:committed]

  • Morgan Schweers

    Morgan Schweers April 27th, 2008 @ 05:18 AM

    • State changed from “open” to “resolved”

    Greetings,

    The issue I was seeing is definitely resolved with [464]. It may also resolve the other issue you're seeing.

    -- Morgan Schweers, CyberFOX!

  • Laurence Passmore

    Laurence Passmore April 27th, 2008 @ 02:01 PM

    Sorry to say so but I'm still getting the bad behaviour. A completely fresh install (well, renaming ~/.jbidwatcher and ~/Library/Preferences/JBidwatcher to something else) still does not have any entries in the "Custom Columns" main menu, nor in the tab's contextual menu. :(

  • Laurence Passmore
  • Morgan Schweers

    Morgan Schweers April 27th, 2008 @ 02:23 PM

    • Milestone changed from 2.0 Beta Release to 2.0 Full Release
    • State changed from “resolved” to “open”

    Greetings,

    That's really weird, I'm not getting that behavior at all, either in a fresh install or upgrading. The bug that I fixed was a different one than what you're seeing, it had to do with clicking on the above-scrollbar customizing button, which then lost the context menu custom columns entry. (The 'Tab' menu still worked though.)

    What Java version are you running, and what's the platform?

    -- Morgan Schweers, CyberFOX!

  • Morgan Schweers

    Morgan Schweers July 7th, 2008 @ 12:54 AM

    • State changed from “open” to “resolved”
    • Tag set to bug, committed, display, tabs

    Greetings,

    I have fixed several issues in this space, and have not seen that behavior in some time. I'm marking this as resolved, but am completely willing to re-open it if anyone can reproduce it again with the upcoming beta.

    -- Morgan Schweers, CyberFOX!

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Attachments

Pages