Bug 383660

Summary: yast2-registration's browser integration
Product: [openSUSE] openSUSE 11.0 Reporter: Wolfgang Rosenauer <wolfgang>
Component: YaST2Assignee: J. Daniel Schmidt <jdsn>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: hmuelle
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Rosenauer 2008-04-25 08:13:41 UTC
I'm not sure if YaST2's browser is supposed to be used in 11.0 (or only in SLE products) but currently it wouldn't work on 11.0 most probably.

YaST2 calls xulrunner like this:
MOZ_DISABLE_PANGO=1 /usr/bin/xulrunner /usr/share/YaST2/yastbrowser/application.ini -url $URL

On 11.0 /usr/bin/xulrunner points to the mozilla-xulrunner190 version which would refuse to open the browser:
wolfi@Hygiea:/usr/share/YaST2/yastbrowser> xulrunner application.ini 
Error: Platform version '1.9b5' is not compatible with
minVersion >= 1.8.1b1
maxVersion <= 1.8.1.*

So there are basically two options:
1. very shortterm if needed for 11.0
- call the browser via /usr/lib{64}/xulrunner-1.8.1/xulrunner 

2. as xulrunner181 won't be available after 11.0 most likely
- change the MaxVersion field in /usr/share/YaST2/yastbrowser/application.ini 
  to 1.9.* after it has been verified that all functions of the browser still work
  as expected
Comment 1 Wolfgang Rosenauer 2008-04-25 16:41:20 UTC
in addition to 2.
I gave it a very quick test if the browser starts up under xulrunner 1.9 and it does, so there are probably only minor issue if any.
Comment 2 J. Daniel Schmidt 2008-05-09 13:36:23 UTC
Thankks for your tests Wolfgang.

I changed the maxversion to "1.9.*" and it works nicely.

But as you mentioned "minor issues", there is indeed one:
The findbar is no longer available. Neither available via menu nor via Ctrl-F.

As you are a little more experienced with this matter, can you point me to where to start debugging this?


To document this here: openSUSE 11.0 beta3 will have no search in the yastbrowser.
Comment 3 Andreas Jaeger 2008-10-24 08:24:35 UTC
Is this fixed now?
Comment 4 Wolfgang Rosenauer 2008-10-24 09:18:36 UTC
Text resizing is also broken.
Comment 5 Wolfgang Rosenauer 2008-10-24 12:16:56 UTC
ZoomManager changed slightly and the findbar is now a native Xul widget <findbar>.
I have a working version ready.
Comment 6 J. Daniel Schmidt 2008-10-24 14:43:32 UTC
Wolfgang, could you please send me your working version?
Comment 7 Harald Mueller-Ney 2008-10-28 12:54:41 UTC
Setting needinfo to Michael Wolf after talking to Gary Ekker.
Michael could you have a look at the issue together with Mauro.
Comment 8 Michael Wolf 2008-10-29 22:00:11 UTC
(In reply to comment #6 from Jens Daniel Schmidt)
> Wolfgang, could you please send me your working version?
> 

Wolfgang tells me that he sent a mail to you recently.  Have you received it/does it work/etc?

Comment 9 J. Daniel Schmidt 2008-11-06 14:59:00 UTC
(In reply to comment #8 from Michael Wolf)
> (In reply to comment #6 from Jens Daniel Schmidt)
> > Wolfgang, could you please send me your working version?
> > 
> 
> Wolfgang tells me that he sent a mail to you recently.  Have you received
> it/does it work/etc?

Yes, I recieved it and it works nicely.
I will include it in the next release of yast2-registration.
Comment 10 J. Daniel Schmidt 2008-11-11 14:18:39 UTC
Fixed in yast2-registration 2.17.11
Comment 12 OBSbugzilla Bot 2020-10-27 10:10:24 UTC
This is an autogenerated message for OBS integration:
This bug (383660) was mentioned in
https://build.opensuse.org/request/show/844234 Factory / yast2-registration