Bug 261861 [Markers] QuickFix dialog doesn't show Location properly
Build ID: M20080911-1700 In the Problems view I have an error which 'Location' is the name of a file instead of a line number. If I open the QuickFix window it displays 'Unknown' in the 'Location' column instead of the file name, as it is showed in the problems view. I think the error is in org.eclipse.ui.internal.views.markers.QuickFixPage class. There, in createMarkerTable(Composite control) method, when creating a new ITableLabelProvider, you are getting the column text using IMarker.LINE_NUMBER instead of IMarker.LOCATION, which I guess would be the correct attribute.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/QuickFixPage.java
public String getColumnText(Object element, int columnIndex) {
				if (columnIndex == 0)
					return Util.getResourceName((IMarker) element);
				int line = ((IMarker) element).getAttribute(
						IMarker.LINE_NUMBER, -1);
				if (line < 0) {
					return MarkerMessages.Unknown;
				}
				return NLS.bind(MarkerMessages.label_lineNumber, Integer
						.toString(line));
			}
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
			 */
			public void addListener(ILabelProviderListener listener) {
				
			}
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
			 */
			public void dispose() {
				
			}
			/*
			 * (non-Javadoc)
			 *