primordic/IssueDupesLite huggingface dataset:
Repository: tumic0/GPXSee

Issue #164: [Feature Request]: Speed heat map on tracks
Created: 2018-10-09T10:35:44Z
A picture is worth a thousand words (screenshot taken from runtastic):

If you want more details, I have also opened an issue in Osmand (the app I use for gps recording), but they're already flooded with issues and feature requests. It's already full of features, and I don't need to have this visualization on my phone. In fact I feel more comfortable analyzing my tracks on my desktop computer, which is why I'm posting this here.
I'm really interested in this feature, and am ready to implement it myself if you think that's possible. (Qt/C++ is much more within my skill domain than Android/Java)

Duplicate issue #471: vary track colour by value
Created: 2022-12-21T20:20:06Z
Currently the track colour is constant (default blue), it would be useful to be able to select a variable (speed, heart rate, distance or time from the start etc) so that the hue varies according to the normalised value.  The graph cursor is useful, but this would be better in some situations, eg. self-intersecting tracks where the order of loops is not obvious.

Closing comment (2022-12-22T00:54:26Z): Duplicate of #164.
The situation is still the same. This would require non-trivial changes in the program and the resulting feature is not worth the effort for me.
Repository: tumic0/GPXSee

Issue #35: Absolute time graph
Created: 2017-09-30T01:21:45Z
It would be nice to be able to have graphing by absolute time, so multiple tracks can be strung together, and also compare tracks recorded at the same time but different starting times.

Duplicate issue #543: Allow to set the daytime (Local or UTC) as x-axis at the graph
Created: 2024-05-31T14:45:32Z
Hi!
Thank you for your great tool!
I miss one feature when evaluating my paths:
I want to see the daytime as x-axis at the graph display,
but I only can choose between "time" (I am wondering, what this "time" is)
and "distance"
Greetings,
Holger

Closing comment (2024-05-31T17:03:28Z): Duplicate of #35
Repository: tumic0/GPXSee

Issue #543: Allow to set the daytime (Local or UTC) as x-axis at the graph
Created: 2024-05-31T14:45:32Z
Hi!
Thank you for your great tool!
I miss one feature when evaluating my paths:
I want to see the daytime as x-axis at the graph display,
but I only can choose between "time" (I am wondering, what this "time" is)
and "distance"
Greetings,
Holger

Duplicate issue #554: Feature request: show daytime in the graph. 
Created: 2024-08-25T19:59:59Z
Hi It would be nice, if the daytime could be shown at the x-axis.
Thank you for your great work

Closing comment (2024-08-25T20:24:33Z): Duplicate of #543.
Repository: tumic0/GPXSee

Issue #287: No Maps are shown
Created: 2020-05-01T15:43:46Z
This Software seems to be exactly what I need. Unfortunately it shows no maps. All I see is a white blank page, if I load my tracks i see them, but only on the white background. Switching the map on off button changes nothing. I also tryed to change map source or download new maps. System is Windows10 with latest patches

Duplicate issue #404: Map not loaded
Created: 2021-10-29T10:58:09Z
on WIN7 from DebugView:
[6308] QIODevice::read (QDisabledNetworkReply): device not open
[6308] https://tile.openstreetmap.org/2/3/1.png: Der Zugriff auf das Netzwerk ist nicht gestattet.
[6308] QIODevice::read (QDisabledNetworkReply): device not open
telnet access in CMD is working:

telnet tile.openstreetmap.org 443

But no PING (this is blocked)
No other Program has similar issues.
Any idea ?
Many Thx and kind Regards

Closing comment (2021-10-29T13:47:13Z): Duplicate of #287
Repository: tumic0/GPXSee

Issue #14: more graphs visible together
Created: 2017-01-02T08:53:20Z
what about to change graphs from QTabWidget to QDockWidget? It can allow me to see more graphs in parallel...

Duplicate issue #535: show multiple graphs next to each other
Created: 2024-03-28T14:10:27Z
GPXsee can load elevation, speed, power, heartrate and show in charts in tabs. One chart visible at a time. And while dragging the mouse through the chart, you can correlate to the location on the map. That's real nice.
What would be even better is , if there would be a way to show all the charts at once, next to (or on vertically on top of) each other so I can also correlate, e.g., power and heartrate.

Closing comment (2024-03-28T17:22:10Z): Duplicate of #14.
(Now with the Android version there are even more reasons why not to go this way)
Repository: tumic0/GPXSee

Issue #245: Add man file (for linux distributions) and verbose output.
Created: 2019-11-04T05:54:38Z
Related points.
At least as far as I can tell, there's no man files, and -h --help --version --verbose don't do anything when invoked from the command line. These would be capital (I'm requesting a man page).
The verbose option would be especially nice, since in trying to troubleshoot things, I would like to potentially be able to see details of fetches both when they're working and when they have errors, but maybe other issues. If this is output to stdout or strerr, they could also be redirected as needed. (I'm requesting verbose modes, along with some other standard command line options)

Duplicate issue #517: Implement --help usage message
Created: 2023-09-10T10:03:41Z
$ gpxsee --help
should print a usage message.
Afterwards maybe add a man page...

Closing comment (2023-09-10T10:14:01Z): Duplicate of #245
Repository: tumic0/GPXSee

Issue #499: Additional fields from e-bike FIT file
Created: 2023-06-05T02:52:12Z
I'd like to be able to visualize some additional fields from the FIT file my e-bike generates:

motor_power
curProfileScale
curCurrentScale
currAssist
currBattery
currBattery2

It looks like a fair amount of code duplication to add another field type to the graph area.  Any thoughts on generalizing that code so that fields can be sourced from the data file and displayed automatically, rather than adding new GUI elements for every possible field?

