PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Fixed in KDE's SVN trunk. I will release it in version 0.9 soon. - Dec 11 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thanks for your report. I'm trying to fix that bug. Unfortunately it also crashes without using the journey function for some stops. Other stops work without problems, like my home stop. That's why I didn't notice the crash. - Dec 07 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

..trying to fix it. Somehow it doesn't crash with my home stop. That's why I didn't notice the crash. - Dec 07 2010
Glucose - Bloodsugar Diary

Plasma 4 Extensions by fpuelz 12 comments

Thanks ;)
The units are only changed in the plasmoid itself currently (should be everywhere except for the config dialog). But I will add that in a future version :) - Aug 19 2010
Glucose - Bloodsugar Diary

Plasma 4 Extensions by fpuelz 12 comments

a bit late but.. Have you installed the KDE sources? They are needed to compile the plasmoid. - Aug 19 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

You can use filters to only show trains in the direction you want. There're three directions from my stop and I have a filter for each. You can use the "via" filter, but I'm not sure if it works with SBB currently (it works if the next stops are shown in the departure board). You can for example create a filter that only shows departures of trains that go via a given station (eg. the first in the direction you want). - Jun 15 2010
Glucose - Bloodsugar Diary

Plasma 4 Extensions by fpuelz 12 comments

For me the installer works on Kubuntu 10.04, what's the problem, is there an error message?
And how did you try to compile? CMake is needed to generate the makefile, eg. cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`. - May 26 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

no problem ;) - May 26 2010
WebComicDownloader

Browser by gesthal 3 comments

Isn't this what the comic plasmoid does? You could write a plugin for it to get comics from other websites. - Apr 28 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

This is because you're compiling under KDE 4.3. It should have worked and will again after the next update ;) - Apr 20 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I don't think microsoft will ever support plasma applets ;)
And there's no package for publicTransport with kde-on-windows, but that may change at some time.
At http://windows.kde.org/ you can download KDE 4.4 for windows and try out plasma on windows. It's not yet complete though, the tasks list and system tray are missing.

So there's currently no way to download and install this applet on windows, sorry. - Apr 06 2010
KrossWordPuzzle

Board by fpuelz 165 comments

Great, thanks! :) - Apr 05 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I just don't know much about shell scripts ;) - Apr 02 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Yes, the "first departure" thing isn't a filter, it's just saying what data you want to download (and then filter it).
There must be something wrong when it displays departures before the given "first departure" time.
I think it's because it already has downloaded data when the filter gets changed. Therefore the data contains earlier departures, which should be sorted out. So I'll make it sort out old departures when filters change. - Apr 02 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

sorry, I always forget to update it..
Do you know how I could make it automatically find the right directory, ie. with any version number (there's always only one version of course)? Maybe I should just remove the version from the inner directories. - Apr 02 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I just fixed a crash when changing the filter settings. I think that's also your bug :)
It crashed when it tried to add a departure that was already added to the model. I don't know why it tries that but at least it doesn't crash anymore. - Apr 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

It's still inside the applet if it's big enough. I have the weather applet in a panel, so it popped up also before. But I don't know any other plasmoid that shows such a popup message. I don't think there's much broken now, maybe only visible with publicTransport ;)
But popup messages of all online applets when the network goes down isn't too nice ;) - Apr 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

It seems to be new in KDE SC 4.4.2 that the error messages (which are plasma dialogs) are popping up instead of just showing inside the applet. That's annoying, yes. The weather applet also has popup error messages which also annoys me ;) I'll change that. - Apr 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I'll try to fix that. It could be somehow because there're no departures for that stop. Maybe it's fixed if the applets adjust to changed global settings. - Apr 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

1. The parser doesn't know if there is (currently) no departure or if departures in the document couldn't be parsed, due to a wrong/changed format. Therefore it always gives an parse error message if it didn't match anything in the given document. Seems, like there are no departures around midnight for your stop on imhd.sk? If they have a special message like "currently no departures" I could give a better error message :)

2. Requesting data works per stop, because it's not using an API from the providers (there is none) but just download the HTML documents and then parse them. And I haven't seen a site where departures for multiple stops can be shown at once? The reason that you get no results, is that imhd.sk has no way (I know of) to get departures at a time which isn't now.. If you know one please tell me :) That would be something I can write into the URL to the departure board. I haven't found anything in the site.

3. I will think of a way of doing this, should be possible to get informed if the global settings change.. - Apr 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The settings are in ~/.kde4/share/config/plasma-desktop-appletsrc. There are global settings for the applet in [AppletGlobals][plasma_applet_publictransport], try to delete those first. If that doesn't help the per-applet settings are in something like this

[Containments][X][Applets][X]
geometry=872,489,400,300
immutability=1
plugin=publictransport
zvalue=568. But that's only stored for applets that are already in the desktop.

Please send me the "bad" settings, so I can try to fix the freeze. - Mar 27 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm, the log doesn't have much information in it. But I guess plasmoidviewer didn't freeze? Is the bug reproducible? Maybe there were "bad" settings from old versions that caused something to go wrong.
Did you have filters in your config? Or alarms (well I don't think as you just updated to 0.8)? - Mar 27 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

That's already possible: 1. in the details of the stop settings dialog is a combobox for choosing the filter config for the stop settings. 2. In the filter page there's a tab "Filter Uses" where you can set the filter config for each stop settings (but that might not work with the current version, I've fixed that for the next release). - Mar 21 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thanks! - Mar 18 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Great thanks!
(but can't test it here ;)) - Mar 15 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I asked Finswimmer to update the ebuild.

If he doesn't (no time or whatever) maybe someone else can make a new ebuild? - Mar 15 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The combined view of departures for multiple stops is meant to be used for stops that are very near to each other, ie. stops that are virtually one stop (but with different names). ..and I can't think of a nice way to make it possible to set the first departure time for each stop of each combined stop setting. If you want to see departures of two stops that are eg. 30 mins apart from one another you'll have to use two applets or switch between the two stops in one applet.. sorry
But I will make the first departure and alarm time settable independently for each stop. - Mar 15 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Checkboxes in the filter settings page would produce a problem: When a stop setting gets unchecked (to not use the current filter configuration), some other filter configuration needs to be set. That other filter config could be "Default", but what it someone unchecks a stop setting while the "Default" filter config is opened.
So in beta 3 I implemented another approach: A new tab where all stop settings are listed with the used filter configs and the used filter configs can be changed. This gives a nice overview and more space for the filters. - Mar 12 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I've remembered something ;)

Each filter constraint has a combobox, I called it "filter variant" in the source code. For vehicle types there are two variants: "one of" and "not one of". So to only show buses you can do it in two ways:
1. Select "Show Matching" and add a filter for vehicle type "One Of" (x) Bus. Showing only buses.
2. Select "Hide Matching" and add a filter for vehicle type "Not One Of" (x) Bus. Hiding everything which isn't a bus, ie. showing only buses.

Every variant has a negation, so a filter action combobox for each filter isn't needed :) - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

;) I just wanted to answer, but you already found it out.
With the new checkbox to enable/disable filters that won't be a problem. - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

It's not possible to combine stop settings (which are combined stops). You can create three stop settings: One with stop A, one with stop B and one with both stops.
The "filter config per stop settings" is useful if you have stop settings defined for stops in some other city / country, where targets have different names, lines have different numbers and so on. If you travel a lot you can then quickly change the current stop to where you are and the filters will also change appropriately. It can also be useful for stops in the same city.

Allowing to combine combined stops seems to make it more complicated. - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Ah, ok ;) Maybe it should be called "Add Stop Setting".. And maybe the "+" inside the stop settings dialog should also get a label, something like "Add Combined Stop". Maybe it's also sufficient to label the "inner" "+" button.

But I'll use your filter config ideas :) - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm.. It provides a menu button for stop selection: "Switch Current Stop". Mostly all functions are now also available through the context menu..
The old switch current stop function is removed now, you can now only switch between stop settings. I think that's good enough? It always shows all stops of the current stop settings combined.
But you can define multiple stop settings: One with multiple stops combined and one with only one of them. - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Good idea, I'll remove the "Show All" entry and add one checkbox to enable/disable filters. That can then also be used from a context menu in the applet.

Having the filter action for each filter (in the filter configuration) would be overkill, I think (and crowds the ui). I think it's flexible enough with one filter action for all filters of a filter configuration? - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

a) I've changed the stop settings for these reasons: 1. Most of the time you won't need to change your stops (you can define multiple stop settings to switch between), 2. Having all those widgets in there multiple times (for multiple stop settings) makes it a bit overcrowded, 3. Stop settings can now directly be checked after input (closing the additional dialog), 4. The wheather applet does it the same (not the best reason ;) I think they do it for the same reasons 1+2+3). With your filters mockup the filters used by each stop can be controlled in the filters page, so one less reason to click the "change" button :)

b), c) The filter page is now only used to setup filters, ie. the combobox on top is just there to open a filter configuration for editing, not to use it in the currently selected stop. That's why the last selected filter configuration in that page isn't remembered. To use a different filter for each stop, you first need to define different filters in the filters page. Then you can change the used filter configuration for each stop by clicking that "change" button (since beta 2 it's in the details of the dialog).

With your stop selection mockup it wouldn't be possible to define multiple stop settings. That's handled a bit differently than in previous versions: You can now have multiple stop settings where one of them is displayed in the applet at a time. Each of those stop settings can then have multiple stops to be combined in the departure view. Effectively this seperates two features: Switch between multiple stops and combine multiple stops in one view. I've also added some What's This texts, improvements here are welcome :)

I like your filter config mockups, ie. turning the "Used by X stops" label into checkboxes. Maybe I can use my CheckCombobox for that, that's already used for vehicle type selection in the filters (but with only one icon and all names seperated by ","). This way it should be clearer how to use the filter configurations. And it's one less reason for the need to click "change" in the stop settings :)


Thanks for your work and feedback! - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thanks :) - Mar 10 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm.. I only changed the version number in the .desktop file.
Maybe it's name is translated now and wasn't with 0.6.10? It should be under "Online Services".
Don't know what it could be. Maybe a wrong install prefix?
I also cannot reproduce that here. - Mar 09 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Right, thanks!
It saved the city if the city widget is visible (because it's only visible if it's used). But unfortunately when the settings are saved the whole dialog is invisible, therefore it did never save the city..
But it's fixed for the next version. - Mar 09 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Maybe a
> kbuildsycoca4
helps? - Mar 09 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Uh... for me too, when starting it without settings. :(
But I've already fixed that and will release a Beta 2 soon. - Mar 09 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

cz_idnes.xml is correct in 0.6.10, ie. that fix is in it. I just checked it. I have no idea how the file could get wrong again for you.. But installing a freshly downloaded publicTransport 0.6.10 with the right install prefix should work. - Mar 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Fortunately it already works in my current development version ;) It currently shows two bus lines for your stop. Don't know what the problem was ;)
The next version should be out soon. - Mar 01 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Ah I remember that and it's already fixed (using toDouble now). But it haven't yet made it into a release.. It shouldn't take too long until version 0.7, which then should compile again with Qt 4.5 :) - Feb 25 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

It should also compile with Qt 4.5. If you get compiler errors, please send them to me (I don't have a Qt 4.5 system..). - Feb 25 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

- I think the switching between multiple stops gets more intuitive, when it's named something like "Switch Current Stop" and the popup menu shows radio items. And maybe there should be another icon which shows a config icon in the applet and the stop icon on the left shouldn't be clickable.
- I'll update the settings dialog, each stop will then have it's own config dialog with the possibility to select filter configurations (from the ones defined in the filters page). And each stop can then use another service provider.
- For the filter config page I had a look at the filter dialog of KMail. They have radio buttons to select if mails should be filtered out with all or at least one matching filter. I'll add that. The tab widget in the filter page can be replaced by a combobox to select a type for each filter. And each filter gets some widgets for setup (maybe open a seperate dialog).
- I've already fixed the bug with the empty stop field. Thanks :)
- For the Umlaut-problem: Does it show the wrong stop only for dvb.de or also for bahn.de? If it's only with dvb.de, you should try to find out the exact stop name at dvb.de. The stop suggestions are popping up while typing. It has a stop named "Plauen Nöthnitzer Straße", maybe that works better, if that's the stop you want. With only "Nöthnitzer" dvb.de maybe "thinks" that it matches another stop. With stop suggestions supported for dvb.de that wouldn't be a problem.. But the urls I tried to find out only give an empty "<ul> </ul>" without stop suggestions. - Feb 17 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hi, they again changed the format of the results pages a bit (the transport line columns now have another formatting tag). It's half-fixed now (vehicle types missing). But it will be fully fixed for the next version.

The geolocation feature needs publictransport data at openStreetMap for your found location. The location comes from the geolocation data engine, which uses IP-based geolocation if no GPS data is available (which isn't very accurate). The next version will also replace found stop names with stop names of the service provider (if any are found). So it's likely that this feature won't work if no GPS is available, I think I should disable the feature for less-accurate geolocation. If it doesn't work although you have GPS, it will be missing data at openstreetmap. - Feb 17 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

- The toReal thing and the install errors are fixed now :) Thanks.
- For dvb.de there's no support for stop suggestions (because I haven't found an URL to get them). There's a list of supported features displayed for each service provider in the combo box, for dvb.de there's only "Type of vehicle"(-parsing).
- You can setup multiple stops (just click the "+"-button next to the stop input field) and switch between them by clicking on the icon on the top left of the applet. But all stops currently have to be at the same service provider, it was meant to be able to show combined results of two or more stops that are near the user. I will add something so that it at startup automatically switches between the stops defined, based on results of geolocation (if accuracy is high enough, eg. no IP-based geolocation). There's a geolocation feature since the last version which uses plasmas geolocation data engine. It works IP-based or with GPS. There's also some work in playground for a geolocation backend based on wireless access points. That feature actually uses three data engines ;): "geolocation" to get the current position, "openstreetmap" to get stop names near that position and "publictransport" to replace those stop names with the ones used by the service provider. So this feature needs GPS, publictransport data at openstreetmap for the found location and a matching stop name at the service provider..
- I'll look into the problems with Umlauts (I'm using a stop with an "ß", at least that works).
- And I'll change "Filter This Departure" to "Hide This Departure".

Thanks :) - Feb 17 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Updated :)
The main icon (with the "H") could need some more love though. Maybe a more international icon would be better.. - Feb 16 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I have the exactly same setup :)
You should try to download the sources again, the file ("publictransport.cpp") is definitely in the source archive. I just tried to download, untar and build it without problems. - Feb 14 2010
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

All icons are now using oxygen colors and that indeed looks much better :)
Will be in the next version. - Feb 10 2010