My favorites | Sign in
Project Home Downloads Wiki Issues
New issue   Search
for
  Advanced search   Search tips
Issue 33416: Theme format on disk depends on IDR resource numbers.
22 people starred this issue and may be notified of changes. Back to list
 
Reported by project member jasn...@chromium.org, Jan 28, 2010
Chrome 5.0.307.1 (Official Build 37331) dev

What steps will reproduce the problem?
1. Install Chrome 4.0.302.3(Official Build 36935) dev [latest dev channel 
release build]
2. Install any theme 
3. Overinstall Chrome 5.0.307.1 (Official Build 37331) dev 
4. Open New tab page

What is the expected output? 
no layout issue

What do you see instead?
New tab page layout and repaint issues. 
Screenshot_ntp : If you have any theme installed and launch ntp
Screenshot_ntp2 : If you have any theme installed and then install classic 
theme.

Above issue "not" reproducible if it is a fresh install or if no theme is 
installed or if under options >personal stuff - use classic theme button is 
clicked.

Please use labels and text to provide additional information.
Screenshots:

Screenshot_ntp.png
279 KB   View   Download
Screenshot_ntp2.png
286 KB   View   Download
Comment 1 by jasn...@chromium.org, Jan 28, 2010
(No comment was entered for this change.)
Labels: Regression
Comment 2 by erg@chromium.org, Jan 28, 2010
When I wrote the new theme code, I assumed that the IDR numbers were static and that 
there was a non-changing one-to-one mapping that would stay that way forever. This 
appears to have been a false assumption.

While this looks like a Linux bug, this is probably a cross-platform one.

I have no idea what the quick issue there is to fix the dev release, and I haven no 
idea how long the real long-term fix for this will take. 
Summary: Theme format on disk depends on IDR resource numbers.
Status: Available
Owner: e...@chromium.org
Comment 3 by erg@chromium.org, Jan 28, 2010
r37458 fixes this individual case so we can do a dev channel.

Making a general fix so this never happens again will take more work.
Status: Assigned
Comment 4 by anan...@chromium.org, Jan 28, 2010
(No comment was entered for this change.)
Labels: -ReleaseBlock-Dev ReleaseBlock-Beta
Comment 5 by erg@chromium.org, Jan 29, 2010
 Issue 33633  has been merged into this issue.
Cc: i...@chromium.org
Comment 6 by suna...@chromium.org, Jan 29, 2010
 Issue 33408  has been merged into this issue.
Cc: srikan...@chromium.org kr...@chromium.org lafo...@chromium.org
Comment 7 by suna...@chromium.org, Jan 29, 2010
(No comment was entered for this change.)
Labels: OS-Windows
Comment 8 by dhw@chromium.org, Jan 30, 2010
 Issue 33805  has been merged into this issue.
Comment 9 by Satoshi.Matsuzaki@gmail.com, Jan 31, 2010
r37609 seems to cause another theme issue, because new resources
were inserted in the middle of theme_resources.grd, not at the end.

r37609 had been merged to 249 branch at r37610 already.
Comment 10 by dhw@chromium.org, Feb 1, 2010
 Issue 34022  has been merged into this issue.
Comment 11 by dhw@chromium.org, Feb 1, 2010
 Issue 34005  has been merged into this issue.
Comment 12 by dhw@chromium.org, Feb 1, 2010
 Issue 33926  has been merged into this issue.
Comment 13 by erik...@chromium.org, Feb 1, 2010
 Issue 34047  has been merged into this issue.
Cc: erik...@chromium.org
Comment 14 by erg@chromium.org, Feb 1, 2010
Theoretically fixed permanently in r37722.
Status: Fixed
Comment 15 by erg@chromium.org, Feb 1, 2010
And merged into the 307 branch as of r37760.
Comment 16 by bugdroid1@gmail.com, Feb 1, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=37458 

------------------------------------------------------------------------
r37458 | erg@google.com | 2010-01-28 15:24:01 -0800 (Thu, 28 Jan 2010) | 8 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/theme/theme_resources.grd?r1=37458&r2=37457

Very temporary fix for theme bug where adding more resources invalidates the ThemePack so we can release a dev channel.

Move new resources to the end so they don't modify current IDR ids that are now baked into BrowserThemePacks.

BUG=33416
TEST=Themes from previous dev channel work.

Review URL: http://codereview.chromium.org/551196
------------------------------------------------------------------------

Comment 17 by bugdroid1@gmail.com, Feb 2, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=37722 

------------------------------------------------------------------------
r37722 | erg@google.com | 2010-02-01 11:04:54 -0800 (Mon, 01 Feb 2010) | 12 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_pack.cc?r1=37722&r2=37721
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_pack_unittest.cc?r1=37722&r2=37721
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/profiles/complex_theme/Default/Extensions/mblmlcbknbnfebdfjnolmcapmdofhmme/1.1/Cached?r1=37722&r2=37721

Don't store IDR ids in ThemePack files as they change whenever the grd is modified.

