Please tell me how do you feel about removing the following code:
- dom/ - pedro/ - jabber_whiteboard/ - Scripts dialog - Java binding stuff - one of the Find dialogs - native Windows file dialogs
Rationale: - dom/ and Java binding are obsolete, the DBus binding should be used instead. For high performance applications there could be a binary plugin API, but I'd prefer to do that once the internal APIs are sane (right now they are far from it). - pedro/ and jabber_whiteboard/ contain Inkboard stuff which doesn't work. - The purpose of the script dialog evades me. To what extent does the scripting capability work? - There are two Find dialogs, one of them is disabled with a notice in the code encouraging to test it. This should be finally resolved. - Native file dialogs are a maintainability nightmare and aren't that much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
If you have a strong attachment to any of the above, keep in mind those are only suggestions.
Regards, Krzysztof
2010/11/7 Krzysztof Kosiński <tweenk.pl@...400...>:
- Native file dialogs are a maintainability nightmare and aren't that
much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
Does that mean that windows user won't see the native windows dialog for import/save/export/open, etc. and be forced to use the GTK+ one? There has already been much debate about this (not quite sure if it happened here or in the bug tracker) and opinions were quite polarized. Personally, I dislike the native GTK+ file dialog from the point of view of usability.
Regards.
Krzysztof,
- the whiteboard stuff was a good collaboration tool, I hope there is more development in this, - keep the native filedialogues for win32. there where many posts about to have them and not the gtk dialogues. I strongly suggest not to touch them before contacting the latest editors.
Adib.
2010/11/7 Krzysztof Kosiński <tweenk.pl@...400...>:
Please tell me how do you feel about removing the following code:
- dom/
- pedro/
- jabber_whiteboard/
- Scripts dialog
- Java binding stuff
- one of the Find dialogs
- native Windows file dialogs
Rationale:
- dom/ and Java binding are obsolete, the DBus binding should be used
instead. For high performance applications there could be a binary plugin API, but I'd prefer to do that once the internal APIs are sane (right now they are far from it).
- pedro/ and jabber_whiteboard/ contain Inkboard stuff which doesn't work.
- The purpose of the script dialog evades me. To what extent does the
scripting capability work?
- There are two Find dialogs, one of them is disabled with a notice in
the code encouraging to test it. This should be finally resolved.
- Native file dialogs are a maintainability nightmare and aren't that
much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
If you have a strong attachment to any of the above, keep in mind those are only suggestions.
Regards, Krzysztof
The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2010/11/7 Krzysztof Kosiński <tweenk.pl@...400...>:
- There are two Find dialogs, one of them is disabled with a notice in
the code encouraging to test it. This should be finally resolved.
There's a comment next to sp_find_dialog_old that it should be deleted, but I can't find the new (gtkmmified?) one. Was it ever coded?
- Native file dialogs are a maintainability nightmare and aren't that
much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
That is a truly religious issue for a lot of people, so I think we should not reopen this discussion. There are people dissatisfied with the current dialogs, but much more of those who will fight tooth and nail for the native dialogs.
On 2010-11-07 23:34, Krzysztof Kosiński wrote:
Please tell me how do you feel about removing the following code:
- dom/
- pedro/
- jabber_whiteboard/
- Scripts dialog
- Java binding stuff
- one of the Find dialogs
- native Windows file dialogs
As you may have noticed the last item on the list is subject of the debate, as for the rest: be my guest! Any dead or nearly dead code we remove will generally lead to a lighter, more stable and more maintainable Inkscape! I'd also love to eliminate one of pixblock-transform and nr-compose-transform, but perhaps some of the GSoC Cairoification work has taken care of this already.
Rationale:
- dom/ and Java binding are obsolete, the DBus binding should be used
instead. For high performance applications there could be a binary plugin API, but I'd prefer to do that once the internal APIs are sane (right now they are far from it).
Does the DBus binding work on Windows btw? If so, is there somewhere where I can read up on how to use it?
- pedro/ and jabber_whiteboard/ contain Inkboard stuff which doesn't work.
- The purpose of the script dialog evades me. To what extent does the
scripting capability work?
- There are two Find dialogs, one of them is disabled with a notice in
the code encouraging to test it. This should be finally resolved.
- Native file dialogs are a maintainability nightmare and aren't that
much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
I seem to remember that I also didn't like the GTK dialog much, but if you'd like to argue that Inkscape is not the proper place to fix it then I'd tend to agree. So personally I wouldn't be against removing the native dialog code from Inkscape. If we don't like it, lets try to fix it in GTK, and not make our code more complicated. (If you'd like to be on the safe side, make the native dialog optional for now, with a hidden switch or even a compile time option, if that's easy to do, then we can have some transition time.)
regarding this native dialogue thing: - the gtk dialogues write some configuration data. - this will then create troubles for the USB stick version of win32 - because the portable apps have to remove/recreate all new/changed data in the host directory system To be more verbose: for me to return to gtk dialogues is a no-go.
HTH,
Adib.
On Mon, Nov 8, 2010 at 11:41 AM, Jasper van de Gronde <th.v.d.gronde@...528...> wrote:
On 2010-11-07 23:34, Krzysztof Kosiński wrote:
Please tell me how do you feel about removing the following code:
- dom/
- pedro/
- jabber_whiteboard/
- Scripts dialog
- Java binding stuff
- one of the Find dialogs
- native Windows file dialogs
As you may have noticed the last item on the list is subject of the debate, as for the rest: be my guest! Any dead or nearly dead code we remove will generally lead to a lighter, more stable and more maintainable Inkscape! I'd also love to eliminate one of pixblock-transform and nr-compose-transform, but perhaps some of the GSoC Cairoification work has taken care of this already.
Rationale:
- dom/ and Java binding are obsolete, the DBus binding should be used
instead. For high performance applications there could be a binary plugin API, but I'd prefer to do that once the internal APIs are sane (right now they are far from it).
Does the DBus binding work on Windows btw? If so, is there somewhere where I can read up on how to use it?
- pedro/ and jabber_whiteboard/ contain Inkboard stuff which doesn't work.
- The purpose of the script dialog evades me. To what extent does the
scripting capability work?
- There are two Find dialogs, one of them is disabled with a notice in
the code encouraging to test it. This should be finally resolved.
- Native file dialogs are a maintainability nightmare and aren't that
much better than GTK dialogs; they are the reason I went for the "embed / link" popup hack for images instead of putting the checkbox in the import dialog.
I seem to remember that I also didn't like the GTK dialog much, but if you'd like to argue that Inkscape is not the proper place to fix it then I'd tend to agree. So personally I wouldn't be against removing the native dialog code from Inkscape. If we don't like it, lets try to fix it in GTK, and not make our code more complicated. (If you'd like to be on the safe side, make the native dialog optional for now, with a hidden switch or even a compile time option, if that's easy to do, then we can have some transition time.)
The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2010/11/8 Jasper van de Gronde <th.v.d.gronde@...528...>:
As you may have noticed the last item on the list is subject of the debate, as for the rest: be my guest! Any dead or nearly dead code we remove will generally lead to a lighter, more stable and more maintainable Inkscape! I'd also love to eliminate one of pixblock-transform and nr-compose-transform, but perhaps some of the GSoC Cairoification work has taken care of this already.
Indeed, those two files are no longer present in the Cairo branch.
Does the DBus binding work on Windows btw? If so, is there somewhere where I can read up on how to use it?
It doesn't ork on Windows yet. There is a big push from Glib people to get some version of DBus working reliably on Windows
2010/11/8 the Adib <theadib@...1439...>:
regarding this native dialogue thing:
- the gtk dialogues write some configuration data.
I think you are referring to the bookmarks in the left pane. This data is not essential to the correct functioning of the dialog, so the portable version will still work without problems even if the data disappears.
Here are the arguments so far. From the users' point of view, native dialogs are probably a good thing, but from the developers' perspective they are a huge pain.
In favor of keeping native Windows dialogs: 1. Some people like them more. 2. More consistent with other Windows applications.
In favor of removing them: 1. We don't have many experienced Windows developers, and tying up this scarce resource with maintaining what amounts to eye candy doesn't seem to be very wise to me. 2. Creates potential for platform specific bugs, e.g. https://bugs.launchpad.net/inkscape/+bug/285267 3. Having 2 versions of the dialog means that anyone who wants to add any feature to the dialogs must be proficient both in Windows API and in GTK.
I think there's one reason for opposition to GTK dialogs which might no longer be true. When native dialogs were introduced, the GTK file dialog resembled the Windows 3.x one, with the left pane for folders and the right one for files in the current folder. Right now it's very similar to Windows XP, with the left pane for frequently visited places and favorites and the right pane for files and folders. The only big difference in functionality is that you can't perform arbitrary file operations like copying, renaming and deleting from GTK file dialogs.
Regards, Krzysztof
2010/11/8 Krzysztof Kosiński <tweenk.pl@...400...>:
- We don't have many experienced Windows developers, and tying up
this scarce resource with maintaining what amounts to eye candy doesn't seem to be very wise to me. 2. Creates potential for platform specific bugs, e.g. https://bugs.launchpad.net/inkscape/+bug/285267
But file dialogs are definitely not where things are happening in Inkscape, so this burden is relatively small. It's not at all like maintaining two renderers :)
- Having 2 versions of the dialog means that anyone who wants to add
any feature to the dialogs must be proficient both in Windows API and in GTK.
We better avoid adding too much of our stuff to these dialogs anyway. They are traditionally the responsibility of the OS or widget library, not ours. We should strive to keep our contact area with them to the absolute minimum.
W dniu 8 listopada 2010 21:42 użytkownik bulia byak <buliabyak@...400...> napisał:
- Having 2 versions of the dialog means that anyone who wants to add
any feature to the dialogs must be proficient both in Windows API and in GTK.
We better avoid adding too much of our stuff to these dialogs anyway. They are traditionally the responsibility of the OS or widget library, not ours. We should strive to keep our contact area with them to the absolute minimum.
I was referring to e.g. an extra checkbox in the import dialog that specifies whether the file is to be embedded or linked, or a button that brings up format options (which are currently shown as a popup). Adding extra controls is supported in both GTK and native Windows dialogs, and is a standard practice, but is more difficult in Windows API.
Regards, Krzysztof
2010/11/8 Krzysztof Kosiński <tweenk.pl@...400...>:
I was referring to e.g. an extra checkbox in the import dialog that specifies whether the file is to be embedded or linked, or a button that brings up format options (which are currently shown as a popup). Adding extra controls is supported in both GTK and native Windows dialogs, and is a standard practice, but is more difficult in Windows API.
Now that I think about it, placing this checkbox into the file dialog seems a slightly weird UI choice. It mixes up different concerns. I know other software does it this way, but if I try to ignore the pressure of tradition and think about it objectively, it really seems to me that our current approach - one dialog to choose the file, the other to specify what to do with it - is more logical. For export, for example, it is normal to have two dialogs - one file dialog and one options dialog.
If I remember well, GTK dialog cannot follow Windows' links to directories. If so, can it really be considered a valid alternative to the native dialog? It's a serious limitation as links are a basic feature of an OS and I don't want huge directories on my desktop. But maybe this has been fixed since the last time I've been (forced to) using it.
Regards Luca
participants (6)
-
bulia byak
-
Jasper van de Gronde
-
Krzysztof Kosiński
-
LucaDC
-
Pajarico
-
the Adib