Silverlight 5 - PivotViewer Details Pane Disappears on a touch screen - silverlight

We've got a fairly basic implementation of the PivotViewer that we've put on a HP touch screen PC. Everything works as expected - and on the left hand pane you can select options, clear options etc.
The problem is when you select a card, the right hand pane is displayed as expected, but if you choose an item from this right hand pane (although this action works and the screen animates to show the new results) the next time you select an item the right hand pane is blank.
You get this behaviour even when you use the mouse on the touch screen.
Does anyone have any ideas please?
This same implementation works fine on every other PC - just not the touch screen where it is to be deployed!!

Although other samples I downloaded gave the same behaviour on the touch screen I found that a sample showing a custom details pane sorted things out.
I downloaded the sample from here:
http://tonychampion.net/blog/index.php/2011/10/sl5-pivotviewer-custom-detailpanestyle/
It worked much better on the touch screen anyway as I made big buttons on my custom pane, rather than the hyperlinks that were there before.

Related

pgadmin 4 3.1 retiling data output panel

In the Query Tool, when trying to raise or lower the border between Query Sql Editor and Data Output Panel it is very common that when you move the mouse over the Data Output panel's header it changes the vertical - horizontal arrow icon to a cross arrow changing Data Output panel from its default tiling to floating
What should I do to return the Data Output panel to its initial tiling mode?
In addition, Data Output panel once in floating window stops showing queries's results, it only shows the messages, I suppose it's 3.1's bug.
My solution so far is to save the query, close it and reopen it to recover its tiling mode
Cursor's disappearance problems have not been corrected in full
What is the best free competitor of pgadmin 4?
In the pgadmin browser, click on the File menu and select reset layout.
Yes, will get all kinds of warnings, but the query tool returns to being useful.
I don't know in PgAdmin 4.3, but in 4.6 I found that way to re-arrange it.
First, right-click on somewhere to Add Panel -> Scratch Pad first to get a panel holder first (when clicking, notice the highlighted light blue space),
then right-click the lower half space to add another panel -> Scratch Pad at the lower half space (when clicking, notice the highlighted light blue space),.
After that, click on the tab and hold to drag and drop to where you want (when clicking, notice the highlighted light blue space).
I have pgadmin 4.15 and I found how to resolve this. On the upper left corner, click on File dropdown and then click on Reset Layout. It will ask to restart the application, click Ok.
No this is not a bug, those panels are meant to be floatable so that user can arrange the view as per their convince.
But yes user should have the option to lock the layout, and I see feature request for locking the layout is already in the pgadmin4 list.
Hopefully, we will get it in the next future release.
Ref: https://redmine.postgresql.org/issues/3155
------ UPDATE -----
Now you can lock the layout in pgAdmin4 (File menu -> Lock layout) option
To reset the panels to default position (File manu -> Reset Layout) option
------ UPDATE-2021 -----
This issue has been fixed, can you please check with pgAdmin4 v5.5 which is released on 15-july-2021.
Long press with left mouse button on title permits you to reposition the panel in layout
reset is also available as an icon on the top right area of the UI
File dropdown >> Reset Layout (reload issue)
this will reload but the changes/query will be lost. Better to store the query somewhere else before resetting layout
I'm still on 4.2.6, and as long as only one of the tabs has floated, I can click on the text "Data Output", and drag it onto the tab bar of the bottom panel. Note that you need to click the text, and not just anywhere in the panel's top bar, it acts as a kind of invisible tab.
If the other tabs (Explain, etc) have also floated I think you need a 'Scratch Pad' or Reset.
Then File, Lock Layout, Prevent Docking if this is never useful for you.
I was able to redock it in pgadmin 4, version 6.0 by dragging the floating window down to the bottom right of the screen. I drug it around down there until it started highlighting docking arrangements for it and it eventually shows a highlight for the original docking position and then you can let go and it'll dock. Not super exact instructions, but once you do it a couple times it's easy to recreate.

iOS7 shifts entire safari view

