Why is GenerateConvenientWindowedResolutions returning nothing?

Dear Friends at Epic,

#Context

I am running the game from commandline, I have Slate in my build cs.

When I run the code below, the output is nothing! The array is empty!

I get same result if playing from PIE

//Get Display Metrics
FDisplayMetrics DisplayMetrics;
FSlateApplication::Get().GetDisplayMetrics(DisplayMetrics);

//Get Resolution
TArray<FIntPoint> Resolutions;
/** Helper function to generate a set of windowed resolutions which are convenient for the current primary display size */
GenerateConvenientWindowedResolutions(DisplayMetrics, Resolutions);

USolusCore::VShow("Resolutions found: ", Resolutions.Num());
	
VShow("~~~ List of Resolutions ~~~");
for(int32 v = 0; v < Resolutions.Num(); v++)
{
	VShow(Resolutions[v].ToString());
}

#Ideas?

How can I generate a list of resolutions compatible with the End User’s display adapter?

#Edit

I just looked at the .cpp, and the code is limiting the width and height to fixed values

static const float MinWidth = 1280.0f;
static const float MinHeight = 720.0f; // UI layout doesn't work well below this, as the accept/cancel buttons go off the bottom of the screen

Thanks!

Rama

#Alternative

To get a list of all screen resolutions, I wrote my own function: