bugGnash - The GNU Flash player - Bugs: bug #20137, [KDE] Konqueror integration and...

 
 

bug #20137: [KDE] Konqueror integration and others

Submitted by:  None
Submitted on:  Sat 09 Jun 2007 11:59:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 24 Jan 2008 10:39:26 AM UTC, comment #15:

Georg, if you still have problems with kde integration please file another bug report, this seems too old to make any sense now.

Sandro Santilli <strk>
Project Member
Mon 25 Jun 2007 08:48:43 AM UTC, comment #14:

Sorry, i've been climbing this weekend.
I'll do so and add the files this evening, when i'm at home at my x86_64 machine.

Yours,
Georg

Georg Grabler <stiat>
Sat 23 Jun 2007 11:02:33 AM UTC, comment #13:

I think it would be useful to learn more about what the build process outputs. Georg, could you please attach the full build output (rather than just the last few lines)? You can do this, for example, by executing `make &>buildlog' in BaSH.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sat 23 Jun 2007 10:57:09 AM UTC, comment #12:

To return to the issue at hand:

So the build log indicates that klash.moc isn't available. However, config.log indicates that MOC is found (MOC='/opt/qt/bin/moc'). So all requirements are met; there must be a bug in the build system. gui/Makefile.am, perhaps.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Fri 22 Jun 2007 02:31:43 PM UTC, comment #11:

I've committed a fix for that issue, Anonymous.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Thu 21 Jun 2007 06:13:59 AM UTC, comment #10:

The --with-kde-lib option is bugged. It searches for the wrong shared lib file. In macros/kde.m4:87, it checks for
${with_kde_lib}/kdeui.${shlibext}
when it should check for
${with_kde_lib}/libkdeui.${shlibext}

Anonymous
Sun 10 Jun 2007 11:08:43 AM UTC, comment #9:

My mistake. Agg wasn't in the correct path the time. I remade the package and corrected it in our package database.

I attached several files, which contain the wanted files with the error i currently get when building with agg.

(file #12998, file #12999, file #13000)

Georg Grabler <stiat>
Sun 10 Jun 2007 10:36:56 AM UTC, comment #8:

Can you also attach config.log and the output of `make dumpconfig' ?

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 10 Jun 2007 10:11:50 AM UTC, comment #7:

The current head build with agg enabled fails. I attached a textfile since the error output was quite long.

Building with OpenGL the same behaviour than with the release branch.

