Re: Problem with long pulldown (Link) menu on Firefox and Chrome not fully populating
David Hancock <[email protected]> Wed, 5 Jun 2024 14:15:57 -0400
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8066852330108795241== Content-Type: multipart/alternative; boundary="Apple-Mail=_6DB04F55-FE4E-4BEC-A2F6-1D02739EDD53" --Apple-Mail=_6DB04F55-FE4E-4BEC-A2F6-1D02739EDD53 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Short answer: Problem solved. I was missing permissions for the = fbcustcomp field in schema.py. I was logged in as =E2=80=98admin=E2=80=99 = in Safari, so could see everything. In Chrome or Firefox I was in a a = normal user. Apologies for wasting your time on this! For my part, working through your troubleshooting steps was helpful. The = html4 setting is right. The dev tools in Firefox showed no problems = (except missing favicon.ico), and the HTML is valid, albeit missing = fbcustcomp entries unless I was admin. I was about to edit the = fbcustcomp entries to =E2=80=9Cfix" any with accented characters when I = realized my mistake. I agree about upgrading Roundup. My organization is still on Python 2.6, = for crying out loud, and I despair of getting anything upgraded. Anyway, I=E2=80=99m back in action, and appreciate the support. Cheers! --=20 David Hancock On Jun 4, 2024, at 8:30=E2=80=AFPM, John P. Rouillard = <[email protected]> wrote: Hi David: In message = <SA1P110MB19304D4AA4304EC9CE3BEDA2CCF8A@SA1P110MB1930.NAMP110.PROD.OUTLOOK= .COM>, "Hancock, David US Professional Services, Inc. \(USP\) via Roundup-users" writes: > First, I apologize for asking about such an ancient version of the > software. This is Roundup 1.5.0 with classic templates. It=E2=80=99s = not my > choice, though. Understood, I have helped somebody off list with a 1.4.x release so... Can you verify that html_version in your tracker's config.ini is set to html4. This is the default and I do not expect it would have been changed. > I=E2=80=99ve encountered a situation where Mac Safari displays a = pulldown > menu correctly, but Chrome and Firefox (also on Mac) do not. Chrome > and Edge on Windows work correctly. Ok, that's very wierd. Roundup doesn't customize its output based on the client. The HTML for the menu should be the same for all browsers. > I=E2=80=99ve got a DB class called fbcustcomp in schema.py as a Link = type, > which is populated with slightly more than 100 company names. The > .item.html file for this issue type has a table row: >=20 > <tr> > <th class=3D"required" nowrap>Company</th> > <td tal:content=3D"structure context/fbcustcomp/menu">fbcustcomp</td> > </tr> >=20 > In Mac Safari and Windows Chrome or Edge, the full list can be pulled > down. That TAL looks fine and since it works with the Safari and Chrome engines, I am going to say it's valid. Does Firefox on Windows work ok too? Can you pull up the developer tools or view the source for the page on one of these. > In Mac Chrome or Firefox, the list is empty (=E2=80=9Cnot selected=E2=80= =9D) on > a new issue, and if an issue has been edited, there are exactly two > items in the pulldown (=E2=80=9Cnot selected=E2=80=9D and whatever was = saved in a > browser where the pulldown works). Please compare the dev tools/source on these failing browsers to what is shown above. This may give us an idea as to what's happening. IIUC on a Mac, all browsers (chrome and firefox) use the same safari engine. So I am surprised at this problem. > Most of the users are on Windows and Mac Safari works right, so this > is not even close to an emergency. But if anyone has any thoughts > about this issue, I=E2=80=99m all ears. Check to see if any errors are reported in the dev tools console. There should not be any javascript involved in that select box, but somebody may have modified it from the default template. Again, since it works in safari, I expect it to work in other Mac browsers. Note, if you have sensitive data in the page this may not be an option. You can try is to copy the page source and paste it into the w3 html validator: https://validator.w3.org/. If it returns errors/warnings, we may have another thing to look at. > I=E2=80=99m also open to hearing =E2=80=9Cwe haven=E2=80=99t got time = to support a > 15-year-old Roundup=E2=80=94get yourself current!=E2=80=9D I=E2=80=99ve = got it coming. A quick search for differences between 1.5.0 and the current head does show a change in how some data is escaped. I'm not sure why this change is present. So it could be a red herring. But nothing in the diff leaps out to me as an attempt to change the generated menu HTML. In any case, you should look into getting Roundup upgraded. OS support for Python 2 may be a problem and 1.5.0 won't run under Python 3. Hopefully this gives you some ideas for exploration. Have a great day. -- -- rouilj John Rouillard = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= My employers don't acknowledge my existence much less my opinions. _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users --Apple-Mail=_6DB04F55-FE4E-4BEC-A2F6-1D02739EDD53 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;">Short answer: = Problem solved. I was missing permissions for the fbcustcomp field in = schema.py. I was logged in as =E2=80=98admin=E2=80=99 in Safari, so = could see everything. In Chrome or Firefox I was in a a normal user. = Apologies for wasting your time on this!<div><br></div><div>For my part, = working through your troubleshooting steps was helpful. The html4 = setting is right. The dev tools in Firefox showed no problems (except = missing favicon.ico), and the HTML is valid, albeit missing fbcustcomp = entries unless I was admin. I was about to edit the fbcustcomp entries = to =E2=80=9Cfix" any with accented characters when I realized my = mistake.</div><div><br></div><div>I agree about upgrading Roundup. My = organization is still on Python 2.6, for crying out loud, and I despair = of getting anything upgraded.</div><div><br></div><div>Anyway, I=E2=80=99m= back in action, and appreciate the support.</div><div> <meta charset=3D"UTF-8"><div style=3D"caret-color: rgb(0, 0, 0); color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"><br = class=3D"Apple-interchange-newline">Cheers!</div><div = style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;">-- </div><div style=3D"caret-color: rgb(0, 0, 0); color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;">David Hancock</div><div style=3D"caret-color: = rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: = none;"><br></div></div><div><br><div>On Jun 4, 2024, at 8:30=E2=80=AFPM, = John P. Rouillard <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><div>Hi David:<br><br>In = message<br><[email protected]= 0.PROD.OUTLOOK.COM>,<br>"Hancock, David US Professional Services, = Inc. \(USP\) via<br>Roundup-users" writes:<br><blockquote = type=3D"cite">First, I apologize for asking about such an ancient = version of the<br>software. This is Roundup 1.5.0 with classic = templates. It=E2=80=99s not my<br>choice, = though.<br></blockquote><br>Understood, I have helped somebody off list = with a 1.4.x release so...<br><br>Can you verify that html_version in = your tracker's config.ini is set<br>to html4. This is the default and I = do not expect it would have been<br>changed.<br><br><blockquote = type=3D"cite">I=E2=80=99ve encountered a situation where Mac Safari = displays a pulldown<br>menu correctly, but Chrome and Firefox (also on = Mac) do not. Chrome<br>and Edge on Windows work = correctly.<br></blockquote><br>Ok, that's very wierd. Roundup doesn't = customize its output based on<br>the client. The HTML for the menu = should be the same for all browsers.<br><br><blockquote = type=3D"cite">I=E2=80=99ve got a DB class called fbcustcomp in schema.py = as a Link type,<br>which is populated with slightly more than 100 = company names. The<br>.item.html file for this issue type has a table = row:<br><br><tr><br><th class=3D"required" = nowrap>Company</th><br><td tal:content=3D"structure = context/fbcustcomp/menu">fbcustcomp</td><br></tr><br><br>In= Mac Safari and Windows Chrome or Edge, the full list can be = pulled<br>down.<br></blockquote><br>That TAL looks fine and since it = works with the Safari and Chrome<br>engines, I am going to say it's = valid. Does Firefox on Windows work ok<br>too?<br><br>Can you pull up = the developer tools or view the source for the page on<br>one of = these.<br><br><blockquote type=3D"cite">In Mac Chrome or Firefox, the = list is empty (=E2=80=9Cnot selected=E2=80=9D) on<br>a new issue, and if = an issue has been edited, there are exactly two<br>items in the pulldown = (=E2=80=9Cnot selected=E2=80=9D and whatever was saved in a<br>browser = where the pulldown works).<br></blockquote><br>Please compare the dev = tools/source on these failing browsers to what<br>is shown = above.<br><br>This may give us an idea as to what's = happening.<br><br>IIUC on a Mac, all browsers (chrome and firefox) use = the same safari<br>engine. So I am surprised at this = problem.<br><br><blockquote type=3D"cite">Most of the users are on = Windows and Mac Safari works right, so this<br>is not even close to an = emergency. But if anyone has any thoughts<br>about this issue, I=E2=80=99m= all ears.<br></blockquote><br>Check to see if any errors are reported = in the dev tools<br>console. There should not be any javascript involved = in that select<br>box, but somebody may have modified it from the = default<br>template. Again, since it works in safari, I expect it to = work in<br>other Mac browsers.<br><br>Note, if you have sensitive data = in the page this may not be an<br>option. You can try is to copy the = page source and paste it into the<br>w3 html validator: = https://validator.w3.org/. If it returns<br>errors/warnings, we may have = another thing to look at.<br><br><blockquote type=3D"cite">I=E2=80=99m = also open to hearing =E2=80=9Cwe haven=E2=80=99t got time to support = a<br>15-year-old Roundup=E2=80=94get yourself current!=E2=80=9D I=E2=80=99= ve got it coming.<br></blockquote><br>A quick search for differences = between 1.5.0 and the current head does<br>show a change in how some = data is escaped. I'm not sure why this<br>change is present. So it could = be a red herring. But nothing in the<br>diff leaps out to me as an = attempt to change the generated menu HTML.<br><br>In any case, you = should look into getting Roundup upgraded. OS support<br>for Python 2 = may be a problem and 1.5.0 won't run under Python 3.<br><br>Hopefully = this gives you some ideas for exploration.<br><br>Have a great = day.<br>--<br><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>-- rouilj<br>John = Rouillard<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D<br>My employers don't acknowledge my existence much less my = opinions.<br><br><br>_______________________________________________<br>Ro= undup-users mailing = list<br>[email protected]<br>https://lists.sourceforge.n= et/lists/listinfo/roundup-users<br></div></div></div><br></body></html>= --Apple-Mail=_6DB04F55-FE4E-4BEC-A2F6-1D02739EDD53-- --===============8066852330108795241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8066852330108795241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users --===============8066852330108795241==--