primordic/IssueDupesLite huggingface dataset:
Repository: mkdocs/mkdocs

Issue #1592: Support absolute URLs to internal pages
Created: 2018-08-15T13:52:56Z
Background
Version 1.0 no longer calculates filepaths back to the root. Where previously a Markdown link [exec](/ref/exec.md) might produce HTML with a computed path <a href="../../../ref/exec/">exec</a> it now simply replicates the path: <a href="/ref/exec/">exec</a>. While the documentation says this is unsupported (no link path should begin with a slash) this actually works fine with mkdocs serve. And it also works fine when the site is exported to a server root. But it fails if the site is exported to a child folder of the server root, e.g. docs.example.com/preview/.
Use case
MkDocs instance code.kx.com has about 250 pages. Because from time to time major sections are re-arranged, the internal links contain no paths that include ../. Paths are either to siblings, to descendants, or specified from the root. This allows major sections to be moved without rewriting the link filepaths.
Currently we have 775 internal links beginning with slash, in 111 files. Upgrading to 1.0 would require us to convert all of them to relative paths.
We would prefer to retain the paths from the site root, for the following benefits:

Retain the mobility of large sections of our site.
Uncouple article copy from the site structure. For example, an article should refer to, say, a Reference article, see [exec](/ref/exec.md) regardless of where in the site the article is posted.
Avoid the work of converting the existing filepaths.
Support our practice of previewing in development multiple branches of the main site.

Feature request
Restore the computation of relative file paths to the root.

Duplicate issue #1641: v1.0.4 breaks root-relative markdown links
Created: 2018-09-26T17:21:55Z
#1623 made it so links like [foo](/foo.md) are no longer converted to proper links. We always use a leading / so that it's easier to move our pages around (no hunting for .. to add or remove). Is this intended behavior? It seems like a really subtle distinction to use for doc page vs. non-doc page links.

Closing comment (2018-09-26T18:49:01Z): This is a duplicate of #1592. The reasons are discussed in detail there. We will not be reconsidering.
Repository: mkdocs/mkdocs

Issue #6: Allow nav links with depth > 2
Created: 2014-01-13T13:11:09Z
The default theme doesn't necessarily need to deal with styling them, but they should at least be allowed.

Duplicate issue #156: Multilevel navigation
Created: 2014-10-13T18:45:23Z
It looks like it's not currently possible to have more than one nested level of navigation. Is that correct?
If so, is there a desire to support more nested structures, or is the limit 1 for philosophical reasons?

Closing comment (2014-11-28T21:41:44Z): Closing as a duplicate of #6 (and #244 which offers a potential solution.)
Repository: mkdocs/mkdocs

Issue #204: TOC runs off the page for long documents
Created: 2014-11-08T02:14:02Z
If you have enough parts in your document, the TOC becomes taller than the screen and sections can't be accessed. Is there something I can configure?

Duplicate issue #635: Left side of the default theme can not be rolled?
Created: 2015-06-16T03:52:20Z
Hi, I found that the left side of the default theme can not be rolled, which could cause the left of the list showing incomplete, and how to solve the problem?

Closing comment (2015-06-16T06:29:14Z): This is a duplicate of #204
Repository: mkdocs/mkdocs

Issue #73: Allow intermediate index.html pages for categories and create automatic index pages when not provided generation
Created: 2014-04-08T06:25:21Z
Given a mkdocs.yaml like
pages:
- ['index.md', 'Home']
- ['user-guide/writing-your-docs.md', 'User Guide', 'Writing your docs']
- ['user-guide/styling-your-docs.md', 'User Guide', 'Styling your docs']
- ['user-guide/configuration.md', 'User Guide', 'Configuration']
- ['about/license.md', 'About', 'License']

I would like mkdocs to generate the non-menu-listed index.html files:
user-guide/index.html
about/index.html

without adding those pages to the previous next navigation. Interestingly, If you add - ['user-guide/index.md'] to the pages above, that new page is not added to a menu, but it is added to the nav :(.
I'm happy to add them to a cfg list and mark them as non-nav, or autogenerated (though automagical would be best). Ideally, these pages should list all the sub-pages.
(yes, I need to solve this, its not a 'would be nice')

Duplicate issue #1187: Separators (Groups?) as Pages
Created: 2017-03-31T15:12:53Z
I apologize in advance if this is not the place for this, but I'm looking for clarification on setting up custom page configurations. What I'm looking for right now is the ability to use separators as pages. For example, the configuration I'm using right now is:
pages:
  - Welcome to Redshift: index.md
  - Getting Started:
    - System Requirements: getting-started/system-requirements.md
    - Installation:
      - Installation Information: getting-started/installation.md
      - Installing on Windows: getting-started/installation/windows-installation.md
      - Installing on Linux: getting-started/installation/linux-installation.md
    - Licensing:
      - Licensing Information: getting-started/licensing.md
      - Node Locked Licenses: getting-started/licensing/node-locked.md
      - Floating Licenses: getting-started/licensing/floating.md
    - Additional Configuration: getting-started/additional-configuration.md
If I were to remove 'Licensing Information' and place it's link into the parent object of 'Licensing', the build would fail with an error like so:
ParserError: while parsing a block mapping
      in "C:\Users\mjr14019\Documents\redshift-docs\mkdocs.yml", line 19, column 5
    expected <block end>, but found '-'
      in "C:\Users\mjr14019\Documents\redshift-docs\mkdocs.yml", line 20, column 5

I take it this is a current limitation of the pre-1.0 release? Being able to do this would help clear up clutter a bit and reduce duplicate naming in the navigation.

Closing comment (2017-03-31T15:34:52Z): This is a duplicate of #73. There is a potential solution in #1042 but there are also some questions about whether we actually want to support this. Any discussions should take place there.
Repository: mkdocs/mkdocs

Issue #1826: Page Title ignores setext-style headers
Created: 2019-07-13T01:17:45Z
Hi!
I'm trying to create some internal documentation for a project that has a mix of custom and third-party code in it. Some of the third-party code has Markdown documentation I'd like to include, however some of the page titles aren't working, I think because these third-party docs use an alternative style of Markdown, where the headers are designated using either = or -, for example:
This is the title
=============

This is some content

This is a second title
------------------

Some more content

This is a final title
------------------

The end

In this case the title is not detected, and the filename README.md results in a title in the sidebar of 'Index'.
Is there anything I can do here to support this style of header? Do you have any suggestions?
Thank you!

Duplicate issue #1886: Add support to extract underline-ish title (setext-style headings)
Created: 2019-10-18T04:44:31Z
The util function get_markdown_title supports only ATX-style headers. It should also support:
A level-one heading
===================

A level-two heading
-------------------

Closing comment (2019-10-18T14:26:43Z): I'm closing this as a duplicate of #1826. As the discussion there is long and covers multiple issues, I've copied the relevant comment below. Also note that in #1843 we have explicitly documented that setext style headers are not supported.

The page title is set in mkdocs.structure.pages.Page._set_title.  The mkdocs.utils.get_markdown_title function actually extracts the title from the Markdown source and would need to be significantly refactored as it currently assumes the header is contained on one line only (it doesn't support setext-style headers because they take 2 lines). Note that the title is set on the page before the Markdown source is rendered to HTML and this is non-negotiable. It would be easier to get the header from the rendered HTML (which would eliminate any concern about which format was used), but MkDocs needs the title to be set at an earlier stage than when it renders the Markdown to HTML. This is documented behavior in the Plugin API which we have promised to continue supporting. Also, I will only consider a change which enforces the use of an H1. If the first header is an H2, then the page title should be defined elsewhere (such as in meta-data) and a custom theme template would presumably be inserting the page title as an H1 separate from the page body.
Finally, this is very much something which could be addressed by a plugin. I expect either the on_page_markdown or on_page_content events could be used to overwrite the page title based on the Markdown source or rendered HTML respectively. As a third-party plugin, you could then use whatever criteria you want to define a page title.
Repository: mkdocs/mkdocs

Issue #699: Building hidden pages
Created: 2015-07-27T00:54:08Z
Is it possible to tell mkdocs to build pages but not have them show up in the side bar?  If it is possible, an example of how to do this in the documentation would be great.
I asked this question here as well: https://groups.google.com/forum/#!topic/mkdocs/ILW9-SIdERs

Duplicate issue #1229: About  navigation bar
Created: 2017-05-25T04:16:21Z
When adding pages,if I dont't want to add it to the navigation bar but just adding pages,What should I do then?

Closing comment (2017-05-25T12:45:40Z): This is a duplicate of #699.
Repository: mkdocs/mkdocs

Issue #826: utf-8 search support
Created: 2016-02-16T08:22:04Z
Hey, we are working on a Persian version of a mkdocs theme, everything works fine but we have a problem on search contents with Persian contents, when i search the expression nothing found, i also test it with Arabic, Chinese and Hebrew and all of theme have problem with this case. any solution?

Duplicate issue #1371: Search not support search Chinese now, please consider support it.
Created: 2018-01-05T02:04:16Z
Search not support search Chinese now, please consider to support it.
mkdocs is a cute tool, Thanks U very much!

Closing comment (2018-01-05T03:49:14Z): This is a duplicate of #826.
Repository: mlpack/mlpack

Issue #118: Investigate usage of Dataset class (for removal)
Created: 2014-12-29T08:15:13Z
Reported by rcurtin on 9 Sep 41666986 16:01 UTC
In fastlib/data/dataset.h the class Dataset is defined.
Someone needs to go through and look at where this class is being used, what its benefits are, and if we can realistically remove it without sacrificing too much support.  It should be remembered that the CSV reader has been moved to Armadillo, so that is not a problem anymore.

Duplicate issue #155: Use new naming conventions for all MLPACK classes
Created: 2014-12-29T09:36:28Z
Reported by rcurtin on 3 Jan 41820686 05:25 UTC
Variable names should be declared in camelcase, starting with a lowercase letter:
int leafSize;
int dim;
int newDim;

The names of the accessors and mutators for these variables should have the following format:
int leafSize;

const int LeafSize() const;
void LeafSize(const int leafSize);

arma::mat someMatrix;

const arma::mat& SomeMatrix() const;
void SomeMatrix(const arma::mat& SomeMatrix);

Method names should start with an uppercase letter and also be camelcase.

Closing comment (2014-12-29T22:37:41Z): Commented by rcurtin on 16 May 41820779 23:22 UTC
Um, oops.  This is a duplicate of #118.
Repository: mlpack/mlpack

Issue #513: Serialization of ann
Created: 2016-01-31T19:47:25Z
I would like to make the ann support serialization(atleast for the ffn related parts).The optimizers of ann use reference to keep the address of the object, could I change them to pointer or shared_pointer?

Duplicate issue #495: Provide serialization for ann module
Created: 2015-12-13T20:29:09Z
As one of the users, I would like to have serialization on ann module, when I try to provide one, I find out some issues hard to solve
FFN accept the reference of the outputLayer, but this make it very hard to serialize, could I make it take the copy or rvalue of the outputLayer?
template<typename Network, typename OutputLayer>
FFN(Network &&network, OutputLayer &&outputLayer,
    PerformanceFunction performanceFunction = PerformanceFunction()) : 
    network(std::forward<Network>(network)),
    outputLayer(std::forward<outputLayer>(outputLayer)),
    performanceFunction(std::move(performanceFunction))
//......

If the users need to access the output layer, we could add a public api for them to access it. Any suggestions?

Closing comment (2016-02-01T15:30:07Z): This is now a duplicate of #513, so I'll go ahead and close this one. :)
Repository: mlpack/mlpack

Issue #420: Considering using c++ linting tools
Created: 2015-03-14T21:29:31Z
Not sure how much we care about this, but it might be nice to start running the mlpack code through a c++ linter, such as cpplint.
Here is an example of what we would get from cpplint on our codebase:  https://gist.github.com/anonymous/7ba0015c0a527a381bb5
Some of the complaints are silly and can be removed by filtering them out, but I think some are reasonable. I know you guys are thinking about updating the style guidelines, so it might be nice to have some sort of automated enforcement.

Duplicate issue #978: Add style check to Travis-CI tests
Created: 2017-04-05T09:10:02Z
Right now, we manually review each PR for style issues. Instead, we can enforce some basic style rules using Travis-CI for matching the mlpack coding conventions. Not sure if this issue has already been discussed previously in mlpack community, just thought of giving a suggestion.

Closing comment (2017-04-05T09:12:44Z): I believe this is the same as #420? Even I was wondering if this of interest to mlpack?
Repository: mlpack/mlpack

Issue #230: Use log-space for DTree::ComputeVariableImportance()
Created: 2014-12-29T12:02:56Z
Reported by rcurtin on 20 Aug 42587487 19:11 UTC
It used to be that the density estimation tree would use long doubles, because a lot of the calculations depended on the volume of hypercubes, which in very high dimensions become very, very large.  The solution to this is to use the logarithm of the volume, but then we end up with situations where we need
log(a + b)

but we only have log(a) and log(b).  Fortunately algebraic tricks can be used for the actual tree construction algorithms by exploiting the definitions of a and b (or as they actually are in the code, the definition of the error function R(t)).  So the tree construction is done nearly entirely in log-space (with one exception; the volume of one node divided by a leaf (V_t / V_i) can't be done in log-space (or I could not figure out how), but in that case it is not a huge problem because the quantity V_t / V_i turns out to be dependent mostly on the depth of the tree, and will probably only overflow for very, very deep trees (and other things will probably fail before that).
However there is still one function which needs to be addressed, which is DTree::ComputeVariableImportance().
// The way to do this entirely in log-space is (at this time) somewhat
// unclear.  So this risks overflow.
importances[curNode.SplitDim()] += (-std::exp(curNode.LogNegError()) -
    (-std::exp(curNode.Left()->LogNegError()) +
     -std::exp(curNode.Right()->LogNegError())));

There should be a way to exploit the definition of the variable importance as described in Pari's paper such that we can calculate the quantity (R(t) - R(t_l) - R(t_r)) in log-space.
Migrated-From: http://trac.research.cc.gatech.edu/fastlab/ticket/237

Duplicate issue #386: Distributions should return log probability 
Created: 2015-01-16T20:14:51Z
the distributions should also have log probability (we could call it a score instead). this would encourage and allow consumers (such as HMM) to work in log space as much as possible for better numerical stability.

Closing comment (2015-01-16T23:09:11Z): This is related to #230 (and maybe #231).
I would agree that log-probability is a good idea.  Maybe it's a good idea to make both available; i.e. leave Probability() intact but also add LogProbability() or something.  That should help keep any downstream consumers from converting to and from logspace unnecessarily.
Repository: mlpack/mlpack

Issue #1383: Implementation like Scikit learn
Created: 2018-04-27T16:55:03Z
to develop an implementation in C++ that will gravitate people towards C++ for fast prototyping.

Duplicate issue #1881: Hi
Created: 2019-04-26T08:16:46Z

Closing comment (2019-04-26T09:25:16Z): Duplicate of #1383.
Repository: mlpack/mlpack

Issue #468: LoadSave Unit test fails  Windows x64
Created: 2015-11-07T09:56:59Z
All the other tests are passing except raw ascii. I tried to debug. It looks like tellg() is returning a strange value when the file is opened as text. If I modify the code to open as binary then binary file read fails. Luckily  arma_ascii works. I could not repro the csv isssue mentioned earlier.
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(194): fatal error: in "LoadSaveTest/SaveArmaASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(220): fatal error: in "LoadSaveTest/LoadRawASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(246): fatal error: in "LoadSaveTest/LoadCSVTxtTest": critical check data::Load("test_file.txt", test) == true has failed

Duplicate issue #467: Can not load csv file on windows
Created: 2015-10-30T00:45:15Z
When I try to load a csv file as following,
0 1 2 3
4 5 6 7

it always complain

Unable to detect type of 'softmax_data.txt'; incorrect extension?

Codes :
arma::mat trainData;
data::Load("train.csv", trainData, true);

After checking, I bet that the csv file on windows(edit by notepad++) do not fit the load type of armadillo.
The load type return by
arma::diskio::guess_file_type(stream) 

is 0.Maybe this is a bug of armadillo?

Closing comment (2015-11-09T00:59:07Z): I think this is the same as #468, so if a fix happens there, we can close this issue too.
Repository: mlpack/mlpack

Issue #468: LoadSave Unit test fails  Windows x64
Created: 2015-11-07T09:56:59Z
All the other tests are passing except raw ascii. I tried to debug. It looks like tellg() is returning a strange value when the file is opened as text. If I modify the code to open as binary then binary file read fails. Luckily  arma_ascii works. I could not repro the csv isssue mentioned earlier.
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(194): fatal error: in "LoadSaveTest/SaveArmaASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(220): fatal error: in "LoadSaveTest/LoadRawASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(246): fatal error: in "LoadSaveTest/LoadCSVTxtTest": critical check data::Load("test_file.txt", test) == true has failed

Duplicate issue #482: Serialization Test Fails on Windows
Created: 2015-11-22T23:52:31Z
This issue is similar to the load-save-test issue I raised earlier. But this time the error is in the test routine. Consider the following code from serial_test.cpp:
template<typename MatType,
         typename IArchiveType,
         typename OArchiveType>
void TestArmadilloSerialization(MatType& x)
{
  // First save it.
  ofstream ofs("test");
  OArchiveType o(ofs);

If the (I/0)ArchiveType is binary then the test fails due to the two character CR-LF eol marker. There are two options: one is to open the file as binary always; the other is partial function template specialization or something like that. I tried some tests using ios::binary and they seem to pass. But I am not sure about the general repercussions of opening a text file as binary.

Closing comment (2015-11-23T13:29:39Z): This is definitely related to #468; I think it's actually the same issue, so I'll close this and comment there.
Repository: mmatyas/pegasus-frontend

Issue #464: GOG parser crashes on start
Created: 2019-05-19T05:45:07Z
Hi Mátyás,
So I just posted on your patreon page, but I imagine that reporting this here is better. So I'm trying to run Pegasus, but I can't get past the first loading screen. According to the log, the program crashes while trying to parse steam games.
I have about 250 games there. Is this an issue of just having "too many" games? As far as I saw, Steam also limits the API calls, so I even tried to use a VPN to change my IP so I could get more requests and the issue persists. Here's the latest log:
lastrun.log
Hope you can help me! Really looking forward to using Pegasus and contributing in any way I can. I'm not a programmer, but i just pledged a little bit of money on your patreon. Hope every bit helps! :D
Thanks!!!

Duplicate issue #479: Pegasus won't start
Created: 2019-07-12T08:26:31Z
On windows. Whenever I try to start up pegasus, I get the loading bar, it gets about halfway and says "54 games found", and then closes. Happens every time I try to run it.
I'll attach a reference photo, but windows doesn't like capturing the loading bar in the screencap for whatever reason.

Closing comment (2019-07-12T08:49:51Z): Hi, do you have any GOG games installed? It might be related to #464.
Repository: mmatyas/pegasus-frontend

Issue #481: Improve keyboard modifier support
Created: 2019-07-26T20:00:28Z
See https://retropie.org.uk/forum/post/196871

Duplicate issue #660: Modifier keys aren't detected while seting up controls in Pegasus
Created: 2020-06-25T12:41:25Z
When running an arcade cabinet using a keyboard encoder such as an I-PAC 2, frequently some of the keyswitches are set to modifier keys such as Shift, Alt or Ctrl.
These are not detected in the Pegasus configurations, making it a pain to migrate existing instalations from emulationstation and similar.

Closing comment (2020-06-25T12:57:09Z): Hi, this sounds like the duplicate of #481.
Repository: mmatyas/pegasus-frontend

Issue #720: Add option to suspend system
Created: 2020-10-06T15:46:57Z
Hi, would it be possible to add the option to Suspend the system on top of the current Shutdown and Reboot?
I'm starting to set up a system using an Nvidia Shield with Steam Link connected to a Windows PC in another room. I would like to be able to put to sleep the PC once finished gaming. I haven't tested it yet when Steam is minimised but it should be able to wake from sleep the same way it does when in Big Picture mode. Also, there is the option to start in Desktop mode so that way I should be able to leave Pegasus open all the time and retake the session once the PC is woken up.
Thanks.

Duplicate issue #840: Add sleep option to the Quit menu
Created: 2021-05-16T15:41:58Z
Sleep is quite commonly used to turn the system to a low-power state, and then quickly go back to the same state.
It will be especially useful for slower systems, which can have startup times up to several minutes (#839).

Closing comment (2021-05-18T13:52:45Z): I think this sounds similar to #720.
Repository: mmatyas/pegasus-frontend

Issue #258: Add on-screen keyboard
Created: 2018-06-19T09:44:50Z

Duplicate issue #728: Implementation of qt virtual keyboard
Created: 2020-10-14T07:07:37Z
Would it be worth implementing this: https://doc.qt.io/qt-5/qtvirtualkeyboard-index.html do you think? I was considering writing my own but seems like a decent amount of work when it already exists.

Closing comment (2020-10-17T18:56:35Z): Is this a duplicate of #258 ?  I do think it'd be nice for controllers to have a way to search
Repository: mmatyas/pegasus-frontend

Issue #600: Add Playnite Support
Created: 2020-02-23T01:05:10Z
Hi, I use Playnite at the moment and I wanted to switch to the Pegasus FE to test it out. It would be nice to have support for Playnite in the Pegasus Frontend so I don't have to reconfigure everything.
https://playnite.link/

Duplicate issue #862: Playnite support
Created: 2021-07-14T16:19:08Z
Playnite  is an increasingly popular Windows game manager.  It comes with it's own fullscreen mode which is nice, but it's slow compared to Pegasus.
Would be nice to have support for importing Playnite metadata.
I would be happy to work on implementing this.

Closing comment (2021-07-15T12:46:35Z): This sounds like the duplicate of #600, so closing for now, but feel free to work on it if you'd like!
You'd want to create a new provider under /src/backend/providers/, implementing the class in Provider.h. You can set which platforms include the directory in providers.pri and in the code by adding it in /src/backend/AppSettings.cpp. The Skraper provider is a relatively simple one you can use as an example. Good luck!
Repository: mmatyas/pegasus-frontend

Issue #196: Feature Request: Direct Input support
Created: 2018-03-23T11:12:29Z
Since there are a lot of controllers out there that primarily use direct input still (such as lots of old fighting game sticks and usb controller adaptors), supporting directinput in windows would be really helpful in making this a useable frontend

Duplicate issue #443: Add Native PS4 Controller Support
Created: 2019-04-07T02:07:09Z
Unlike PS3 controllers that use it's own propietary cables, PS4 controllers are USB, meaning it can be hooked up to any device with USB 2.0 or 3.0.
In non-native games, it uses Directinput for its controls, meaning it needs a program like x360ce or DS4Windows/InputMapper for Xinput support.

Closing comment (2019-04-07T16:37:12Z): Yes, DirectInput is not too well supported at the moment, but I'd like to improve that in the future. I think this is a duplicate of #196, so closing for now (but feel free to leave comments if that issue doesn't really match).
Repository: mmatyas/pegasus-frontend

Issue #347: Create an FFmpeg-based QtMultimedia backend
Created: 2018-11-11T16:08:19Z

Duplicate issue #991: Crashes on Steam Tile
Created: 2022-04-23T19:04:50Z
Selecting the Steam tile with cause a crash after a few moments. Moving the selection box or not. I suspect it's how you are enumerating the Steam games (through the manifest files I surmise). Maybe a game I haven't played in a while has old data that causes the crash?
PegasusCrashDumps.zip

Closing comment (2022-09-19T07:45:04Z): The issue was confirmed, and the alternative is tracked in #347, so I think this can be closed.
Repository: mmatyas/pegasus-frontend

Issue #447: Add game manual support
Created: 2019-04-14T15:09:39Z
Needs cross-platform PDF rendering and some QML-side interface and API.

Duplicate issue #1020: [Suggestion] Include game manuals
Created: 2022-09-12T22:13:11Z
Just a small idea for later: Maybe add the ability to open game manuals, like in the games tab where you can see al the different media like screenshots and fanart maybe also include a shortcut that opens a PDF programm / app or something

Closing comment (2022-09-13T09:43:19Z): Hi! This seems to be a duplicate of #447, I'm closing in favor of that.
Repository: mmatyas/pegasus-frontend

Issue #442: Bug: Steam games relaunches the frontend while launching game
Created: 2019-04-06T21:39:59Z
When I start a game from Steam through the frontend (default settings) it seems to trigger the exit game event while the game is still launching, causing some issues like the frontend running in the background (with videos still playing etc)
I think the reason is probably because when running steam.exe with the steam://rungameid/XXXXX parameter it simply returns exit code 0 once it has finished launching the game, which makes the frontend think the game has exited?
Here are the relevant lines from my lastrun.log:

2019-04-06T21:40:58 [i] Executing command: "c:/program files (x86)/steam/steam.exe" steam://rungameid/801630
2019-04-06T21:40:58 [i] Process 2872 started
2019-04-06T21:40:58 [i] ----------------------------------------
2019-04-06T21:40:58 [i] ----------------------------------------
2019-04-06T21:40:58 [i] The external program has finished cleanly, with exit code 0

Same problem on two different computers (Both running Windows 10) with all games I've tested so far

Duplicate issue #648: Option to not have Pegasus hide when game is launched
Created: 2020-05-17T05:47:07Z
If there were an option to leave Pegasus open (ideally at a theme-able state) but frozen so it doesn't use up resources I feel like this would go a long way to aid that all-in-one feel. Right now, the desktop is shown between launching games and when the emulator/game is loaded and it breaks immersion.
This of course would only be applicable to desktop builds though.

Closing comment (2022-08-08T12:27:31Z): I think the Steam Deck issue might be the same as #442.
Repository: mmatyas/pegasus-frontend

Issue #1032: Compatibility with Playnite versions 9.3≥ 
Created: 2022-12-22T22:59:43Z
The issue
TL;DR: The Playnite source/provider service does not work with Playnite versions 9.3≥  (current version is 10.9)
I love Pegasus and think it's the best looking front-end out there. That said, it's much easier to add games to Playnite. I was excited to see that Pegasus offered an option to import titles from Playnite. Unfortunately, it didn't work for me when I tried importing my Playnite titles. I did some digging and saw that Playnite support was added around September of last year. I downloaded the corresponding Playnite version that existed around the time that Playnite support was added, and viola, it worked! But Playnite has seen a lot of development since then, with many new (and useful) features having been added since then--so I wanted to see why Pegasus didn't recognize the new version of Playnite (I thought it might be something I could fix on my own, like files being kept in a different directory).
Turns out that Pegasus looks for .json files containing game info in %AppData%\playnite\library\games; which is as intended, as Playnite versions preceeding 9.3 stored game info in distinct .json files under this directory (e.g., %AppData%\playnite\library\games\1ef635d7-5448-43bb-a098-72fca52aea68.json)
However, in version 9.3 (and onward), game info is stored in a single .db file located at %AppData%\playnite\library (e.g.,  %AppData%\playnite\library\games.db). I opened this .db file in notepad, and it looks like it's a liteDB file and it seems like it has all the same info as the last database.
Playnite %AppData%\playnite\ archives
I've attached archives of %AppData%\playnite\ for both versions. Pegasus works with the database in version 8.15, but versions 9.3 onward use a different database (I've attached an archive for 10.9 since it's the current version as of writing this). I think up-to-date Playnite compatibility could really be a game-changer for Steam Deck (Windows) owners. Please let me know if there's anything else you need.
System info
Steam Deck running Windows 10 22H2.
Pegasus version
alpha16-44-g8119fcec, 2022-10-14
Pegasus log

Duplicate issue #1061: Pegasus no longer detecting Playnite's library
Created: 2023-06-24T11:41:11Z
I recently updated Playnite to it's latest version 10.18, after having used Playnite 8 for quite a while. But now Pegasus no longer detects my library on Playnite like it used to. I contacted Playnite support and they've told me that they have changed their library format since then, and that Pegasus needs an update to be able to detect it's new library format.
I really want to know if an update is being worked on regarding this, Pegasus has my favorite UI out of all the frontends I've tried and it detecting my whole library on Playnite saved me so much work.
Kind regards.

Closing comment (2023-06-24T12:24:27Z): Hi! This issue sounds like the duplicate of #1032, so I'll close this one in favor of that. Unfortunately I haven't had enough time the past few months, but the issue was not forgotten, and I'd like to fix it eventually.
Repository: mobxjs/mobx-react

Issue #890: build 6.2.4 is broken (missing files)
Created: 2020-07-28T23:04:00Z
Hi,
I just updated to v6.2.4 and my react project broke due:
Cannot find module: './mobxreact.cjs.production.min.js'. Make sure this package is installed.
Looking at:
https://unpkg.com/browse/mobx-react@6.2.4/dist/ we mis the built files.
For comparing take a look at:
https://unpkg.com/browse/mobx-react@6.2.3/dist/

Duplicate issue #891: [mobx-react 6.2.4] Unable to resolve path to module 'mobx-react'
Created: 2020-07-28T23:09:12Z
Just seen this one after dependabot update.
Intended outcome
import { observer } from 'mobx-react';

Should work.
Actual outcome
Unable to resolve path to module 'mobx-react' 🤷‍♂️
How to reproduce the issue
https://codesandbox.io/s/intelligent-wilson-3c5yg
Versions
Listed in https://codesandbox.io/s/intelligent-wilson-3c5yg

Closing comment (2020-07-28T23:15:34Z): same as: #890
Repository: mobxjs/mobx-react

Issue #195: Calling actions asynchronously from componentWillMount does not trigger react rerender, while from componentDidMount does
Created: 2017-01-17T11:19:52Z
Hello,
thanks for your awesome work on mobx-react!
I observe a behavior that I could not find documented and looks like a bug: when calling an action asynchronously from a componentWillMount hook, the react component will not rerender, when calling the action from an componentDidMount hook, it will.
Failing example with componentWillMount
import { action, observable } from 'mobx'
import { observer } from 'mobx-react'
import * as React from 'react'

@observer
export class WillMount extends React.Component<{}, {}> {
  @observable counter = 0

  @action inc = () => this.counter++

  componentWillMount = () => {
    setTimeout(() => this.inc(), 3000)
  }

  render() {
    return <p>{this.counter}<button onClick={this.inc}>+</button></p>
  }
}

As the following console output shows, this.inc() is triggered, and this.counter is updated correctly, yet no rerender is scheduled:

Strangely, calling the action manually by clicking the button does also not trigger a rerender:

Working example with componentDidMount
import { action, observable } from 'mobx'
import { observer } from 'mobx-react'
import * as React from 'react'

@observer
export class DidMount extends React.Component<{}, {}> {
  @observable counter = 0

  @action inc = () => this.counter++

  componentDidMount = () => {
    setTimeout(() => this.inc(), 3000)
  }

  render() {
    return <p>{this.counter}<button onClick={this.inc}>+</button></p>
  }
}

This works as expected, here is the console.log:

Also clicking the button works now, see:

Questions
Is this expected behaviour? If yes, can we enhance the documentation?

Duplicate issue #202: componentDidMount vs componentWillMount
Created: 2017-02-08T00:10:37Z
I have a component that was setting some mobX state within componentWillMount. This worked fine. However, for some reason the other properties that this component is observing do not cause the component to re-render. This can be fixed by either taking out the  componentWillMount or replacing it with componentDidMount. We're fine using componentDidMount but I'd really like to know what the issue with componentWillMount was.

Closing comment (2017-02-08T09:32:45Z): Is what you are describing the same as #195 ?
Repository: mobxjs/mobx-react

Issue #647: Import observer causes Range Error exception
Created: 2019-02-16T11:44:13Z
Import of mobx-react observer is causing an uncaught range error exception.
Component renders correctly (I didn't wrap observer function around the test component so as to isolate the issue):
`import React from 'react';
// import { observer } from "mobx-react";
export default class Routes extends React.Component {
render() {
return Test
}
}`
App crashes:
`import React from 'react';
import { observer } from "mobx-react";
export default class Routes extends React.Component {
render() {
return Test
}
}`
Error message in console:
Uncaught RangeError: Maximum call stack size exceeded
Dependencies:
"dependencies": {
"@babel/runtime": "^7.1.5",
"chance": "^1.0.18",
"chart.js": "^2.7.3",
"express": "^4.16.4",
"meteor-node-stubs": "^0.4.1",
"mobx": "^5.9.0",
"mobx-react": "^5.4.3",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1"
},
Any idea what might be going wrong? I have used mobx-react successfully for a long time. This is the first time I have had any issue.

Duplicate issue #662: "Too much recursion" as soon as i import mobx-react
Created: 2019-03-21T17:55:09Z
When writing
import {observer} from "mobx-react";

i get a "too much recursion" error in the browser.
Please note that this is just this single line, i don't even use it.
I'm using Meteor as a build tool. All other tools and libraries are working fine.
What could be the source of this issue ?

Closing comment (2019-03-21T19:18:10Z): Probably related to #647
Repository: mobxjs/mobx-react

Issue #528: React Native 0.56: Using the export keyword between a decorator and a class is not allowed
Created: 2018-08-09T13:11:06Z
RN 0.56 throws an error when trying to use this code:
import { inject } from "mobx-react/native";

@inject("userStore")
export default class SomeComponent extends Component<Props> {
  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.welcome}>Welcome to React Native!</Text>
        <Text style={styles.instructions}>To get started, edit App.js</Text>
        <Text style={styles.instructions}>{instructions}</Text>
      </View>
    );
  }
}

The error is:

Using the export keyword between a decorator and a class is not allowed. Please use export @dec class instead

package.json:
{
  "name": "AwesomeProject56",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "mobx": "^5.0.3",
    "mobx-react": "^5.2.3",
    "react": "16.4.1",
    "react-native": "0.56.0",
    "react-navigation": "^2.11.2"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-plugin-transform-decorators-legacy": "^1.3.5",
    "babel-preset-react-native": "^5",
    "jest": "23.4.2",
    "react-test-renderer": "16.4.1"
  },
  "jest": {
    "preset": "react-native"
  }
}


.babelrc:
{
  "presets": ["babel-preset-react-native"],
  "plugins": ["transform-decorators-legacy"]
}

Duplicate issue #530: When I was using mobx-react, I had a problem.
Created: 2018-08-16T10:20:15Z
This is my development environment：

This is the Babel configuration：

This is the mistake of reporting：

Is it where I am configured or the environment is wrong?

Closing comment (2018-08-16T10:23:40Z): Duplicate of #528. This is basically caused by a change in the defaults babel
Repository: mobxjs/mobx-react

Issue #260: inject with a function argument is hard to test
Created: 2017-05-26T10:28:02Z
I believe testing would be easier if inject with a function function argument deferred to props if the context is empty, similar to inject by name.  I am currently wrapping everything that uses inject with a function argument in Providers.  If I don't, the stores I'm trying to access are undefined and throw errors in tests.
Is there an existing solution besides wrapping all test renders in Provider?  If not, is there a reason inject with a function argument doesn't behave this way?

Duplicate issue #357: @inject with jest test issue
Created: 2017-11-07T11:03:41Z
Hi I have some test which is run by jest, and it is quite simple:
it('renders each verify response', () => {
    const gridWrapper = mount(&lt;ResponseGrid advStore={aStore}/&gt;);

    expect(gridWrapper.find(Row)).toHaveLength(1);
  });

ResponseGrid is quite simple with just
export interface ResponseGridProps {
  advStore?: ADVStore;
}

@inject(allStores => ({
  advStore: allStores.advStore as ADVStore
}))
class ResponseGrid extends React.Component<ResponseGridProps, {}> {

  constructor(props) {
    super(props);
  }

  public render() {
    const rows = this.props.advStore.data.map((pvr, i: number) => <Row key={i}/>);
   ... rest ommitted...


Now I have issue that render fails becuse this.props.advStore is undefined in given setup.
Now,
if I comment out @Inject from component - it works as it is above.
if I take back @Inject and in test I wrap my component in <Provider> - it works
I am using mobx-react 4.2.2.
Now, as per docs, it should work as given above without wrapping in <Provider>  by just specifying
property directly.
However given above to me it seems that @Inject overwrites my prop with null/undefined if it
is not provided.
Any hint/tip/suggestion is welcome and appreciated.

Closing comment (2017-12-05T13:45:16Z): This seems to be a duplicate of #260. Please reopen if it isn't
Repository: mobxjs/mobx-react

Issue #493: mobx-react 5.2.0 fails to build with Webpack 3.x (create-react-app)
Created: 2018-06-04T15:06:08Z
Failed to compile.
./node_modules/mobx-react/index.module.js
599:24-29 'mobx' does not contain an export named '$mobx'.

Duplicate issue #494: 'mobx' does not contain an export named '$mobx'
Created: 2018-06-04T15:44:05Z
After installing mobx and mobx-react, I receive the following error:
./node_modules/mobx-react/index.module.js
599:24-29 'mobx' does not contain an export named '$mobx'.

I've used this library in the past and have had no issues. I'm unsure if this is an issue on my end or not. Let me know if there's anything I can do to help.

Closing comment (2018-06-04T16:32:17Z): Getting the same after updating to mobx-react@5.2.0.
"dependencies": {
    "mobx": "^4.3.0",
    "mobx-react": "^5.2.0",
    "webpack": "^4.10.2",
    "webpack-cli": "^3.0.1",
    "webpack-dev-server": "^3.1.4",
}
Looks like $mobx thing is related to mobx@5.
Duplicate of #493
Repository: mobxjs/mobx-react

Issue #274: MobX-React does not navigate with React Router 4
Created: 2017-06-12T22:28:19Z
I'm not sure if this is a bug with RR or MobX, but when I upgrade to ^4.2.1 of Mobx-react, my navigation no longer works with React Router 4. The URL still changes, but a breakpoint is not hit in the render function.

Duplicate issue #296: Component alway re-render with no state update when using @withRouter (RR4)
Created: 2017-07-07T04:32:20Z
I'm using MobX @observer and @withRouter (react-router-v4) wrap page component like this
@withRouter
@inject('stores')
@observer
class Page extends Component {
  render() {
    return (
      <div>
        <NavBar />
        <Header title={this.props.stores.UIStore.title} />
        <Switch>
          <Route exact path="/" component={HomePage} />
          <Route exact path="/about" component={AboutPage} />
          <Route component={NotFound} />
        </Switch>
      </div>
    )
  }

Problem
When route location change the NavBar and Header component alway re-render with same props (no any state update). react-perf show many wasted render (no props/state update) when route change.
NavBar include Link and some MobX state (NavBar wrap with @observer+@Inject only)
Header is just a stateless component
How to prevent NavBar and Header re-render from route location change? Allow re-render only when mobx state update.

Closing comment (2018-01-09T10:17:52Z): Duplicate of #274 ? Note that you probably should swap withRouter and inject

Hey @mweststrate,
My colleague @ryanand26 just had to switch withRouter to be the outermost call instead of inject as you suggested above.  I understand from him that without having withRouter as the outermost component, mobx components were not re-rendering upon url changes.
We've consulted the documentation on react-router here: https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md#shouldcomponentupdate
It suggests that withRouter should be the outermost function call; contrary to what you've said here.  Can you confirm that we're correct on this?  Is there a reason inject should be the outermost rather than withRouter?
Repository: mobxjs/mobx-react

Issue #101: Hot reload fails in 3.5.4
Created: 2016-08-07T14:42:29Z
I'm unable to get react-hot-loader@3.0.0-beta.2 to work with mobx-react@3.5.4. Rolling back to 3.5.3 works as before.

Duplicate issue #99: Attempted to assign readonly property
Created: 2016-08-04T10:01:15Z
3.5.1 version works fine, but 3.5.3 throws error when i'm wrapping React component using
const component = this.props.component;
const wrapped = observer(component);

Closing comment (2016-08-11T18:48:21Z): Could this be a duplicate of #101 @aksonov ?
Repository: mozilla/pdf.js

Issue #2582: Use more natural zooming on mobile
Created: 2013-01-18T19:27:52Z
Right now you have to hit the plus/minus buttons even on mobile in order to zoom the document. This is really strange especially since pinch-to-zoom is active as well. I think the best way to go on mobile is maybe to render at a "natural" size, and let the browser control the zoom, similar to a web page.

Duplicate issue #7723: No zoom using pinch gesture on touch devices
Created: 2016-10-13T23:17:40Z
Currently I cannot use the pinch gesture on touch devices to zoom in and out. Can you please add this feature!

Closing comment (2016-10-13T23:47:05Z): Closing as duplicate of #2582
Repository: mozilla/pdf.js

Issue #15843: Support OCRing documents to give text selection and copy & paste to image based text 
Created: 2022-12-16T15:46:52Z
I believe Adobe Acrobat Pro has something like this.
I could imagine there being an "OCR" option in the menu that could download/cache tesseract.wasm run the OCR and then be able to produce a new PDF with a text layer like OCRmyPDF does.

Duplicate issue #18949: [Feature]: OCR Support for Non-Selectable Text in PDF Documents
Created: 2024-10-23T22:47:21Z
Is the feature relevant to the Firefox PDF Viewer?
No
Feature description
I couldn't find a current implementation or any updates on OCR (Optical Character Recognition) support for documents with non-selectable text in pdf.js. I came across some old issues discussing the topic, but there hasn't been a clear follow-up.
Could you provide an update on whether there are plans to include OCR support for scanned documents or image-based PDFs in pdf.js? This feature would be highly valuable for making non-selectable text searchable and accessible.
Thank you!
Other PDF viewers
No response

Closing comment (2024-10-24T07:35:50Z): Duplicate of #15843
Repository: mozilla/pdf.js

Issue #1711: Cannot search within pdf
Created: 2012-05-17T21:39:15Z
I don't know if this problem is for ALL pdfs, but certainly, it's been happening to all the pdf's I've come across.
I can't search within the pdf. I put this link (see below) in to Chrome and I was able to search text.
http://www.math.purdue.edu/~dvb/preprints/diffforms.pdf.
I'm rootin' for Firefox, but Mozilla needs to haul!

Duplicate issue #2093: Uh...Search? [troll message]
Created: 2012-09-08T05:28:14Z
Mozilla is spent time on a useless fullscreen feature instead of fixing a more commonly used feature: text search. Great.
Hasn't the search feature been an issue for a very long time?
If I'm wrong and I just don't know how to search text, then please let me know how and I'll gladly slap myself. Otherwise, Mozilla has it's priorities in the wrong places.

Closing comment (2012-09-08T12:45:07Z): closing as duplicate of #1711