Closed
Bug 1320442
Opened 8 years ago
Closed 8 years ago
Port notification (doorhanger) changes from Bug 1315236 to Seamonkey
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(seamonkey2.49esr unaffected, seamonkey2.50? fixed)
RESOLVED
FIXED
seamonkey2.50
Tracking | Status | |
---|---|---|
seamonkey2.49esr | --- | unaffected |
seamonkey2.50 | ? | fixed |
People
(Reporter: frg, Assigned: philip.chee)
References
Details
(Keywords: regression, useless-UI)
Attachments
(3 files, 1 obsolete file)
883 bytes,
patch
|
philip.chee
:
feedback-
|
Details | Diff | Splinter Review |
4.54 KB,
image/png
|
Details | |
2.85 KB,
patch
|
frg
:
feedback+
|
Details | Diff | Splinter Review |
In toolkit/locales/en-US/chrome/global/notification.dtd
string variables were added which. SeaMonkey currently uses a copy of this file (why its identical?) in
suite\locales\en-US\chrome\common\notification.dtd
The new variables need to be added or you will see erros in the log and add-on notifications do work.
![]() |
Reporter | |
Comment 1•8 years ago
|
||
I looked at suite\common\bindings\notification.xml and don't think anything else is needed but could you check.
Attachment #8814548 -
Flags: feedback?(philip.chee)
Attachment #8814548 -
Flags: feedback?(iann_bugzilla)
![]() |
Reporter | |
Comment 2•8 years ago
|
||
Error without patch:
Timestamp: 11/26/2016 12:02:38 PM
Error: XML Parsing Error: undefined entity
Location: jar:file:///C:/Program%20Files/SeaMonkey/omni.ja!/chrome/toolkit/content/global/bindings/notification.xml
Line Number 531, Column 9:
Source File: jar:file:///C:/Program%20Files/SeaMonkey/omni.ja!/chrome/toolkit/content/global/bindings/notification.xml
Line: 531, Column: 9
Source Code:
<xul:button anonid="button"
![]() |
Assignee | |
Comment 3•8 years ago
|
||
Comment on attachment 8814548 [details] [diff] [review]
1320442-NotificationStrings.patch
(In reply to Frank-Rainer Grahl from comment #0)
> In toolkit/locales/en-US/chrome/global/notification.dtd
>
> string variables were added which. SeaMonkey currently uses a copy of this
> file (why its identical?) in
>
> suite\locales\en-US\chrome\common\notification.dtd
>
> The new variables need to be added or you will see erros in the log and
> add-on notifications do work.
The right thing to do is to remove the override in /suite/locales/jar.mn:
% override chrome://global/locale/notification.dtd chrome://communicator/locale/notification.dtd
And then edit /suite/common/bindings/notification.xml
Change:
<!DOCTYPE bindings [
<!ENTITY % notificationDTD SYSTEM "chrome://global/locale/notification.dtd">
%notificationDTD;
]>
to
<!DOCTYPE bindings [
<!ENTITY % communicatorDTD SYSTEM "chrome://communicator/locale/notification.dtd">
%communicatorDTD;
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/notification.dtd">
%globalDTD;
]>
This way anything missing in chrome://communicator/locale/notification.dtd will fall through to the toolkit version and we can stop chasing toolkit.
See how /suite/common/bindings/prefwindow.xml does it as an example. (The formatting in prefwindow makes things clearer at the expense of line length.
> <!-- LOCALIZATION NOTE (closeNotificationItem.label): This entity is used
> to replace the Toolkit default closeNotificationItem.label ("Not Now")
> which is ambiguous in some cases. Thus, make sure to select a phrase
> that clearly relates to closing the current doorhanger. -->
We should also find out where the toolkit "Not Now" string went since &closeNotificationItem.label; doesn't seem to exist in mozilla-central any more.
Attachment #8814548 -
Flags: feedback?(philip.chee) → feedback-
![]() |
Reporter | |
Comment 4•8 years ago
|
||
>> We should also find out where the toolkit "Not Now" string went since
>> &closeNotificationItem.label; doesn't seem to exist in mozilla-central any more.
Good catch. I didn't notice this one. It was removed in Bug 1282768. I think Bug 1267604 mentioned there is why the add-on notifications now look so ugly.
![]() |
Reporter | |
Comment 5•8 years ago
|
||
rsx11m,
could you look at this one. Still not firm with xbl and css and it seems to properly fix it 3 bugs need to be ported/merged.
Otherwise can do it later but would like to poke at 2 other bugs first which affect 2.49.
Flags: needinfo?(rsx11m.pub)
![]() |
Reporter | |
Updated•8 years ago
|
Blocks: 2.50BulkMalfunctions
Comment 7•8 years ago
|
||
Bug 1322824 (both observed issues) is NOT (no longer) reproducible with Server-Installation of unofficial (by FRG) en-US SeaMonkey 2.50a1 (NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Build 20161211141438 (Default Classic Theme) on German WIN7 64bit
![]() |
Assignee | |
Comment 8•8 years ago
|
||
WIP patch. Will spin off a new bug or bugs to port Bug 1282768 and Bug 1267604
Assignee: nobody → philip.chee
Status: NEW → ASSIGNED
Attachment #8818057 -
Flags: feedback?(frgrahl)
![]() |
Assignee | |
Comment 9•8 years ago
|
||
Working patch. Will spin off a new bug or bugs to port Bug 1282768 and Bug 1267604
Attachment #8818057 -
Attachment is obsolete: true
Attachment #8818057 -
Flags: feedback?(frgrahl)
Attachment #8818267 -
Flags: feedback?(frgrahl)
![]() |
Reporter | |
Comment 10•8 years ago
|
||
Comment on attachment 8818267 [details] [diff] [review]
Fixed Patch v1.1 don't override toolkit notification.dtd instead use both in notification.xml
errors in the log are gone with the patch.
Attachment #8818267 -
Flags: feedback?(frgrahl) → feedback+
Updated•8 years ago
|
Summary: Port notification changes from Bug 1315236 to Seamonkey → Port notification (doorhanger) changes from Bug 1315236 to Seamonkey
Comment 12•8 years ago
|
||
IIUC, this is the bug for the recent "empty doorhangers" regression, a nasty one IMO.
Severity: normal → major
Keywords: regression,
useless-UI
OS: Unspecified → All
Hardware: Unspecified → All
Version: unspecified → Trunk
![]() |
Assignee | |
Comment 13•8 years ago
|
||
Pushed to comm-central a=bustage fix
http://hg.mozilla.org/comm-central/rev/f3286b40ab87
http://hg.mozilla.org/comm-central/rev/f3286b40ab87aaa39de0d5d1b97ee2b52cfd6f2f
![]() |
Assignee | |
Comment 14•8 years ago
|
||
(In reply to Philip Chee from comment #9)
> Working patch. Will spin off a new bug or bugs to port Bug 1282768 and Bug 1267604
I filed Bug 1323494 for these.
![]() |
Assignee | |
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
tracking-seamonkey2.50:
--- → ?
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.50
Attachment #8814548 -
Flags: feedback?(iann_bugzilla)
Comment 15•8 years ago
|
||
There must be something else (CSS variables?) I still see empty doorhangers (in about:addons, which is where I usually see doorhangers)
UA:"Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 SeaMonkey/2.52a1"
ID:20170310003001 en-US
c-c:245528202a53a82b14d1a17fa5458d23d6cc6c07
m-c:35398cae65c1526ce45c23a5f8b5568c5ada4762
You need to log in
before you can comment on or make changes to this bug.
Description
•