Usual Windows File Opener would be great

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Usual Windows File Opener would be great

Postby Bernd.N » Mon Jan 05, 2015 5:45 pm

plugins.file.showFileOpenDialog() opens a quite small FileOpenDialog which makes a solution look a bit 80th, if I may say so. :wink:
Sure it has its advantages as it works well on both WC and SC.

However, from an enduser point of view, its unusual to deal with it, as he/she is used to a complete other file dialog, as shown in the attachment.

Does anyone feel like me that it would be great to be able to launch the modern windows file opener?
Or is that even already possible with an existing plugin?

Thanks
Bernd Korthaus
Attachments
difference.png
difference.png (364.77 KiB) Viewed 1436 times
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Usual Windows File Opener would be great

Postby jcarlos » Mon Jan 05, 2015 7:34 pm

+ 1
Juan-Carlos Sanchez, Stanford University - Law and Economics
jcarlos
 
Posts: 569
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Crowdfunding as option to fund this

Postby Bernd.N » Mon Jan 05, 2015 9:42 pm

I have no idea how complex the creation of such a new plugin would be (or the enhancement of the existing one, which might be a better idea). But to just play with numbers a bit, lets say it would cost 5.000 $, then you need just 50 developers/companies/ISVs who put 100$ into a crowdfunding pot. Then all those developers would have peace with their users who want the usual windows file picker.

If that works, that financing model of costly plugins/modules might be a good bet for other urgently needed functionality, too.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Usual Windows File Opener would be great

Postby ptalbot » Mon Jan 05, 2015 10:18 pm

Problem here is not funding. It's the fact that the JVM doesn't use the native file browser window.
So the only way to do this is to use Native components, which is getting messy with all the deployment issues depending on the OS (Windows/Mac OS X/Linux) and the architecture (32/64-bit) and various security barriers introduced in Java with each new version... Support for the native dialogs in the BrowserSuite existed for years but can't support it anymore because of these issues.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Usual Windows File Opener would be great

Postby Bernd.N » Mon Jan 05, 2015 10:45 pm

I see the problem, when you look at it from a most generic view, where one wants to create one ideal file picker for all operating systems/environments.

Would it be possible to create just a windows-specific plugin, with embedding in Servoy code like this:

if windows-client
plugins.newFilePicker.showFileOpenDialog()
else
plugins.file.showFileOpenDialog()

It could even have a much reduced functionality, just pick one file and that's it.

The new web startups we compete with are extremly good at UI and UX, that's why I try to find a solution here to not look old against them. :)
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Usual Windows File Opener would be great

Postby ptalbot » Tue Jan 06, 2015 12:30 am

An implementation using the java.awt.FileDialog (instead of javax.swing.JFileChooser) is possible but 1/ its implementation is terrible on Linux, 2/ it lacks a few options like multiple mode and file filtering at least in earlier versions of Java. So a Windows specific implementation could be done for Java 7+, send me a PM if you're interested...
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Usual Windows File Opener would be great

Postby grahamg » Tue Jan 06, 2015 3:47 pm

Have you looked at Patrick's excellent implementation of the Multi-File Uploader?

My clients love the improved interface with native file systems and ability to select or drag/drop multiple files.

https://www.servoyforge.net/projects/multi-file-upload
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 722
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Usual Windows File Opener would be great

Postby Bernd.N » Tue Jan 06, 2015 4:17 pm

Thanks for the hint, however we need smart client, that plugin is web client specific.

In case it is technically not possible to invoke the normal Windows Filepicker from inside Servoy, the way we will try is to create an own form that gets automatically filled with all file names in a specific standard folder of a user. Standard sort order would be file date descending. That way we can create a nice state-of-the-art UI and do also multi-file-grabbing at once.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Usual Windows File Opener would be great

Postby david » Tue Jan 06, 2015 9:46 pm

Bernd.N wrote:however we need smart client ... That way we can create a nice state-of-the-art UI and do also multi-file-grabbing at once.


:shock:
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1723
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Usual Windows File Opener would be great

Postby Bernd.N » Tue Jan 06, 2015 11:08 pm

David,

when you cut out sentences inside my post, and also do not see it in the context of the left picture in my first post, then it does not show any more what I actually meant with that post. :)

Best, Bernd
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests