Menu

#2328 Initial video not appearing properly.

Fixed_0.12.0
closed-fixed
Windows (33)
5
2022-05-01
2012-02-05
No

Freecol Version 0.10.3
Vista Home Basic

On the title screen, there is normally a video that plays in the middle box. After I installed the latest update, the sound plays, but the video does not appear. It seems like the video is playing under the full screen image instead of on top of it.

I believe the video should be returned to playing on top of the title screen image.

Discussion

1 2 > >> (Page 1 of 2)
  • David Nuttall

    David Nuttall - 2012-02-06
    • priority: 5 --> 3
     
  • Calebrw

    Calebrw - 2012-02-06

    Can you upload the FreeCol.log folder from your Documents/FreeCol/ directory?

     
  • Mike Pope

    Mike Pope - 2012-02-06

    There have been longstanding issues with the intro on Windows, see BR#3048802. Nothing has changed in the video code since this before this was first reported in 0.9.4. No progress is likely either until we have a FreeCol developer that runs Windows.

     
  • Calebrw

    Calebrw - 2012-02-06

    FWIW: I run windows and I see the video just fine. Could it be a problem with the version of Java the user is running since in this case, both our Operating Systems are the same.

     
  • David Nuttall

    David Nuttall - 2012-02-06

    Log file from just starting, getting the tile page and quitting.

     
  • Mike Pope

    Mike Pope - 2012-02-11
    • status: open --> pending
     
  • Mike Pope

    Mike Pope - 2012-02-11
    • status: pending --> open
     
  • Mike Pope

    Mike Pope - 2012-02-17
    • labels: 517854 --> Windows
     
  • Liosan

    Liosan - 2012-03-02

    I am also having this problem on Windows 7 64b, Sun Java 1.6.0. The sound is playing, but instead of the video there is just some blank generic rectangle. Note this only happens in fullscreen mode, never windowed.

     
  • sinomaen

    sinomaen - 2012-03-02

    Check whether launching the game like this helps (BR#2928730):

    java -Xmx512M -Dsun.java2d.d3d=false -jar FreeCol.jar

     
  • Liosan

    Liosan - 2012-03-02

    Yes, it helps. Video plays normally, and so does the game.

    As an interesting/humorous side note, if I launch the game without your parameters and press alf-F4 when the video is suppossed to be playing, a confirmation dialog appears ('do you really wanna exit...'). This fixes the movie :-)

    Liosan

     
  • Michael Vehrs

    Michael Vehrs - 2012-03-17

    Fixed by sinomaen with revision 9698.

     
  • Michael Vehrs

    Michael Vehrs - 2012-03-17
    • status: open --> pending-fixed
     
  • Mike Pope

    Mike Pope - 2012-12-29
    • status: pending-fixed --> open-fixed
     
  • Mike Pope

    Mike Pope - 2012-12-30

    Reopened following new duplicate from cyberlpt, who reports:

    In full screen mode only (window mode working correctly):
    - intro video appear behing.
    - In game most colonie menus appear behind, usualy only the 2 first buildings in the colonie works

    I discovered that they where behind when I did ALT+Tab and i saw all the menus still there.
    I tried different resolution all the sames. I'm running win7, java jdk 1.6_20
    I updated java to 1.7 and problem still there.

     
  • Mike Pope

    Mike Pope - 2012-12-30
    • priority: 3 --> 5
    • status: open-fixed --> open-accepted
     
  • Mike Pope

    Mike Pope - 2012-12-30

    A little googling found several similar reports with other applications. None of the suggestions I saw that advised `write the Java this way' were applicable to the FreeCol codebase, so we are pretty much stuck. One of the posters suggested:

    1. Change the value of ForegroundLockTimeout within HKEY_CURRENT_USER\Control Panel\Desktop into "0"
    2. Logoff/Logon
    3. The issue was solved for the logged in account, not for the other accounts.

    I have no idea what this means or if it makes sense.

     
  • David Nuttall

    David Nuttall - 2012-12-30

    The stated recommendation is to change one of the global settings for the Windows desktop in the Windows registry. I would do this only as a last resort as this has the potential to affect multiple programs, including the Windows operating system itself, not just FreeCol. As a workaround, for now, suggest that Windows users use Windowed mode at least when starting the program..

     
  • Mike Pope

    Mike Pope - 2013-01-11
    • status: open-accepted --> open
    • milestone: --> Current
     
  • wintertime

    wintertime - 2014-12-27

    This is not happening for me anymore.
    Though when I was experimenting for bug#2729 one of the things I did was setAlwaysOnTop on the JFrame and suddenly I had the problem with dialogs hidden behind the frame again.
    I did not search the codebase for old changes, but was that setting used once and removed? Or could this be outdated from newer Java doing something differently with the GUI?

     
  • Mike Pope

    Mike Pope - 2014-12-27

    This is not happening for me anymore.

    Very good news.

    but was that setting used once and removed?

    Quite possibly, although if it was by me it was not because I knew what I was doing.

    Or could this be outdated from newer Java doing something differently with the GUI?

    Also quite possibly.

    What I would like to see here is for you to add a comment stating your findings to the relevant code, to help avoid regressions.

    As to the bug status, I am inclined to leave it open for now as AFAICT its behaviour does change across several windows versions.

     
  • wintertime

    wintertime - 2014-12-28

    Well, I'm pretty sure JFrame and JDialog use native MSWindows-windows internally and the setAlwaysOnTop method of JFrame is forwarded to MSWindows. This setting causes a window to be drawn above all other windows without this setting, even when the other windows have focus, and it does not switch focus automagically.
    That means, try not to use this setting on the JFrame, even though it looks attractive for keeping the game on top in fullscreen mode.
    A possible area for research on the minimizing bug is to set it in fullscreen mode for the JFrame and set it for any and all JDialogs and other windows, too. Then test it on all OS to be sure there is no Java bug like http://stackoverflow.com/questions/20210782/jdialog-setalwaysontop-not-working-in-java-7 and make sure it interacts correctly with other applications, by deactivating/reactivating it at the right times.

     
  • wintertime

    wintertime - 2015-02-08

    I'd suggest closing this as outdated, as I'm sure it was fixed by some change in FreeCol/Java long ago and I don't think it depends on Windows version.

     
    • Mike Pope

      Mike Pope - 2015-02-08

      Fair enough if you can no longer reproduce it. However, this one has risen from the dead at least twice before.

       
  • Mike Pope

    Mike Pope - 2015-02-08
    • status: open --> closed-out-of-date
    • Group: Current --> Unspecified
     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB