Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] TableColumn issues


Milos,

Some of these bugs have not been fixed because the platforms simply don't do it (or better, we couldn't figure out how to convince them).  For example, on the Mac, you can't see mouse down in a table column header.  It just won't tell you. The column ordering bug reports contained patches for most of the platforms that showed the functionality was available on all platforms, even if the exact code from the patches was not complete and was not used in the implementation.  So, dig in!  Another way to help is to show us a native control in some other application that does what you want.  That helps us see that it is possible and shames us into working on it.

If you stop to think about it, we support 5 different operating systems using totally different code bases and somehow knit together and implement a portable API to all of them and we do this for free.  It's a full time job, 24-7.  Any help you can give us is most welcome.

Steve



"Milos LENOCH" <milos.lenoch@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

02/22/2005 03:34 PM

Please respond to
platform-swt-dev

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] TableColumn issues





Hi,
 
We are using SWT Table in our application for large data view / entry. While the table itself seems pretty ok so far (using via TableViewer including the new M5 ILazyContentProvider), the column headers (TableColumn) seems to be really weak. I searched bugzilla and found couple of quite dated items:
 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=4572  tooltips in table columns (since 2001-10-11)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=23103 TableColumn doesnt support popup menus (since 2002-09-03)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=32322 TableColumn not firing mouse click events (since 2003-02-20)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=17871 TableColumn does not send MouseHover and MouseMove events (since 2002-05-26)
 
The question #1 is what is planned for 3.1? (the last two items are quite essential – the rest we could in worst case do ourselves)
 
What I somehow do not understand why a basic event management (2 last items) is not implemented, while column drag and drop has been done in M5 (which is more a sugar coating) and column reordering could be done even before (we anyway use dedicated dialog to reorder / hide columns to make it user friendly for 30+ columns). Is there an issue in implementing it on all platforms? ( and we should then rather forget about these features altogether )
 
If the answer is not sure in 3.1 (wontfix), would you have suggestion what kind of workaround we could do on TableColumn in order still use at least the Table itself?
What we need:
A. Tooltip for long column names (critical unless we B is possible)
B. Set height of the TableColumn so that we can render multi-line text (header only) – we can somehow live without if at least the tooltip (mouse event) is there. Would this be ever possible or not supported by native widgets at all?
C. Popup menu
 
Is there a workaround for getting mouse events on TableColumn?
 - We briefly checked that a transparent canvas over the header (getting the events) seems not supported.
 
Or in the worst case would there be a somehow “reasonable” way to write custom “TableColumn” (compsite of canvases + sashes) ourselves that would drive the table widths via hidden current TableColumn? (and have total control)
 
Thanks for your time.
 
Milos Lenoch
 


This message, including any attachments, is intended only for the person(s) to whom it is addressed. If you received it in error, please let us know and delete the message from your system. This message may be confidential and may fall under the duty of non-disclosure. Any use by others than the intended addressee is prohibited. Trema shall not be liable for any damage related to the electronic transmission of this message, such as failure or delay of its delivery, interception or manipulation by third parties, or transmission of viruses or other malicious code.


Back to the top