OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> My java app doesn't work with screen rotation
post Jul 19 2004, 05:32 AM
Post #1

Group: Members
Posts: 1
Joined: 9-June 04
Member No.: 3,629

I have a GUI application for the Z (SL- 6000L), which runs perfectly fine when the screen is in normal view. However, after having rotated the screen, the application refuses to run, and I get the following message in the terminal:

QLinuxFbScreen::connect() disp spec Transformed:Rot0:Vga:0 != server disp spec
Transformed driver cannot connect

I would be most grateful for any tips on how to fix this, I really need the GUI to run in landscape view.

By the way, even when the application runs fine, I get the following message:

SlSharedManager: can't get proc entry
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid

I guess it would spare me some annoyance if I could get rid of these lines also...
Go to the top of the page
+Quote Post
Start new topic
post Nov 23 2005, 03:15 PM
Post #2

Group: Admin
Posts: 3,587
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149

not quite fully relevant but I was playing with my QT/E application and found that it ran fine on my SL-C6000 in portrait, fine on my SL-C860 in landscape, but the other way round gave me the QPEApplication error "Transformed driver cannot connect"

I was running my app from the command line in both cases.

When I created a proper .desktop entry in the /opt/QtPalmTop/apps/X directory, and an icon to match, with the .desktop specifying everything correctly, then it worked. Oddly, when I got the reference to the icon wrong, it ran in double-size lo-res portrait mode! Also, dynamic rotation also magically worked too.

So, don't underestimate the importance of a properly setup .desktop file! Just copy a simple one that works.

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th June 2018 - 12:01 AM