Menu

#2 Power on/off via T3 Slider

open
nobody
None
5
2004-07-02
2004-07-02
TW
No

A user reports that while running my app that uses
palmresize on his T3:

"While running with an open slider, turn the palm off
by closing the slider. Turn it back on again by
opening the slider. The bottom part of the screen is
not fully redrawn, and the T3 ends up with two status
bars and a black section at the base of the screen.
This happens whether the graffiti area is shown or not
and whether the screen is rotated or not."

Is this a bug in palmresize? Is there something I need
to do in my code to handle this case?

(Is there a way to simulate the slider's opening and
closing in the T3 Simulator?)

Thanks.

Tom

Discussion

  • Alexander R. Pruss

    Logged In: YES
    user_id=756930

    Ctrl-up/down simulates the slider.

    What puzzles me a little about the report is that as far as I
    know, the slider doesn't turn the device off.

     
  • TW

    TW - 2004-08-01

    Logged In: YES
    user_id=1075649

    If you go to Preferences/Power, there are two check boxes:

    1. Power on when opened
    2. Power off when closed

    The Ctrl-up/down does simulate opening/closing the slider,
    but in the Simulator, it still doesn't turn the device
    on/off, even with those boxes checked.

     
  • Alexander R. Pruss

    Logged In: YES
    user_id=756930

    Closing the slider doesn't turn off the simulated device even
    if the prefs are set to do this. Opening it does turn it on in
    Plucker, and doesn't seem to cause any screen scewup.

     
  • Alexander R. Pruss

    Logged In: YES
    user_id=756930

    Maybe you can try forcing a redraw in your app
    (ResizeRefreshCurrentForm() after you get a late wakeup
    notification)? If that fixes the problem, I might roll it into
    the code?

     
  • TW

    TW - 2004-08-02

    Logged In: YES
    user_id=1075649

    I believe I've reproduced this in Plucker (1.8). The T3
    simulator seems to behave strangely when you use
    ctrl-up-arrow and ctrl-down-arrow, but I've been able to see
    it like this:

    - Open Plucker
    - Select Options/Contact the developer
    - Do Ctrl-down-arrow to open the slider
    - Maximize the screen (hide the graffiti area)
    - Press Escape to turn off the power
    - Do Ctrl-up-arrow to close the slider
    - Escape to turn on the power

    The screen is not resized (Send Mail and cancel buttons did
    not get moved).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.