Instead, add an association table at the top of browser_theme_pack.cc that maps
the JSON string name and IDR# to a stable constant that won't change between
releases.

The ThemePack version number has been bumped to two, forcing a rebuild.

BUG=33416
TEST=none

Review URL: http://codereview.chromium.org/548207
------------------------------------------------------------------------

Comment 18 by bugdroid1@gmail.com, Feb 2, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=37760 

------------------------------------------------------------------------
r37760 | erg@google.com | 2010-02-01 14:54:32 -0800 (Mon, 01 Feb 2010) | 14 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/branches/307/src/chrome/browser/browser_theme_pack.cc?r1=37760&r2=37759
   M http://src.chromium.org/viewvc/chrome/branches/307/src/chrome/browser/browser_theme_pack_unittest.cc?r1=37760&r2=37759
   M http://src.chromium.org/viewvc/chrome/branches/307/src/chrome/test/data/profiles/complex_theme/Default/Extensions/mblmlcbknbnfebdfjnolmcapmdofhmme/1.1/Cached?r1=37760&r2=37759

Merge 37722 - Don't store IDR ids in ThemePack files as they change whenever the grd is modified.

Instead, add an association table at the top of browser_theme_pack.cc that maps
the JSON string name and IDR# to a stable constant that won't change between
releases.

The ThemePack version number has been bumped to two, forcing a rebuild.

BUG=33416
TEST=none

Review URL: http://codereview.chromium.org/548207

TBR=erg@google.com
------------------------------------------------------------------------

Comment 19 by bugdroid1@gmail.com, Feb 2, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=37852 

------------------------------------------------------------------------
r37852 | erg@google.com | 2010-02-02 10:46:20 -0800 (Tue, 02 Feb 2010) | 9 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/theme/theme_resources.grd?r1=37852&r2=37851

Revert "Very temporary fix for theme bug where adding more..." (r37458).

Now that we have a proper fix (r37722), we should revert this short term hack
(which didn't work in the end anyway).

BUG=33416
TEST=none

Review URL: http://codereview.chromium.org/562015
------------------------------------------------------------------------

Comment 20 by erg@chromium.org, Feb 2, 2010
 Issue 33655  has been merged into this issue.
Cc: e...@chromium.org
Comment 21 by rsesek@chromium.org, Feb 2, 2010
 Issue 33346  has been merged into this issue.
Cc: a...@chromium.org stuartmo...@chromium.org
Comment 22 by dhw@chromium.org, Feb 2, 2010
I've seen every platform with bugs duped here; I assume it's OS-All?
Labels: -OS-Linux -OS-Windows OS-All
Comment 23 by pinkerton@chromium.org, Feb 2, 2010
 Issue 33694  has been merged into this issue.
Cc: rohi...@chromium.org pinker...@chromium.org
Comment 24 by kr...@chromium.org, Feb 2, 2010
Adding OS-Mac for verification tracking only
Labels: ForMerge OS-Mac
Comment 25 by erg@chromium.org, Feb 3, 2010
 Issue 34460  has been merged into this issue.
Comment 26 by stuartmorgan@chromium.org, Feb 3, 2010
(No comment was entered for this change.)
Cc: -stuartmo...@chromium.org
Comment 27 by deep...@chromium.org, Feb 3, 2010
Verified on Mac version 5.0.307.5 (Official Build 37950) dev.
Labels: -OS-Mac
Comment 28 by jasn...@chromium.org, Feb 3, 2010
Issue not reproducible with 5.0.307.5 (Official Build 37950) dev on linux
Comment 29 by dhw@chromium.org, Feb 5, 2010
 Issue 34709  has been merged into this issue.
Comment 30 by mal.chromium@gmail.com, Feb 14, 2010
Verified on all releases now.
Status: Verified
Labels: -ForMerge
Comment 31 by stuartmorgan@chromium.org, Apr 5, 2010
 Issue 34109  has been merged into this issue.
Comment 32 by stuartmorgan@chromium.org, Apr 5, 2010
 Issue 34049  has been merged into this issue.
Comment 33 by lafo...@chromium.org, Mar 18, 2011
Chrome 5.0.307.1 (Official Build 37331) dev

<b>What steps will reproduce the problem?</b>
1. Install Chrome 4.0.302.3(Official Build 36935) dev [latest dev channel 
release build]
2. Install any theme 
3. Overinstall Chrome 5.0.307.1 (Official Build 37331) dev 
4. Open New tab page

What is the expected output? 
no layout issue

What do you see instead?
New tab page layout and repaint issues. 
Screenshot_ntp : If you have any theme installed and launch ntp
Screenshot_ntp2 : If you have any theme installed and then install classic 
theme.

Above issue &quot;not&quot; reproducible if it is a fresh install or if no theme is 
installed or if under options &gt;personal stuff - use classic theme button is 
clicked.

<b>Please use labels and text to provide additional information.</b>
Screenshots:
Labels: -Regression bulkmove Type-Regression
Sign in to add a comment

Powered by Google Project Hosting