(file #12997)

Georg Grabler <stiat>
Sun 10 Jun 2007 09:45:48 AM UTC, comment #6:

Are you using the release branch? If so, you'll have to use HEAD in order to use AGG with KDE. Also, don't forget to run autogen.sh.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 10 Jun 2007 09:42:53 AM UTC, comment #5:

Rendering option agg:
configure: error: agg renderer is only supported by fb, gtk, riscos, sdl and fltk GUIs

Georg Grabler <stiat>
Sun 10 Jun 2007 09:33:02 AM UTC, comment #4:

The --with-kde-lib option is basically the one i used. It was a typo in my previews text:

Error with the option --with-kde-lib=/opt/kde/lib
checking for kde-config... /opt/kde/bin/kde-config
checking for kde header... -I/opt/kde/include -I/opt/kde/include/kio
configure: error: /opt/kde/lib directory doesn't contain kde libraries.


Without the option:
checking for kde-config... /opt/kde/bin/kde-config
checking for kde header... -I/opt/kde/include -I/opt/kde/include/kio
checking for kdeui library... /opt/kde/lib/libkdeui
checking for kdecore library... /opt/kde/lib/libkdecore
checking for kdeprint library... /opt/kde/lib/libkdeprint
// ...
KDE libs are: -L/opt/kde/lib -lkdeui -lkdecore -lkdeprint

Anonymous
Sun 10 Jun 2007 09:13:29 AM UTC, comment #3:

> configure:
> The configure first of all fails if i
> set --with-kde-libs=/opt/kde/lib


The option is --with-kde-lib (note the difference with what you used.)

> Also, i personally think the configuration should accept a --with-kde=/opt/kde as parameter


The configure scripts accept the use of the KDEDIR environment variable for this purpose. Perhaps we should have some documentation about that.

As for the actual bug... it's well known that the SDL GUI doesn't work nicely with anything, because libsdl simply is buggy.

Also, Gnash built with --enable-gui=gtk won't work in Konqueror because GTK requires the use of Xembed, which Konqueror does not support.

I'm a bit curious about your experience with --enable-gui=kde. Could you attach a screenshot of what you see when you try to use it?

(Also, if you are using CVS HEAD, you could consider trying --enable-renderer=agg.)

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 10 Jun 2007 12:13:06 AM UTC, comment #2:

As a note: i could see the window frame at GTK and SDL as well, just without the youtube player displayed.
The configuration option KDE was the only one to display the "flash content" of the movie - not properly though, without the movie.

Georg Grabler <stiat>
Sun 10 Jun 2007 12:12:07 AM UTC, comment #1:

As a side-note:
Also with GTK and SDL as parameter, the plugin did show the window in the browser, with the difference that nothing was displayed in the window.
The configuration option KDE was the only one to show the "flash content" in the window - even though, not properly.

Georg Grabler <stiat>
Sat 09 Jun 2007 11:59:32 PM UTC, original submission:

Hello,

I promised on IRC i'll do some testing, and submit a bug report about my issues with the integration into Konqueror:

First of all, system spec:
Arch Linux x86_64 (current)
KDE: extra/kdelibs 3.5.7-2 (kde), extra/kdebase 3.5.7-1 (kde)
GTK: current/gtk2 2.10.12-3
SDL: current/sdl 1.2.11-1
gnash: current cvs version

configure:
The configure first of all fails if i set --with-kde-libs=/opt/kde/lib
This is actually my KDE lib directory, and gnash promises no kde libraries are found.
Also, i personally think the configuration should accept a --with-kde=/opt/kde as parameter, so the files are installed into /opt/kde/lib later (no manual symlink needed), also, in arch (just an example), /usr/lib/kde3 isn't a standard directory for building packages.

The issues with the browser.
I configured gnash with 3 different --enable-gui options, SDL, GTK and KDE. All 3 were not able to play the movie (YouTube).

Configure command:
./configure --prefix=/usr --with-gcc-arch=$ARCH \
--with-plugindir=/opt/mozilla/lib/plugins \
--enable-z \
--enable-jpeg \
--enable-gui=KDE \
--with-plugindir=/opt/mozilla/lib/plugins \
--enable-renderer=OpenGL \
--enable-media=ffmpeg \
--enable-write \
--disable-cygnal \
--enable-klash \
--disable-qtopia \
--with-qt-incl=/opt/qt/include \
--with-qt-lib=/opt/qt/lib

replacing KDE with GTK and SDL of course. I started konqueror in console, and looked the output created by gnash:

#########################
## --enable-gui=SDL ##
#########################
konqueror: KlashPart::openURL http://www.youtube.com/player2.swf?hl=en&video_id=E_O-Cky7Amo&l=389&t=OEgsToPDskJ39MEoPp-lsM8CpUr6XlKk&soff=1&sk=1Sb7E35rOs67ZatygjzlUAC
konqueror: KlashPart::openURL http://www.youtube.com/version-check.swf
konqueror: gnash -x 35653806 '/tmp/kde-ggrabler/konquerorUHMATa.swf'
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x0
Serial number of failed request: 57
Current serial number in output stream: 58
konqueror: gnash -x 35653803 -j 450 -k 370 '/tmp/kde-ggrabler/konquerorAbwdWa.tmp'
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x0
Serial number of failed request: 57
Current serial number in output stream: 58
#########################
## --enable-gui=GTK ##
#########################
konqueror: KlashPart::openURL http://www.youtube.com/player2.swf?hl=en&video_id=E_O-Cky7Amo&l=389&t=OEgsToPDskLJTYsCns96VszhYBprl_ZI&soff=1&sk=1Sb7E35rOs67ZatygjzlUAC
konqueror: KlashPart::openURL http://www.youtube.com/version-check.swf
konqueror: gnash -x 35653364 '/tmp/kde-ggrabler/konquerorbbWaKb.swf'
konqueror: gnash -x 35653361 -j 450 -k 370 '/tmp/kde-ggrabler/konquerorNIyzzb.tmp'
#########################
## --enable-gui=KDE ##
#########################
konqueror: KlashPart::openURL http://www.youtube.com/player2.swf?hl=en&video_id=E_O-Cky7Amo&l=389&t=OEgsToPDskKakwhMfa8SEAN9PEXARtrP&soff=1&sk=1Sb7E35rOs67ZatygjzlUAC
konqueror: KlashPart::openURL http://www.youtube.com/version-check.swf
konqueror: gnash -x 48236838 '/tmp/kde-ggrabler/konqueroriA7xCb.swf'
konqueror: gnash -x 48236835 -j 450 -k 370 '/tmp/kde-ggrabler/konquerorGoNcya.tmp'

Closer description:
The windows with the option GTK and SDL staid empty. When i've been using the option KDE, the window actually appeared (movie window). The player was visible, and i could see the circle (loading). Afterwards, the movie was skipped. I got the two buttons youtube shows, the text was unreadable (just squares).

With firefox, it works properly (current/firefox 2.0.0.4-1)

I'm sorry for this long text, but i wanted a proper description.

Yours,
Grabler Georg (STiAT)
Arch Linux TU
<ggrabler [at] gmail [dot] com>

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12998:  gnash_agg_make.txt added by stiat (3KiB - text/plain - Files requested. make error, make dumpconfig and config.log)
file #12999:  config.log added by stiat (168KiB - text/x-log - Files requested. make error, make dumpconfig and config.log)
file #13000:  gnash_make_dumpconfig.txt added by stiat (2KiB - text/plain - Files requested. make error, make dumpconfig and config.log)
file #12997:  agg_builderror.txt added by stiat (72KiB - text/plain - Building error with agg as renderer)
file #12995:  circle.png added by stiat (7KiB - image/png - Just the circle snapshotted. You can see two overlayed circles. the one is the "old" one in background, the other one the "new" one on "replay movie". The 2nd screenshot (justcircle) shows the circle when loading the window first.)
file #12996:  justcircle.png added by stiat (6KiB - image/png - Just the circle snapshotted. You can see two overlayed circles. the one is the "old" one in background, the other one the "new" one on "replay movie". The 2nd screenshot (justcircle) shows the circle when loading the window first.)
file #12994:  snapshot4.png added by stiat (13KiB - image/png - Accidentally attached a full-screen screenshot. That wasn't intended, also, you rarely can see the problem on the other one. This one is proper.)
file #12993:  snapshot3.png added by None (290KiB - image/png - Attached screenshot from the buttons displayed in Konqueror (and text). In the background you can see (very dark) the circle is still going on. Short before, just the circle was shown (too short to snapshot it). The movie was not played.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by stiat (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 Jan 2008 10:39:26 AM UTCstrkStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 22 Jun 2007 02:31:43 PM UTCbjacquesAssigned toNone=>bjacques
    Sun 10 Jun 2007 11:08:43 AM UTCstiatAttached File-=>Added gnash_agg_make.txt, #12998
      Attached File-=>Added config.log, #12999
      Attached File-=>Added gnash_make_dumpconfig.txt, #13000
    Sun 10 Jun 2007 10:11:50 AM UTCstiatAttached File-=>Added agg_builderror.txt, #12997
    Sun 10 Jun 2007 09:48:11 AM UTCstiatAttached File-=>Added circle.png, #12995
      Attached File-=>Added justcircle.png, #12996
    Sun 10 Jun 2007 09:39:30 AM UTCstiatAttached File-=>Added snapshot4.png, #12994
    Sun 10 Jun 2007 09:29:04 AM UTCNoneAttached File-=>Added snapshot3.png, #12993
    Sun 10 Jun 2007 12:12:07 AM UTCstiatCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1