Re: issue with html5 datalist element rendering RHEL7 x86_64
"Benedict, Stew" <[email protected]> Mon, 20 Dec 2021 17:51:49 +0000
| Newsgroups | gmane.comp.window-managers.sawfish |
|---|---|
| Message-ID | <CH2PR11MB42297FECD2814F4CFCCB785BE87B9@CH2PR11MB4229.namprd11.prod.outlook.com> |
--_000_CH2PR11MB42297FECD2814F4CFCCB785BE87B9CH2PR11MB4229namp_ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Your patch did correct the issue on our POS systems. Thanks again! From: womble <[email protected]> Sent: Sunday, December 19, 2021 4:14 PM To: [email protected] <[email protected]> Subject: Re: [Sawfish] issue with html5 datalist element rendering RHEL7 x8= 6_64 CAUTION: This external email was sent to you by [email protected]. Do not cl= ick links or open attachments unless you trust the sender and know the cont= ent is safe. I know this is a really old thread, however, recently I hit same problem, and found a solution which works for me. Sawfish does not set the _NET_FRAME_EXTENTS property, which gives the offse= t of the client window to its top-level frame (the one build by sawfish). Some clients like firefox, use this information to position their own temporary X windows, eg. the username/password dropdowns. If you encounter the mentioned behaviour, try to use a different frame-type for the window in question: if I set the frame type of firefox to 'none', then there is not offset, and the dropdowns are positioned correctly. If I use a frame-style with a big titlebar, the offset gets worse. The attached patched sets the _NET_FRAME_EXTENTS property and fixed the problem for me. Although old, sawfish is still my favourite wm! On 29/02/2020 23:21, Trevor Cordes wrote: > On 2020-02-21 Robert 'Bobby' Zenz wrote: >> Curious...I'm out of ideas on that one in that case. > I've had a similar bug for literally years in my setup, all through > different versions of Fedora. I always thought it was firefox's > fault... I never thought to blame sawfish. But that would explain why > my bz's went unanswered and un-me-too'd. > > Anyhow, I can reproduce this bug on my fairly modern setup: > My box is currently: > > Fedora 30 > Firefox 73.0 > sawfish-1.12.90 > gtk3-3.24.11 > > The "datalist element" test has the options pop up halfway over the > text field vertically. >=0A=0A=0AThe information contained in this e-mail message is privileged an= d/or=0Aconfidential and is intended only for the use of the individual or e= ntity=0Anamed above. If the reader of this message is not the intended=0Ar= ecipient, or the employee or agent responsible to deliver it to the=0Ainten= ded recipient, you are hereby notified that any dissemination,=0Adistributi= on or copying of this communication is strictly prohibited.=0AIf you have r= eceived this communication in error, please immediately=0Anotify us by tele= phone (330-668-5000), and destroy the original=0Amessage. Thank you. --_000_CH2PR11MB42297FECD2814F4CFCCB785BE87B9CH2PR11MB4229namp_ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head><body dir=3D"ltr"><br> <br> =20 <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Your patch did correct the issue on our POS systems.</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Thanks again!</div> <div><font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#= 000000"><b><br> </b></font></div> <div><font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#= 000000"><b>From:</b> womble <[email protected]></font></div> <div> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" face= =3D"Calibri, sans-serif" color=3D"#000000"><b>Sent:</b> Sunday, December 19= , 2021 4:14 PM<br> <b>To:</b> [email protected] <[email protected]><= br> <b>Subject:</b> Re: [Sawfish] issue with html5 datalist element rendering R= HEL7 x86_64</font> <div> </div> </div> <div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt"= > <div class=3D"PlainText">CAUTION: This external email was sent to you by wo= [email protected]. Do not click links or open attachments unless you trust the= sender and know the content is safe.<br> <br> I know this is a really old thread, however, recently I hit same problem,<b= r> and found a solution which works for me.<br> <br> Sawfish does not set the _NET_FRAME_EXTENTS property, which gives the offse= t<br> of the client window to its top-level frame (the one build by sawfish).<br> <br> Some clients like firefox, use this information to position their own<br> temporary X windows, eg. the username/password dropdowns.<br> <br> If you encounter the mentioned behaviour, try to use a different frame-type= <br> for the window in question: if I set the frame type of firefox to 'none',<b= r> then there is not offset, and the dropdowns are positioned correctly. If I<= br> use a frame-style with a big titlebar, the offset gets worse.<br> <br> The attached patched sets the _NET_FRAME_EXTENTS property and fixed<br> the problem for me.<br> <br> Although old, sawfish is still my favourite wm!<br> <br> <br> On 29/02/2020 23:21, Trevor Cordes wrote:<br> > On 2020-02-21 Robert 'Bobby' Zenz wrote:<br> >> Curious...I'm out of ideas on that one in that case.<br> > I've had a similar bug for literally years in my setup, all through<br= > > different versions of Fedora. I always thought it was firefox's<= br> > fault... I never thought to blame sawfish. But that would explai= n why<br> > my bz's went unanswered and un-me-too'd.<br> ><br> > Anyhow, I can reproduce this bug on my fairly modern setup:<br> > My box is currently:<br> ><br> > Fedora 30<br> > Firefox 73.0<br> > sawfish-1.12.90<br> > gtk3-3.24.11<br> ><br> > The "datalist element" test has the options pop up halfway o= ver the<br> > text field vertically.<br> ><br> </div> </span></font></div> </div> <br> <br> The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communications in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. =20 </body></html> --_000_CH2PR11MB42297FECD2814F4CFCCB785BE87B9CH2PR11MB4229namp_-- -- Sawfish ML