Duplicate issue #523: FR: Graph any available user activity data
Created: 2023-10-25T05:12:33Z
It'd be great to be able to view graphs of data logged to custom activity fields.  Arbitrary numeric values such as battery level, vehicle count, tire pressure or beers earned which can be recorded by Garmin apps/datafields.  These data fields could be automatically discovered in the .fit file and added as graph tabs.
And having the ability to overlay multiple values on a plot would be very helpful. For example to see the correlation between elevation, heart rate & beers earned :-)

Closing comment (2023-10-26T00:10:02Z): Duplicate of #499
Repository: tumic0/GPXSee

Issue #222: Close a given track
Created: 2019-08-19T19:45:58Z
Hello,
When moving mouse on a track, it's outlined.
Maybe a contextual menu could be add (on outlined track map or elevation graph) to close outlined track (keeping others tracks opened)
Kind regards

Duplicate issue #365: Idea: Selectable List of loaded tracks for display
Created: 2021-04-21T07:29:26Z
Fist off all: WAHT A WANDERFULL SOFTWARE, thank you very much :-)
I am a big fan of data protection and thus record my tracks fully offline and do not want to publish them. With your software I can now browse all my tracks in easy. It even worked for all at once: 700 tracks loaded in just few second. EXCELENT, thank you.
One thing would do improve my use experience as I load several tracks at once all the time: a sidebar that lists the loaded tracks and each one of them can be selected/deselected for display in the map.
Maybe this is already in the pipeline, but if not, It'll be great feature.
thx,
zavjah
BTW: Can I somehow donate to support your project?

Closing comment (2021-04-21T22:19:57Z): This has been discussed here several times, the last still open issue with this topic is #222. GPXSee was designed with the clear intent not to work with track lists as most other similar tools, but rather use the saved screen space for something more usable like the map or graphs. Some kind of track selection might be handy in some use cases, but it is not trivial to fit it into the current UI/UX and in general it has a very low priority for me.
Closing as duplicate of #222.
Repository: tumic0/GPXSee

Issue #466: Call the link to Google Play by its real name
Created: 2022-12-14T22:39:47Z
On https://github.com/tumic0/GPXSee there is a link "Android APKs".
But it is instead the link to "install the app from Google Play."
So that is what the link should be called. Because it's extremely different than being able to "wget some .apks".

Duplicate issue #465: Add giant "Download from  Google Play" button
Created: 2022-12-14T22:32:57Z
On https://www.gpxsee.org/index.html#download there is just this passing mention

On Android, you can install GPXSee from the Google Play app store.

And then the user is supposed to go searching around for it there.
But other apps always have this giant banner link for downloading them from Google Play.
So perhaps there could be a at least a hyperlink provided as a compromise, to help users find their way.
The link is in #466.

Closing comment (2022-12-15T00:10:11Z): Closing this as a duplicate of #466
Repository: tumic0/GPXSee

Issue #359: Keyboard shortcuts / next-previous point 
Created: 2021-04-06T19:55:33Z
Hello,
when focus is on Altitude or Speed tab supporting left/right arrows as keyboard shortcuts to move to next or previous point could be a nice improvement.
Thanks again for this nice software.
Kind regards

Duplicate issue #360: Keyboard control for slider in graph
Created: 2021-04-07T09:14:19Z
The slider in the graph window can be moved using the mouse, and the associated position along the track is indicated with a red '+'. That is a very useful feature, but it is difficult to position the slider precisely using the mouse. Especially on laptop with a trackpad. Would it be possible also to allow the use of left and right arrows on the keyboard to move the slider more precisely?

Closing comment (2021-04-07T21:25:44Z): Duplicate of #359
Repository: twbs/bootstrap-sass

Issue #108: bootstrap-sass disappearing from compass frameworks when in rails
Created: 2012-04-07T16:17:06Z
I'm not sure if this is the right project to open an issue in.
$ compass frameworks -r "bootstrap-sass"
Available Frameworks & Patterns:
  [...]
  * bootstrap
    - bootstrap/project    - Bootstrap for Sass
$ compass frameworks -r "rails" -r "compass-rails" -r "bootstrap-sass"
Available Frameworks & Patterns:
  [...]

I first noticed this since in my Rails project I had:
$ bundle exec compass init rails --using bootstrap
No such framework: "bootstrap"

But outside rails I could initialize with bootstrap. I have the proper gems in my Gemfile:
gem 'compass'
group :assets do
  gem 'compass-rails'
  gem 'bootstrap-sass'
end

And I require 'bootstrap-sass' in config/compass.rb
project_type = :rails
require 'bootstrap-sass'

Duplicate issue #109: Syntax error: File to import not found or unreadable: bootstrap.
Created: 2012-04-08T20:25:28Z
Running Rails 3.1.1 with bootstrap-sass 2.0.2 and sass-rails 3.1.5
Have added require directives to application.js and the javascript is being included fine, but I can't get the css to load.
When I try and @import "boostrap"; I get an error from compass saying it can't find bootstrap.
At the moment I have only one .scss file (alpha_main.scss) that contains the import directive and one css rule.
From the trace, it looks as though bootstrap is not in the compass load path.
I have tried adding (manually) require 'bootstrap-sass' to config.rb in rails but this hasn't made a difference.
I have tried all the obvious things like restarting webbrick etc.
Syntax error: File to import not found or unreadable: bootstrap.
              Load paths:
                Compass::SpriteImporter
                /Users/dgs/code/spelling/public/stylesheets/sass
                /Users/dgs/code/spelling/app/assets/stylesheets
                /Users/dgs/.rvm/gems/ruby-1.9.3-p125-perf/gems/compass-0.12.alpha.4/frameworks/blueprint/stylesheets
                /Users/dgs/.rvm/gems/ruby-1.9.3-p125-perf/gems/compass-0.12.alpha.4/frameworks/compass/stylesheets
                /Users/dgs/.rvm/gems/ruby-1.9.3-p125-perf/gems/compass-colors-0.9.0/sass
                /Users/dgs/.rvm/gems/ruby-1.9.3-p125-perf/gems/fancy-buttons-1.1.2/lib/stylesheets
        on line 1 of /Users/dgs/code/spelling/app/assets/stylesheets/alpha_main.scss

