Bug? screenshot w/picture shuts down debugger

Discussion in 'iOS Bugs & Wishlist' started by vikingivesterled, Feb 22, 2015.

  1. vikingivesterled

    vikingivesterled Member Licensed User

    I added an ImageView called BackgroundPicture to the designer, sent it to the background and loaded a jpg picture in code with:
    fireworkspic = LoadBitmap(File.DirAssets, "fireworks.jpg")
    BackgroundPicture.Bitmap = fireworkspic

    It display fine but if I try to take a screenshot in debug mode, debug mode crashes and no screenshot is taken. Screenshots tool stays open (the menu items dims), but b4i has gone from debug mode to normal mode.
    If I don't load the picture it takes the screenshot fine.
    I have experimented with different sizes of the ImageView, but no difference.

    There is no logs created for the event, neither in b4i or in Windows Event Viewer.
    I use the same picture background for the same app in b4a, and it takes the screenshot fine there.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Does it only happen with a large image?
  3. vikingivesterled

    vikingivesterled Member Licensed User

    Screenshot works with a smaller ImageView.

    BackgroundPicture ImageView settings in Designer:
    w = width, h = height (left and top both 0)
    100w x 300h = screenshot ok
    150w x 200h = screenshot ok
    200w x 200h = screenshot fail
    150w x 300h = screenshot fail

    That is far short of the 320w x 460h
    that I use to cover the whole screen,
    and that the app runs fine width.

    (The jpg file size is 25kb and it is 427pixels wide by 380pixels,
    and b4i (and b4a) fits it nicely onto the allotted imageview size)
  4. Erel

    Erel Administrator Staff Member Licensed User

    Moved to the bugs forum.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice