Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1500] iOS: UI.TableViewRow - opacity does not work

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2017-07-21T16:23:46.000+0000
Affected Version/sRelease 2.1.0, Release 1.8.1, Release 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterSindre Sorhus
AssigneeIngo Muschenetz
Created2011-04-15T02:54:27.000+0000
Updated2017-07-21T16:23:46.000+0000

Description

Problem

Opacity has no effect on TableViewRow.

Test case

var win = Ti.UI.createWindow();
var table = Ti.UI.createTableView({
  backgroundColor: 'red',
  data: [
    {
      title: 'opacity 0.5',
      opacity: 0.5,
      backgroundColor: '#fff'
    },
    {
      title: 'opacity 1.0',
      backgroundColor: '#fff'
    }
  ]
});
win.add(table);
win.open();

Discussions

Q&A: [tableviewrow opacity does not work](http://developer.appcelerator.com/question/27021/tableviewrow-opacity-does-not-work) See duplicate TC-273 for a more recent ticket.

Comments

  1. Sindre Sorhus 2012-01-02

    Any updates?
  2. Stephen Tramer 2012-01-03

    This bug requires a valid test case before we can address it.
  3. Sindre Sorhus 2012-01-04

    Test case

       var win = Ti.UI.createWindow();
       var table = Ti.UI.createTableView({
       	backgroundColor: 'red',
       	data: [
       		{
       			title: 'opacity 0.5',
       			opacity: 0.5,
       			backgroundColor: '#fff'
       		},
       		{
       			title: 'opacity 1.0',
       			backgroundColor: '#fff'
       		}
       	]
       });
       win.add(table);
       win.open();
       
    Added test case. Please reopen.
  4. Sindre Sorhus 2012-07-08

    Still an issue using Titanium SDK 2.1.0 on iOS 5.1 simulator.
  5. Junaid Younus 2012-08-15

    Issue still reproducible on TiSDK 2.2.0v20120814103312 using the iOS simulator.
  6. Thierry Godfroid 2012-11-27

    Same in 2.1.3GA. Any update on when we can expect a fix ?
  7. Armindo Da Silva 2013-09-18

    unbelievable that this bug exists since about 3 years and still unresolved...
  8. Ingo Muschenetz 2013-09-18

    [~ads] We have asked developers to move to the ListView as it is a more performant version of TableView, and we are only doing critical fixes to TableView. Is there a reason you cannot make that switch?
  9. Armindo Da Silva 2013-09-18

    too much code involved and ListView is pretty new so maybe not stable enough for this.
  10. Dan Wilson 2014-12-10

    At the very least, update the documentation. I just spent 2 hours trying to figure out why this isn't working. If the functionality isn't there and there is no plan to fix/implement it, remove it or add a note.
  11. Lee Morris 2017-07-21

    This seems to have been fixed in TIDOC-2061. Any problems, please re-open.

JSON Source