1: @import "bootstrap";
2: div  {
3:   border: 1px solid blue
4: }

Closing comment (2012-04-09T09:50:08Z): Looks like you're using Compass, which would make this a dupe of #108.
Repository: twbs/bootstrap-sass

Issue #1053: Support Bootstrap 4.0?
Created: 2016-07-07T11:34:10Z
Can we slowly adapt to the https://github.com/twbs/bootstrap/tree/v4-dev alpha branch and support Bootstrap 4.0 (not in the master though, of course)?

Duplicate issue #1134: Plan to support Bootstrap 4?
Created: 2017-09-01T16:08:26Z
Is this a thing? After it leaves beta, that is.

Closing comment (2017-09-01T16:09:24Z): Closing as dupe of #1053
Repository: twbs/bootstrap-sass

Issue #244: Bootstrap 2.2
Created: 2012-10-30T08:19:22Z
Yes, Bootstrap 2.2 is out, yes I've been lagging behind a little bit, let's change that. This release will bump to requiring Sass 3.2 or higher, hurrah.
Subscribe as per usual below with the dropdown.

Duplicate issue #248: _media.scss missing?
Created: 2012-11-06T21:54:32Z
Hello,
Are the Media object styles missing?
http://twitter.github.com/bootstrap/components.html#media
I don't see a _media.scss file in this gem to match _media.less in the official bootstrap distribution.
Thanks,
JPG

Closing comment (2012-11-06T22:03:25Z): Dup of #244
Repository: twbs/bootstrap-sass

Issue #875: bootstrap-compass font path force to be absolute
Created: 2015-03-20T10:21:32Z
I upgraded the Boostrap Sass to 3.3.4.1 from 3.3.3, using Compass 1.1.0.alpha.3 in Win8/Pro
Because I need to use a relative path for the Boostrap Sass, I try to find the solution.
And I come up with #650
I am using the import like:
@import "bootstrap-compass";
@import "bootstrap";
However the path is still absolute, not relative. I have refer to #662 also.
So, how to change the path correctly?

