Screen rotation seems to be glitched - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC: Screen rotation seems to be glitched

Screen rotation seems to be glitched 1 year 3 months ago #12689

  • JQRL
  • JQRL's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi, I've been using the screen rotation feature for the cordova plugin.
It seems that when i select and anotation and rotatw my screen, the view becomes glitched. I'm not sure if this is the case for everyone or just me.
Is thee a way to fix this?

Please Log in or Create an account to join the conversation.

Screen rotation seems to be glitched 1 year 3 months ago #12691

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
May you say on which platform are you working on? Android or iOS?
If Android, which kind of device, screen resolution/size, os version?

We'd do some internal tests on it.
The following user(s) said Thank You: JQRL

Please Log in or Create an account to join the conversation.

Screen rotation seems to be glitched 1 year 3 months ago #12693

  • JQRL
  • JQRL's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

Screen rotation seems to be glitched 1 year 3 months ago #12697

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Rotating while an annotation is selected will invalidate the saved annotation's position information.
The solution is to cancel the annotation selection, this can be done by adding the following method to PDFViewController:
public void onConfigChanged() {
	if(m_bar_status == BAR_ACT) {
		m_view.PDFCancelAnnot();
		m_bar_act.BarHide();
		m_bar_status = BAR_NONE;
	}
}
And call it from PDFViewAct:
public void onConfigurationChanged(Configuration newConfig)
{
	m_controller.onConfigChanged();
        super.onConfigurationChanged(newConfig);
}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum