Selecting a heat should focus on last row.

Bug #421757 reported by Tudor Holton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenScore
Fix Committed
Low
Craig Mahony

Bug Description

Selecting a heat should place the caret in the editor of the station # field in the last (empty) row, ready to enter new results.

Ken McLean (kenmclean)
Changed in openscore:
milestone: none → heatwave
Ken McLean (kenmclean)
Changed in openscore:
importance: Undecided → Low
assignee: nobody → Craig Mahony (cmahony)
Revision history for this message
Craig Mahony (cmahony) wrote : Re: [Bug 421757] [NEW] Selecting a heat should focus on last row.

Had a go at it but was unsuccessful. Will focus on more important stuff and
come back to it.

Craig
----- Original Message -----
From: "Launchpad Bug Tracker" <email address hidden>
To: <email address hidden>
Sent: Monday, September 07, 2009 5:49 PM
Subject: [Bug 421757] [NEW] Selecting a heat should focus on last row.

You have been subscribed to a public bug:

Selecting a heat should place the caret in the editor of the station #
field in the last (empty) row, ready to enter new results.

** Affects: openscore
     Importance: Low
     Assignee: Craig Mahony (cmahony)
         Status: New

--
Selecting a heat should focus on last row.
https://bugs.launchpad.net/bugs/421757
You received this bug notification because you are a bug assignee.

Revision history for this message
Craig Mahony (cmahony) wrote :

Done.

Changed in openscore:
status: New → Fix Committed
Revision history for this message
Ken McLean (kenmclean) wrote :

This works when there are heats.

When there is a new event and you haven't clicked the 1 button in the past (ie. no Results table comes up, just grey screen), it throws the following error:

org.eclipse.swt.SWTException: Widget is disposed
        at org.eclipse.swt.SWT.error(SWT.java:3777)
        at org.eclipse.swt.SWT.error(SWT.java:3695)
        at org.eclipse.swt.SWT.error(SWT.java:3666)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)
        at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:917)
        at avscoreswt.gui.EventResultPanel.eventSelected(EventResultPanel.java:147)
        at avscoreswt.gui.EventSelectFrame$4.widgetSelected(EventSelectFrame.java:112)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at avscoreswt.gui.BaseFrame.run(BaseFrame.java:185)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:1130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at avscoreswt.OpenScore.main(OpenScore.java:61)

Changed in openscore:
status: Fix Committed → In Progress
Revision history for this message
Ken McLean (kenmclean) wrote :

Also doesn't work for Relays

Revision history for this message
Craig Mahony (cmahony) wrote :

Should be ok now.

Changed in openscore:
status: In Progress → Fix Committed
Ken McLean (kenmclean)
Changed in openscore:
status: Fix Committed → In Progress
Revision history for this message
Ken McLean (kenmclean) wrote :

Sorry Craig, I didn't see that you had made a change. Switching back to Fix Committed to be tested after tonight's buildd.

Changed in openscore:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.