Duplicate issue #931: glyphicons 404 not loading after removing and copying font files
Created: 2015-06-30T22:18:56Z
Glyphicons were working no problem using the Readme b. Compass rails-sass gem setup. After accidentally removing the font/bootstrap/* files the browser presents me with 404 errors on the .woff, woff2 and the ttf files.
My git diff on the generated style.css shows following:
@font-face {
   font-family: 'Glyphicons Halflings';
-  src: url(../fonts/bootstrap/glyphicons-halflings-regular.eot?1435571832);
-  src: url(../fonts/bootstrap/glyphicons-halflings-regular.eot?&1435571832#iefix) format("embedded-opentype"), url(../fonts/bootstrap/glyphicons-halflings-regular.woff2?1435571832) format("woff2"), url(../fonts/bootstrap/g
+  src: url(/fonts/bootstrap/glyphicons-halflings-regular.eot?1435701655);
+  src: url(/fonts/bootstrap/glyphicons-halflings-regular.eot?&1435701655#iefix) format("embedded-opentype"), url(/fonts/bootstrap/glyphicons-halflings-regular.woff2?1435701655) format("woff2"), url(/fonts/bootstrap/glyphic
 }

Why has the font url changed from an relative to an absolute url?

Closing comment (2015-07-01T21:49:25Z): @glebm
Ok what seems to get me back on track is adding following:
$bootstrap-sass-asset-helper: false;
$icon-font-path: "../fonts/bootstrap/";

In the _bootstrap-variables.scss as @simongcc suggests in #875 via @cvrebert so the issue seems to be related to #875.
Repository: twbs/bootstrap-sass

Issue #1042: Update jQuery dependency resolution
Created: 2016-06-09T20:17:30Z
When pulling in bootstrap-sass via bower, the jQuery dependency rule is set to "jquery": ">= 1.9.0" but bootstrap will throw an Error if jQuery 3.x is used. Since jQuery just released 3.0, this is breaking builds in the wild.
Suggest updating your dependency rule to match bootstrap: "jquery": "1.9.1 - 2"

Duplicate issue #1041: bower.json should restrict to jquery < 3?
Created: 2016-06-09T20:17:03Z
This issue is to suggest restricting jquery to < 3 in bower.json.  Currently (as of 3.3.6), Bootstrap's bower.json says this (from here):
"jquery": "1.9.1 - 2"

But this project's bower.json says this:
"jquery": ">= 1.9.0"

The user will get an error like the following at runtime if jquery 3 winds up getting installed: "Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3"

Closing comment (2016-06-10T07:10:59Z): Duplicate of #1042.
Repository: twbs/bootstrap-sass

Issue #920: Needs sass >=3.3.0 in order to use @at-root
Created: 2015-06-17T22:54:55Z
bootstrap-sass currently has sass >= 3.2.19 as a dependency.
_glyphicons.scss uses @at-root which is a feature new to sass 3.3.0.
I've been trying for hours to fix my icons after updating bootstrap-sass but not the sass gem.

Duplicate issue #925: glyph-icons are showing up as rectangles
Created: 2015-06-22T09:32:25Z
I am using bootstrap-sass 3.3.3.
The glyphicons are showing up as square rectangles []
I have no errors when i inspect element
application.scss
@import "bootstrap-sprockets";
@import "bootstrap";
application.js
//= require bootstrap-sprockets

Closing comment (2015-06-23T19:34:23Z): Ok, closing this as a duplicate of #920 then.
Repository: twbs/bootstrap-sass

Issue #494: libsass support
Created: 2014-01-04T15:21:01Z
Compilable with libsass (0.3.8)
 Compilation test
 docs

Blocked by

sass/libsass#231
sass/node-sass#212

Duplicate issue #506: libsass & bootstrap-sass give error on if statement
Created: 2014-01-21T10:24:33Z
I am trying to use bootstrap-sass in a Visual studio MVC.NET project with VSWE. VSWE, an addon, uses nodejs & libsass to compile SASS. But it throws an error on the bootstrap-sass code:
\vendor\bootstrap\assets\stylesheets\bootstrap_glyphicons.scss:13: error: non-terminal statement or declaration must end with ';'
This happens in _glyphicons.scss on the if statement:
... src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{...

I've been tinkering with it and got a working bit of code. Could somebody validate this change? I don't know ruby so i can't help there but this is the code i'm looking for in SASS _glyphicons.scss (or can i do a pull request for this code?):
//Why do we need to import the variables here? is it because of dependency order?  @import "bootstrap/bootstrap" orders by alphabet?
@import "_variables";

//initializing the path outside of the url will makes us work nice with libsass
$icon-font-url-part : if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}'), #{$icon-font-path}#{$icon-font-name});

  font-family: 'Glyphicons Halflings';
  src: url('#{$icon-font-url-part}.eot');
  src: url('#{$icon-font-url-part}.eot?#iefix') format('embedded-opentype'),
       url('#{$icon-font-url-part}.woff') format('woff'),
       url('#{$icon-font-url-part}.ttf') format('truetype'),
       url('#{$icon-font-url-part}.svg##{$icon-font-svg-id}') format('svg');

Closing comment (2014-01-23T11:10:26Z): dupe of #494, libsass doesn't support ifs in urls at the moment
Repository: twbs/bootstrap-sass

Issue #366: v2.3.1.2 error - "undefined method []' for nil:NilClass" in Rails precompile
Created: 2013-05-27T17:43:33Z
Since my Rails app's bundle updated to bootstrap-sass v 2.3.1.2, I get this error when trying to precompile assets:
undefined method []' for nil:NilClass (in [my app directory]/app/assets/stylesheets/application.css.scss) [my home dir]/.rvm/gems/ruby-1.9.3-p374@athena/gems/bootstrap-sass-2.3.1.2/lib/bootstrap-sass/compass_functions.rb:17:insprockets_context'
[my home dir]/.rvm/gems/ruby-1.9.3-p374@athena/gems/bootstrap-sass-2.3.1.2/lib/bootstrap-sass/compass_functions.rb:5:in image_path' [my home dir]/.rvm/gems/ruby-1.9.3-p374@athena/gems/sass-3.2.9/lib/sass/script/funcall.rb:112:in_perform'
Locking the version to 2.3.1.0 prevents this error.
The backtrace points to the line changed in this commit:
26a30c1
Is this a mistake on the part of the committer, or is there something we should be doing that would prevent the error?

Duplicate issue #371: NoMethodError on line ["17"] - undefined method `[]' for nil:NilClass
Created: 2013-05-31T16:27:01Z
Hi guys,
Just a warning, updating the bootstrap-sass gem today to 2.3.1.2 I received this error:
NoMethodError on line ["17"] of /Users/adamjwaite/.rvm/gems/ruby-2.0.0-p0/gems/bootstrap-sass-2.3.1.2/lib/bootstrap-sass/compass_functions.rb: undefined method `[]' for nil:NilClass
Downgraded it to 2.3.1.0 in my Gemfile and it started working again. I'd fork and try fix myself but I'm just learning Ruby!
Just letting you know.
Thanks.

Closing comment (2013-05-31T16:34:11Z): Thanks for the report, but this is a dup of #366
Repository: twbs/bootstrap-sass

Issue #145: clicking nav expand button expands and collapses back on mobile safari
Created: 2012-05-21T21:41:22Z
-bootstrap-sass 2.0.3
-deployed on Heroku
-happens only on mobile safari
The responsive-bootstrap navbar template appears, clicking to expand it the page seems to refresh itself and the iphone loading indicator is running. The navbar simultanously expand and then collapses back up.
At first I thought it was something to do with the assets precompile, since that wouldnt reproduce on iOS simulator in development.
BTW - in development the bootstrap.js file is empty, only the specific ones contain code.

Duplicate issue #141: NavBar is not functioning correctly with 2.0.3
Created: 2012-05-14T10:29:20Z
After updating the gem to 2.0.3 we have some problems with the navbar. At certain times it is not possible to click on the menu-items. It looks like it is randomly.
Switching back to 2.0.2 solved the problem for the moment.

Closing comment (2012-05-22T10:22:50Z): It's possible this is related to #145/#146, which should be fixed in 2.0.3.1. Have you got a simple test case I can use to debug?
Repository: twbs/bootstrap-sass

Issue #961: Glyphicons font not loading in Rails 4.0 app
Created: 2015-09-03T19:10:01Z
Following the advice found in many of these issues, I am unable to solve the problem of the missing Glyphicons font.
Our project is open-source (repo) and can be seen online (website).
Relevant gems:

rails (4.0.13)
bootstrap-sass (3.3.4.1)
sass-rails (5.0.3)
sass (3.4.18)
sprockets-rails (2.3.2)

In our application.css.scss:
@import "bootstrap-sprockets";
@import "bootstrap";
@import "bootstrap/theme";
// ...

What am I missing? What versions work?

Duplicate issue #929: Need to specify sprockets version with rails 4.0.1
Created: 2015-06-29T20:34:42Z
I'm running rails 4.0.1 with twitter bootstrap.
On the latest version (3.3.5.1) I need to downgrade sprockets in order for glyph icons to work:
http://take.ms/fE7R9
cryogenx/nomster@master...kenmazaika:fixed
Is Rails 4.0.1 support deprecated with the latest version of this gem?

Closing comment (2015-09-10T01:26:11Z): This might be related to #961.
Repository: twigphp/Twig

Issue #1368: {{ -3 }} vs {{ (-3) }}
Created: 2014-03-25T20:04:47Z
Hello,
I don't know if it is expected to be like this, but why is 3 interpreted as an expression in this case {{ -3 }} ?  different from {{ (-3) }}

Duplicate issue #1322: parsing error with negative numbers as default parameters
Created: 2014-01-24T09:23:35Z
As far as I can see, there is no way to use a negative number as a default parameter value:
{% macro image(entry, transform="", tag=-1) %}
{% macro image(entry, transform="", tag = -1) %}
both give me an Unexpected token "operator" of value "-" error

Closing comment (2014-03-27T10:25:25Z): Similar to #1368
Repository: twigphp/Twig

Issue #340: Casting Issue / Threequals request
Created: 2011-05-26T23:33:18Z
Today, I wanted to omit one item from a group.  For some reason though, the item I wanted to omit and the first item in the array were being omitted.  My code looked like this:
{% for name, item in somearray %}
  {% if (name != 'somestring') %}
    {# do the stuff for the ones not omitted #}
  {% endif %}
{% endfor %}

Well, I found that the issue was a cause of the fact that the following resolved to true:
{% if (0 == 'somestring') %}
{# and this also #}
{% if ('somestring' == 0) %}

This was being converted to PHP, which was also resolving to true, so the problem isnt in Twig.  Hooray!  Now this is definitely a "gotcha", so perhaps twig could implement casting if the string comes first?  Or also twig could implement a === (threequals) operator.
I solved it by casting the name above to a string like so:
{% if (name ~ '' != 'somestring') %}

Whatever the case, I daresay template designers will be befuddled by the above issue.  I'm not sure there's an easy solution here, but if there IS, I'd glady submit a pull request.
Thoughts anyone?

Duplicate issue #341: Strict comparison
Created: 2011-05-26T23:45:40Z
It would be great to add strict comparison in Twig to be able to avoid such cases where the test returns true:
{% if 0 == 'some-string' %}

this is due to PHP casting the string to an int to compare it with 0 instead of casting the integer to a string. The only way to avoid this is to use strict comparison but it is not available in Twig.

Closing comment (2011-05-26T23:52:27Z): I close it as it is a duplicate of #340
Repository: twigphp/Twig

Issue #4030: Call to undefined method Twig\Extension\CoreExtension::dateConverter()
Created: 2024-04-17T15:22:26Z
Hi!
just updated my project:
twig/extra-bundle: v3.9.0
twig/intl-extra:  v3.9.0
twig/twig: v3.8.0  (kept back by stimulus-bundle)
now this
{{ date|format_datetime(pattern='EEEE HH:mm') }}  throws the exception: Call to undefined method Twig\Extension\CoreExtension::dateConverter()
it was working fine with v3.8.0

Duplicate issue #4041: [3.9.x] Call to undefined method Twig\Extension\CoreExtension::dateConverter
Created: 2024-04-18T16:36:59Z
Hello
I have this error since the upgrade from 3.8.0 to 3.9.x :
An exception has been thrown during the rendering of a template ("Call to undefined method Twig\Extension\CoreExtension::dateConverter()").

The line causing this issue is :
<p class="text-right email-sales-details-item">{{ sales_entity.expiredAt|format_date }}</p>

Content of Twig\Extra\Intl\IntlExtension :
... line 370
    public function formatDateTime(Environment $env, $date, ?string $dateFormat = 'medium', ?string $timeFormat = 'medium', string $pattern = '', $timezone = null, string $calendar = 'gregorian', ?string $locale = null): string
    {
        $date = CoreExtension::dateConverter($env, $date, $timezone);
...

More infos :
twig/twig is locked at "v3.8.0" cause of "symfony/ux-twig-component" and "symfony/stimulus-bundle"
Best regards,
Guilain

Closing comment (2024-04-18T16:52:48Z): Duplicate of #4030
Repository: twigphp/Twig

Issue #1956: Twig 1.23.2 and typo in ExpresionParser.php
Created: 2016-01-11T13:46:11Z
You have typo on 581. line. It should be $function but you have $functon
        if (!is_bool($functon->getDeprecatedVersion())) {
            $message .= sprintf(' since version %s', $function->getDeprecatedVersion());
        }

Duplicate issue #1957: Current v1.23.2 release broken due to a typo
Created: 2016-01-11T13:52:00Z
Hi! I had the luck to update my dependencies 15 minutes after the release of v1.23.2.
The latest version has been released with a typo. The line 581 in lib/Twig/ExpressionParser.php reads:
if (!is_bool($functon->getDeprecatedVersion())) {
The variable name of the variable should read $function.
Not sure if a pull request is needed as the release should be removed or marked as broken, and re-released with the small fix.
Thanks for the awesome work!

Closing comment (2016-01-11T13:57:49Z): duplicates #1956
Repository: twigphp/Twig

Issue #766: Problem with numeric keys in array
Created: 2012-07-09T16:58:35Z
If I have an array like :
["006"] =>  int(100)
[700]   =>  int(150)
["008"] =>  int(200)
["a"]   =>  int(300)

I cannot retrieve the values from the keys that are numeric and starts with ZERO.
{{ test['006'] }}    ---> null !!!!
{{ test['700'] }}    ---> 150
{{ test['a'] }}      ---> 300

The problem is in the getAttribute() method in Twig_Template class when there's a INTEGER CAST
Class : Twig_Template
protected function getAttribute($object, $item, array $arguments = array(), $type = Twig_TemplateInterface::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false)
   {
       $item = ctype_digit((string) $item) ? (int) $item : (string) $item;
...

This is a bug or not?
And if not why exists this CAST?

Duplicate issue #828: Twig removes initial '0' in an array key
Created: 2012-09-07T14:05:23Z
This code doesn't work:
{% set data = {'01':'123', '09':'456'} %}
{% set key = '09' %}
{{ data[key] }}
and produce the error :
Twig_Error_Runtime: Key "9" for array with keys "01, 09" does not exist

Closing comment (2012-10-16T12:47:27Z): duplicate of #766
Repository: twigphp/Twig

Issue #1175: Add {% call %} tag
Created: 2013-08-28T11:44:12Z
see http://jinja.pocoo.org/docs/templates/#call
{% macro render_dialog(title, class='dialog') -%}
    <div class="{{ class }}">
        <h2>{{ title }}</h2>
        <div class="contents">
            {{ caller() }}
        </div>
    </div>
{%- endmacro %}

{% call render_dialog('Hello World') %}
    This is a simple dialog rendered by using a macro and
    a call block.
{% endcall %}

Duplicate issue #1858: Blocks and {{ yield() }}
Created: 2015-09-29T20:34:43Z
This is really a question: I'm looking for a way to yield from within a macro.
Something like macros for tab_item, form_container, and so forth might be good candidates for this.  It's not far from what's described in the documentation (Listing 22-5) with wrapped_input.  Except in this case, it seems to me counter-intuitive to have a variant of a macro with 1 macro "passed-in" via self, rather than creating a macro which supports a yield functionality.
I'm, of course, coming from handlebars, which has such a feature: {{yield}}.
For example, in twig:
{% macro definition_item(term, definition) %}
    {% if term and definition %}
        <dt>
            {{ term }}
        </dt>
        <dd>
            {{ definition }}
        </dd>
    {% endif %}
        {{ yield() }}
{% endmacro %}

Where {{ yield() }} yields any values used when the macro is used in block form:
{{definition_item}}
    <dt>More content</dt>
    <dd>More content goes here</dd>
{{/definition_item}}

I would welcome any ideas on how to proceed.  Thanks in advance.

Closing comment (2015-10-05T08:24:17Z): It's duplicate of #1175.
Repository: twigphp/Twig

Issue #1302: Pass variables to block function
Created: 2013-12-20T16:49:07Z
Please add ability to pass variables to block function.
For example this block could be rewritten
{% block integer_widget %}
{% spaceless %}
    {% set type = type|default('number') %}
    {{ block('form_widget_simple') }}
{% endspaceless %}
{% endblock integer_widget %}

to
{% block integer_widget %}
{% spaceless %}
    {{ block('form_widget_simple', {type: type|default('number')}) }}
{% endspaceless %}
{% endblock integer_widget %}

and this:
{% block tree_node %}
<ul>
    {# we need to save original root variable #}
    {% set oldRoot = root %}
    {% for node in root.children  %}
        {{ node.title }}
        {% set root = node %}
        {{ block('tree_node') }}
    {% endfor %}
    <!-- {{ oldRoot.children|length }} -->
</ul>
{% endblock %}

to
{% block tree_node %}
<ul>
    {% for node in root.children  %}
        {{ node.title }}
        {{ block('tree_node', {root: node}) }}
    {% endfor %}
    <!-- {{ root.children|length }} -->
</ul>
{% endblock %}

Duplicate issue #1479: passing variables between blocks
Created: 2014-08-16T23:23:09Z
The documentation states that variables are scoped in a for loop but does not specify the scope within or between blocks.
I would expect that t3 and tlast should be 2 in the following example, however that is not the case.
        {% set text = 0 %}
        t0: {{ text }} <br>
        {% block t1 %}
            {% set text = 1 %}
            t1 {{ text }} <br>
        {% endblock %}
        {% block t2 %}
            {% set text = 2 %}
            t2 {{ text }} <br>
        {% endblock %}
        {% block t3 %}
            t3 {{ text }} <br>
        {% endblock %}
        tlast {{ text }} <br>

produces the following output:
t0: 0
t1 1
t2 2
t3 0
tlast 0
How can I pass the value of a variable from one block to another?
i.e. so in the above example t3 is 2

Closing comment (2017-11-25T07:06:55Z): I don't see how this is a duplicate of #1302. How should the above twig be written if you want t3 and tlast to show "2"?
Repository: twitter/typeahead.js

Issue #188: new remote request sent when clicking on a suggesting
Created: 2013-04-10T17:09:46Z
(0.9.1) When clicking on a suggestion that was returned from a remote query, another query is sent to the server with the suggestion text as the query string.
Looking into the code, it looks as the TypeaheadView._handleSelection method is resetting the input field value to that of the selected suggestion without passing a reset=true param to  setInputValue() , which causes a re-invocation of typeahead request.
I had to change the code to pass true for reset to surpress this behavior.

Duplicate issue #548: how to prevent AJAX requests when user selects an item
Created: 2013-12-11T01:56:24Z
When the selections are displayed via local or prefetch or even remote, as long as there is a remote setup there is always an additional AJAX request sent when the user clicks on the value they want or tabs to use the auto-complete value.
Is there a way to prevent that final AJAX call? the AJAX is looking up matching values, where the term it sends is a term it knows matched a request an instant ago.. OR it is a value offered from a json prefetch source and may not even match a value from the remote source so the AJAX is error prone.
To remove this additional redundant AJAX request my boss and I spent hours...
We tried the Custom Events typeahead:autocompleted and typeahead:selected to return false or block ajax to no avail. We would have liked to use the event object and preventDefault() but that is not an option... We tried the native events also to no avail.
Really annoying that these redundant network requests are made, specificity for selected values that were of a local or prefetched sources...

Closing comment (2013-12-27T22:17:05Z): Duplicate of #188. This has been fixed in intergration-0.10.0.
Repository: twitter/typeahead.js

Issue #360: Modifying default HTML template
Created: 2013-07-23T11:30:00Z
In the documentation there is an example of the dropdown HTML as a Mustache/Hogan template.
Is there anyway this could be a reality, and allow easy modification of the HTML that is used by typeahead? It could be compiled into a separate file and then bundled together with the rest using Grunt.

Duplicate issue #574: customizing the look, we want to use custom complete template of the dropdown menu
Created: 2013-12-26T06:58:43Z
we have a need to customize the dropdown menu to allow us to add a global header and footer that would wrap around the entire dropdown, and also we'd ideally like to use our own HTML for the popup, since our site is already live with it's own version of HTML for dropdown structure.
is there a way to have the twitter\typeahead.js generate output in this format, and is it possible to indicate where the dropdown should appear (ie. we need to place it outside of the header tag where the search field is located)?:
<span class="tt-dropdown-menu">
  <div id="searh-dropdown-header">Best guess suggestions:</div>
  {{#dataset}}
    <div class="tt-dataset-{{name}}">
      {{{header}}}
      <span class="tt-suggestions">
        {{#suggestions}}
          <div class="tt-suggestion">{{{html}}}</div>
        {{/suggestions}}
      </span>
      {{{footer}}}
      {{{header}}}
      <span class="tt-suggestions">
        {{#suggestions}}
          <div class="tt-suggestion">{{{html}}}</div>
        {{/suggestions}}
      </span>
      {{{footer}}}
    </div>
    <div id="searh-dropdown-footer">thank you for using our search</div>
  {{/dataset}}
</span>

thank you for any help

Closing comment (2014-02-02T12:08:54Z): Duplicate of #360.
Repository: twitter/typeahead.js

Issue #815: Depending on selector used to create typeahead, using the same selector to retrieve the value may fail
Created: 2014-04-03T04:07:38Z
Regarding grabbing the value back out of a typeahead:
The example in the documentation gives you the idea that you can retrieve the value by simply calling .typahead('val') on a jquery object created using the same selector as the selector used to create the typeahead. the example in the docs here:
https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#jquerytypeaheadval
is:
var myVal = $('.typeahead').typeahead('val');

I interpreted this to mean that If I had a particular <input> with the class .typeahead on it, and I did a $('.typeahead').typeahead(... to create a typeahead on it, then the above code would hand me back the value. This isn't the case, because there is the "hint" typeahead that is copied, which doesn't have the value attached to it. You can see my problem illustrated here: http://jsfiddle.net/734x5/
I like the idea of typeahead going through the set of matched jquery elements until it finds one that has a value, and this doesn't seem too dangerous because we should know the structure of the dom nodes the plugin creates.
Modifying the documentation would be the easier choice of course :)

Duplicate issue #863: Calling $(element).typeahead('val') returns Undefined
Created: 2014-06-05T20:04:05Z
Currently not possible to get the value of typeahead input as the .typeahead('val') reurns Undefined.
console.log($(this).typeahead('val', 'val')); // this works, value is set to 'val'
console.log($(this).typeahead('val')); // returns `Undefined`

Closing comment (2014-07-09T00:13:40Z): Duplicate of #815 which has been addressed in v0.10.3 (planning on releasing later this week.).
Repository: twitter/typeahead.js

Issue #796: Make dropdown stay always open and visible and have content
Created: 2014-03-26T11:40:14Z
For debugging purposes. While styling the dropdown, it's extremely helpful to have the dropdown stay open then the input looses focus, so one can easily fiddle in firebug (or what have you) to finetune styling.
Currently the drodown closes when doing anything in firebug, so it's almost impossible to see what's applied and fiddle with it, especially on suggestion items.

Duplicate issue #889: Add option to use the "background click" event instead of "on blur"
Created: 2014-07-09T13:21:45Z
At the moment "onblur" event is used to hide the dropdown menu, this causes problems when for example the menu's styles are inspected in Developer Tools - inspection causes hiding of the menu, so it's not possible to inspect the styles.
The same issue appears when using it on mobile devices, when virtual keyboard is shown the focus is automatically lost, so the menu is automatically hidden.
The alternative solution would be to use the "onclick" event invoked on any DOM element outside of the menu and the input field. This event can trigger the same "onBlurred" jQuery event - causing exactly the same behaviour and backwards compatibility.
The mode "blur" or "background click" could be controlled by a new parameter, using the current solution as the default one.

Closing comment (2014-07-09T23:56:01Z): Yeah, I'm going to mark this as a duplicate of #796. Let me know if that doesn't work for you.
Repository: twitter/typeahead.js

Issue #166: Show a spinner in the meantime the client is waiting for the results.
Created: 2013-04-02T14:38:36Z
First off, thanks for this library, it's just great.
I wonder whether it's possible to catch an event to show a spinner or something or the screen in the meantime the browser is waiting for the server to reply.
Thanks!

Duplicate issue #284: Displaying AJAX request in progress indicator until the response is received
Created: 2013-06-08T13:26:50Z
Hi,
Is there a way in which I can display an AJAX progress indicator image while the request is still in process?
I had a looked at the supported events however none of them fulfils my purpose.
Thanks,
P.

Closing comment (2013-06-26T00:55:15Z): The solution provided by @ivannunez should work, although you might need to add some checks if you are making other ajax calls outside of typeahead.js.
Also, this issue is pretty much a duplicate of #166 so I'm going to label it as such and close it.
Repository: twitter/typeahead.js

Issue #1415: Suggestions not displaying
Created: 2015-10-26T11:43:52Z
I have replicated the issue here
http://codepen.io/benguela/pen/epMMyo
In the field enter the letters
sco
bloodhound fetches suggestions but they are not displayed. if however you enter
scot
bloodhound fetches suggestions and they are displayed.
I have a workaround at the moment where in line 1724 of the typeahead bundle I changed
that._append(query, suggestions.slice(0, that.limit - rendered));
to
that._append(query, suggestions.slice(0, that.limit));
but this is not the correct solution.

Duplicate issue #1422: sometimes suggestion not shown
Created: 2015-10-30T07:15:37Z
that._append(query, suggestions.slice(0, that.limit - rendered));
when that.limit equals rendered ,will return empty, result in suggestion not shown.

Closing comment (2015-10-30T20:09:33Z): Duplicate of #1415 I think.
Repository: twitter/typeahead.js

Issue #288: onNothingFound Custom Events
Created: 2013-06-11T18:15:19Z
I have a use case where if someone searches something and no results are found, a hidden element should appear prompting them to do something else.
But the custom events don't offer this capability as far as I can tell, maybe you could add a typeahead:emptyResult or typehead:nothingfound custom event.
Or is there a way for some to add a custom event i.e. extend typeahead.

Duplicate issue #688: setQuery error
Created: 2014-02-13T05:23:08Z
I get an error when i run the following line at example pages:
> $('.example-numbers .typeahead').typeahead('setQuery','')
> Error: missing source

how can i fix this?

Closing comment (2014-02-19T20:37:15Z): Never mind, I see my issue is a duplicate of #288.
Repository: twitter/typeahead.js

Issue #821: Highlight when search term is tokenized into individual words
Created: 2014-04-09T21:09:33Z
Hi there,
We parse our search query into individual terms, which means the builtin highlighting functionality doesn't highlight some results. For example, if we search for "John Boston", and a result of "John Smith Boston" does have any highlighting applied. It seems that the highlight function supports o.pattern being an array, but I can't work out how to split the query on space. Is there a way of customizing the pattern which is passed into the highlight function?
Thanks!

Duplicate issue #1175: Highlight two non contiguous words
Created: 2015-04-23T16:07:38Z
There is a ways to highlight those kind of words?
In the examples doesn't seems to work
(https://twitter.github.io/typeahead.js/examples/#multiple-datasets)

Closing comment (2015-04-25T10:40:15Z): Duplicate of #821.
Repository: twitter/typeahead.js

Issue #11: Group by categories
Created: 2013-02-20T17:20:18Z
Anyway to group results by categories? It would be nice to show the category name and list the items below it.

Duplicate issue #70: Add Suggestions Title
Created: 2013-03-01T08:07:12Z
I'td be nice if we could define a "headline" to be displayed on top of the suggestions list.
I.e. "Top matches". For example Apple has little headings ("Common Searches" and "Recommended Results") in their suggestions which you can see in the attached screenshot.

Closing comment (2013-03-01T08:11:23Z): Duplicate of #11. In v0.9, you'll be able to add a header and a footer to each dataset.
Repository: twitter/typeahead.js

Issue #327: Fire custom event whenever the user uses the arrow keys to navigate through results
Created: 2013-07-07T15:08:41Z
I thought typeahead:selected would cover this, but it only fires after the user confirms an autocompleted result by pressing Enter or by clicking on it, not just when cycling through the list of suggestions.
Firing a custom event in that case would be extremely useful. The name could be typeahead:change.

Duplicate issue #326: typeahead.js and the jQuery on() method
Created: 2013-07-05T18:46:36Z
Hey all,
Beforehand, I'm quite the newbie, so if you feel I should have posted this elsewhere, feel free to point that out. I realize this is not a typeahead issue.
I'm working on a site that displays keyboard shortcuts on an SVG keyboard. See my testing area here: http://www.accountantinbreda.nl/pro-tools-10-keyboard-shortcuts/
If I type in 's' in the search field, hovering (with the mouse) over the top result works just fine. For this to work, I used the jQuery on() method. The jQuery on() method takes multiple events, what would be the typeahead event to include to also make this work by using the up and down arrow keys on the keyboard?
Cheers,
Dennis.

Closing comment (2013-07-10T22:25:41Z): That is a neat animation.
Unfortunately typeahead.js isn't currently triggering an event with the menu cursor is moved. I'm spending the week overhauling typeahead.js and this is something I want to implement. Keep an eye on #327, I'm using that issue to track this feature.
I'm going to go ahead and close this issue since it's a duplicate of #327.
Repository: typelevel/cats

Issue #1073: Figure out how to handle SI-2712 fix
Created: 2016-05-30T20:26:36Z
The infamous SI-2712 is fixed under the "experimental" compiler flag in scala 2.12. The fix is available via a compiler plugin for scala 2.10 and 2.11. We should figure out how cats is going to handle this change. Should it remove Unapply and ask people to use one of these two approaches if they want an SI-2712 workaround? Keeping around other SI-2712 workarounds such as Unapply could potentially cause issues with this fix in place.
cc @milessabin

Duplicate issue #1431: SI-2712 regression (tested against both typelevel and 2.12.0-RC2) 
Created: 2016-10-25T22:26:48Z
Using Ypartial-unification leads to Inject[F, F] typeclass instance not resolving correctly because of an ambiguity. Here is a minimal example :
https://github.com/Baccata/si2712-regression-example
As far as I understand, cats has some workarounds for SI-2712 that are rendered obsolete by the partial unification. I suppose scoping the implicit instances of Instance and give more priority to the reflexive instance could be a solution.

Closing comment (2017-03-30T14:34:23Z): related to #1073