I'm seeing some odd behaviour in iOS7 with my app that only demonstrates in iOS7.
When the keyboard comes up from the bottom it pushes the screen up to focus the input box. After the keyboard is dismissed a grey space remains where it was, leaving the rest of the window pushed up. Images below will demonstrate what I'm saying.
I'm using Sencha on this webapp.
While the images show the split keyboard, this occurs for both split and non-split keyboards
I can swipe down in the grey space to bring the rest of the view back onto the screen, but that isn't a solution.
What is the cause of this behavior and how can I avoid it?
Below is a slightly modified email that I sent out describing the cause of this:
After seeking an answer for our keyboard issue but coming up empty handed I think I figured out what is going on. It seems to be related to a bug in iOS 7.
Take a look at the attached ‘normal_behaviour.jpg’ file. This shows what the split keyboard looks like from iOS 6 to iOS 8. The input field I had selected on the Apple website was near the top of the page. When I touched it the web page slid up very slightly to ensure that the input field was still visible.
In the attached ‘unwated_behaviour.jpg’ file I found an input field close to the bottom of the screen and selected it. On both iOS 6 and iOS 8 the keyboard covers the input filed, however on iOS 7 the entire webpage is slid up so you can see the input field, which is great from a user friendliness perspective, but then when the keyboard is dismissed that grey area where the keyboard was remains, and the rest of the webpage does not slide back into place.
Also of note is that once you select an input field near the bottom of the page with a split keyboard you are able to slide beyond the end of a webpage in any other website you bring up within the same Safari session. You can see a few examples of it in ‘buggy_behaviour_other_pages.jpg’.
Of course with our app we are really using a Safari webview to display pages so we are vulnerable to the same issue when using the Split keyboard. The issue does not present itself with the full keyboard.
Unwanted behaviour.jpg
++++++++++++++++++++++++++++
Normal behaviour
++++++++++++++++++++++++++++
Buggy behaviour other pages

How do you design an image for Codename One TouchCommand?

I am 2 days in experimenting with Codename One and Mobile development in general and tested out some basic navigation and features so far. Now I want to work on the look and feel of the app.
I looked at the 9-border vid which was helpful, but not sure of the best way to add an image for the touchCommand that takes 3 tabs on that bar ( Example: home, profile, settings.. Similar to how instagram's TouchCommand is at the bottom of the app).
If I add the image, it does not line up with my Commands.
What is the best way to approach this to ensure the "TouchCommand" image appears as one, but is broken up to 3 parts for each individual commands when pressed, home, profile and settings? I might be asking this all wrong, forgive me as this is all new to me.
Thanks.
EDIT:
This is what was done.
In Theme -> Constants added commandBehavior= bar . This gives the default bar at the bottom. Created in photoshop a new bar 300x80 and added it to the TouchCommand. (See ScreenShot 1). Took this bar and broke it up in photoshop into 3 different buttons for the tab press etc. In GUI Builder, added Home, Profile, Settings in the commands. Added the image to Press Icon for Home and it didnt line up (screenshot 2). Very Frustrating to design layouts. I am hoping there is a much better technique as I am still experimenting with Codename one?
What is unclear to me, is I cant find any documentation on how to approach this and what the dimensions of each image should be as it seems that codename one has issue aligning them. I am assuming the steps would be to create the background image and add the icons as interactive layers for the user. I really care for the image being pressed and changes color like the instagram example. I dont see a way to do this in codename one GUI builder and themes.
EDIT:
Okay, I have decided to use tabs instead of the bar at the bottom. If I add my image to it, I get the results (screeshot 3). Is this the right method to use to accompolish what I want? If so, I dont see a way yet to alter this to become what I want :( .
Plus adding the background, shows one size in the display and looks different in the simulator. (screeshot4)
Answered Here: How do you get ActionBar from SocialBoo theme to show up in your GUI?
Tabs are customized individually so the border should apply for an individual tab to create the background. The foreground element is the icon which you define in the Tabs component itself thru the icons property which allows you to define 3 icons for the 3 tabs (assuming you use the GUI builder). If you add the tabs via addTab in the code you can specify an icon there.

UIToolbar at the bottom not working in Retina 4 simulator

I know it sounds a bit odd but perhaps someone has experienced the same too.
If I have a UIToolbar placed at the bottom of a Retina 4 sized xib (548 size) it does not work in the simulator (buttons show no reaction). However if I place it a bit higher (not sure where the threshold is) they work again. ???
My problematic xib looks like this:
As mentioned elsewhere (e.g. iPhone 5 (4") bottom toolbar not responding ) the problem is that even though your view is the full height, the underlying UIWindow isn't, and the underlying UIWindow is involved in your view getting touch events.
If you have a file name something like "MainWindow.xib" in your project:
Open it in Interface Builder.
Select "Window" from the list of objects on the left side.
In the Attributes Inspector pane, click the "Full Screen at Launch" checkbox.
UI elements at the bottom of the screen should now work.
I found the problem being the UIWindow. (perhaps it is only a problem with older projects) As long as the window object it set to the 480 size actions falling out of its size (which can happen on Retina 4) are not recognized.

Hit area of the button changed in silverlight after some functions

Hi I am working on one project on one page there are many controls like hyperlinkbutton, buttons, borders all these bounded by viewbox. when page loads all the buttons shows hand cursor but if i mouse over any other buttons this first buttons do not show any hand cursor or do not take any mouse event. But I abserved one strange thing here when i make full screen in browser buttons will show hand cursor when i disable the full screen view I abserved hit area of the button is above one 2cm from the respective buttons.
I browsed many sites I could not get the answer.
among them I pasted one link here so that you can understand well
http://forums.silverlight.net/t/44026.aspx
So can any one help me help me to resolve this? Please Help me.

Resources